Skip to content

Commit

Permalink
Merge pull request #210 from NEARBuilders/gateway-enhacement
Browse files Browse the repository at this point in the history
gateway logo updates
  • Loading branch information
itexpert120 authored Mar 5, 2024
2 parents 6818f0d + 5a3423b commit 06946f6
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 14 deletions.
10 changes: 7 additions & 3 deletions apps/builddao/widget/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,12 @@ function Navbar(props) {
page: "home",
},
})}
className="d-flex align-items-center"
>
<img
className="object-fit-cover"
src="https://ipfs.near.social/ipfs/bafkreihtv6fim7hrgtklbdg5zgq2nyscqgidh2g5zvhamkhqaywaux4hqe"
style={{ height: 46 }}
src="https://ipfs.near.social/ipfs/bafkreiglw3t6b3dx2axk7x4ftzk6pwwe6ziiyexlszlkhenxist6osrlbe"
/>
</Link>
<NavLinks>
Expand Down Expand Up @@ -343,7 +345,8 @@ function Navbar(props) {
<img
className="object-fit-cover"
onClick={() => setDropdown(false)}
src="https://ipfs.near.social/ipfs/bafkreicevo7aeyy6nivzqyfygpsoxkz6apd4pbqwrhc6yccqtyp6qzdoqq"
src="https://ipfs.near.social/ipfs/bafkreifotevq6g6ralhvutlcssaasa7xbfjjc6mbo5hlnvgpxxgfmwswmq"
style={{ height: 40 }}
alt="BuildDAO"
/>
</Link>
Expand Down Expand Up @@ -371,7 +374,8 @@ function Navbar(props) {
>
<img
onClick={() => setDropdown(false)}
src="https://ipfs.near.social/ipfs/bafkreicevo7aeyy6nivzqyfygpsoxkz6apd4pbqwrhc6yccqtyp6qzdoqq"
src="https://ipfs.near.social/ipfs/bafkreifotevq6g6ralhvutlcssaasa7xbfjjc6mbo5hlnvgpxxgfmwswmq"
style={{ height: 40 }}
alt="BuildDAO"
/>
</Link>
Expand Down
33 changes: 27 additions & 6 deletions apps/builddao/widget/home/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,32 @@ const LinksContainer = styled.div`
}
`;

const XIcon = () => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
>
<path
d="M8 2.75H1L9.26086 13.7645L1.44995 22.7499H4.09998L10.4883 15.401L16 22.75H23L14.3917 11.2723L21.8001 2.75H19.1501L13.1643 9.63578L8 2.75ZM17 20.75L5 4.75H7L19 20.75H17Z"
fill="white"
/>
</svg>
);

const Footer = ({ noBanner }) => {
return (
<Container className="container-xl">
{!noBanner && (
<Card>
<img src="https://ipfs.near.social/ipfs/bafkreifcrvkgibbu4xpfxnxf3pnyhxvojqlffd2zmoxfbyapacy62rwwqu" />
<h3>
Together, we can <span>build a better future</span>.
</h3>
<div className="d-flex flex-column align-items-center">
<img src="https://ipfs.near.social/ipfs/bafkreifotevq6g6ralhvutlcssaasa7xbfjjc6mbo5hlnvgpxxgfmwswmq" />
<h3>
Together, we can <span>build a better future</span>.
</h3>
</div>
<Widget
src="/*__@appAccount__*//widget/components.buttons.Connect"
props={{
Expand All @@ -121,8 +138,12 @@ const Footer = ({ noBanner }) => {
)}
<FooterContainer>
<LinksContainer>
<a href="https://twitter.com/nearbuilders" target="_blank">
<i className="bi bi-twitter-x"></i>
<a
href="https://twitter.com/nearbuilders"
className="d-flex align-items-center"
target="_blank"
>
<XIcon />
</a>
<a href="https://nearbuilders.com/tg-builders" target="_blank">
<i className="bi bi-telegram"></i>
Expand Down
9 changes: 4 additions & 5 deletions apps/builddao/widget/home/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { href } = VM.require("buildhub.near/widget/lib.url") || {
const gridLink =
"https://ipfs.near.social/ipfs/bafkreiay3ytllrxhtyunppqxcazpistttwdzlz3jefdbsq5tosxuryauu4";
const logoLink =
"https://ipfs.near.social/ipfs/bafkreifnxc6jk66wdy377ttcinogwr4xqnllsrjfmnglvoonikafzksdui";
"https://ipfs.near.social/ipfs/bafkreifotevq6g6ralhvutlcssaasa7xbfjjc6mbo5hlnvgpxxgfmwswmq";
const leftBlur =
"https://ipfs.near.social/ipfs/bafkreiabxzgspdolrlol2gvw7gnyrtktmfg23pd2ykow5pdddtmz3ve45y";
const rightBlur =
Expand Down Expand Up @@ -43,13 +43,12 @@ const Container = styled.div`
`;

const Logo = styled.img`
height: 80px;
width: 235px;
height: 128px;
width: max-content;
object-fit: cover;
@media screen and (max-width: 768px) {
height: 26px;
width: 71px;
height: 78px;
}
`;

Expand Down

0 comments on commit 06946f6

Please sign in to comment.