Skip to content

Commit

Permalink
Lint: remove console errors
Browse files Browse the repository at this point in the history
Signed-off-by: Kowalski Dragon (kowalski7cc) <kowalski7cc@users.noreply.github.com>
  • Loading branch information
kowalski7cc committed Oct 23, 2023
1 parent 4dc9df4 commit 8145d9d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/components/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ const Hero = ({ small }) => {
formats={["auto", "avif", "webp"]}
layout='fullWidth'
aspectRatio={3 / 1}
alt=''
aria-hidden='true'
/>
<div
style={{
Expand Down
17 changes: 10 additions & 7 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ const IndexPage = ({ data }) => {
<>
<p>
<strong>Ecco in breve alcuni dei nostri talk:</strong>
<ul>
{data.site.siteMetadata.event.arguments.map((topic) => {
return <li>{topic}</li>;
})}
</ul>
</p>{" "}
<ul>
{data.site.siteMetadata.event.arguments.map((topic) => {
return <li key={topic}>{topic}</li>;
})}
</ul>
<Button
href='/schedule'
className='btn-lg'
Expand Down Expand Up @@ -191,7 +191,10 @@ const IndexPage = ({ data }) => {
<Row className='mb-3'>
{data.brandsYaml.patrocini.map((item) => {
return (
<Col className='align-self-start col-6 col-sm-4 col-md-3 pb-2 pb-sm-3'>
<Col
className='align-self-start col-6 col-sm-4 col-md-3 pb-2 pb-sm-3'
key={item.name}
>
<a href={item.website}>
<GatsbyImage
alt={item.name}
Expand All @@ -207,7 +210,7 @@ const IndexPage = ({ data }) => {
<h2 style={{ textTransform: "uppercase" }}>Parlano di noi</h2>
{data.brandsYaml.referrals.map((item) => {
return (
<Row>
<Row key={item.name}>
<Col className='align-self-start col-6 col-sm-4 col-md-3 pb-2 pb-sm-3'>
<a href={item.website}>
<GatsbyImage
Expand Down

0 comments on commit 8145d9d

Please sign in to comment.