Skip to content

Commit

Permalink
add guild badge to landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
samepant committed Jan 20, 2024
1 parent 016108a commit a74f6af
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 3 deletions.
Binary file added frontend/public/gnosisguild.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions frontend/src/routes/Landing.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.footer {
position: absolute;
bottom: 0;
right: 0;
padding: 20px;
}

.gg {
color: var(--text-color);
display: flex;
align-items: center;
justify-content: left;
gap: 10px;
background-color: var(--box-bg);
border-radius: 20px;
padding: 3px 8px 3px 3px;
text-decoration: none;
border: 2px solid transparent;
font-size: 12px;
}

.gg:hover {
border: 2px solid var(--button-border);
filter: brightness(1.2);
}

.logo {
}
27 changes: 24 additions & 3 deletions frontend/src/routes/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,32 @@ import React from "react"
import Layout from "../components/Layout"
import LandingCard from "../components/LandingCard"

import classes from "./Landing.module.css"

const Landing: React.FC = () => {
return (
<Layout>
<LandingCard />
</Layout>
<>
<Layout>
<LandingCard />
</Layout>
<footer className={classes.footer}>
<a
className={classes.gg}
href="https://www.gnosisguild.org/"
target="_blank"
rel="noopener noreferrer"
>
<img
src="/gnosisguild.png"
alt="Gnosis Guild"
width={24}
height={24}
className={classes.logo}
/>
<p>Built by Gnosis Guild</p>
</a>
</footer>
</>
)
}
export default Landing

1 comment on commit a74f6af

@vercel
Copy link

@vercel vercel bot commented on a74f6af Jan 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.