-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Footer): created new footer component
feat(Footer): created new footer component
- Loading branch information
Showing
4 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
import Image from 'next/image' | ||
import LogoSrc from './logo-white.svg'; | ||
|
||
export const Logo = () => <Image src={LogoSrc} alt="Logo" width={100} height={100} /> | ||
type logoProps = { | ||
width?: number, | ||
height?: number | ||
} | ||
|
||
export const Logo = ({width, height}: logoProps) => <Image src={LogoSrc} alt="Logo" width={width ? width : 100} height={height ? height : 100} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
|
||
import { Container } from "../container" | ||
import { Button } from "../button"; | ||
import { Link } from "@radix-ui/themes"; | ||
import { Text } from "@radix-ui/themes"; | ||
import { Logo } from "../atoms"; | ||
|
||
type FooterProps = {} | ||
|
||
const customLinkStyles: React.CSSProperties = { | ||
fontSize: '14px', | ||
fontWeight: '400' | ||
} | ||
|
||
const customLabelStyles: React.CSSProperties = { | ||
fontSize: '12px', | ||
fontWeight: '510', | ||
marginBottom: '12px' | ||
} | ||
|
||
export const Footer = ({}:FooterProps) => { | ||
return ( | ||
<div className="bg-zinc-900"> | ||
<Container> | ||
<div className="pt-6"> | ||
<Logo width={140} /> | ||
</div> | ||
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-0 py-8"> | ||
<div className="flex flex-col items-start space-y-4 md:space-y-0"> | ||
<Text className="text-white" style={customLabelStyles}>THE NETWORK</Text> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Explore</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">My Network</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Wallet</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Notifications</Link> | ||
</Button> | ||
</div> | ||
|
||
<div className="flex flex-col items-start space-y-4 md:space-y-0"> | ||
<Text className="text-white" style={customLabelStyles}>GET STARTED</Text> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Create Hypha Account</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Create Your Space</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Develop With Us</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Join a Space</Link> | ||
</Button> | ||
</div> | ||
|
||
<div className="flex flex-col items-start space-y-4 md:space-y-0"> | ||
<Text className="text-white" style={customLabelStyles}>DAO SERVICES</Text> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Launch Programme</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Expert Deep Dives</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Founders Round Table</Link> | ||
</Button> | ||
<Button asChild variant="ghost" className="rounded-lg justify-start text-gray-400 px-0"> | ||
<Link style={customLinkStyles} href="/">Activation Group</Link> | ||
</Button> | ||
</div> | ||
</div> | ||
<div className="pb-4 text-gray-400 text-center md:text-left" style={{ fontSize: '12px' }}> | ||
Hypha Genossenschaft, Birkenweg 6, 9490, Vaduz Liechtenstein. | ||
</div> | ||
</Container> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters