Skip to content

Commit

Permalink
fix: remove double ai footer thing
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasabishop committed Nov 13, 2024
1 parent b8d622c commit b748dc2
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions src/templates/main/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,15 @@ import Header from "../../components/Header/Header"
import notByAiBadge from "../../img/not-by-ai-alternative--gruvbox-material6.svg"

export default function Main(props) {
return (
<>
<Header />
<div className="main">
{props.children}
<img
style={{ width: "100px" }}
src={notByAiBadge}
alt="Written by a human, not by AI"
/>
</div>
<div className="footer">
<a href="https://hachyderm.io/@systemsobscure" target="_blank">
Mastodon
</a>
</div>
</>
)
return (
<>
<Header />
<div className="main">{props.children}</div>
<div className="footer">
<a href="https://hachyderm.io/@systemsobscure" target="_blank">
Mastodon
</a>
</div>
</>
)
}

0 comments on commit b748dc2

Please sign in to comment.