From f738ab22e4d78e4bf148e058a2317d6eee91cc91 Mon Sep 17 00:00:00 2001 From: Nazareno Oviedo Date: Fri, 8 Apr 2022 09:48:19 -0300 Subject: [PATCH] feat: add links --- src/components/common/footer/footer.tsx | 51 +++++++++++++------ src/components/common/footer/index.tsx | 14 +---- src/components/common/header/header.ts | 2 +- src/components/common/header/index.tsx | 22 +++++--- .../primitives/button/button.module.scss | 1 + src/components/sections/about/team/index.tsx | 2 +- 6 files changed, 55 insertions(+), 37 deletions(-) diff --git a/src/components/common/footer/footer.tsx b/src/components/common/footer/footer.tsx index 35c23ec..9060156 100644 --- a/src/components/common/footer/footer.tsx +++ b/src/components/common/footer/footer.tsx @@ -8,16 +8,14 @@ import { } from '~/components/icons/socials' export const DevelopersLinks = [ - { href: '/developers', title: 'Developers' }, - { href: '/github', title: 'Github' }, - { href: '/roadmap', title: 'Roadmap' }, - { href: '/chat', title: 'Chat' }, - { href: '/forum', title: 'Forum' } + { href: 'https://docs.laconic.com/', title: 'Developers' }, + { href: 'https://docs.laconic.com/', title: 'Github' }, + { href: 'https://discord.com/invite/ukhbBemyxY', title: 'Chat' }, + { href: 'https://laconic.community/', title: 'Forum' } ] export const ProductsLinks = [ { href: '/products', title: 'Products' }, - { href: '/SDK', title: 'SDK' }, { href: '/watchers', title: 'Watchers' }, { href: '/network', title: 'Network' }, { href: '/wallet', title: 'Wallet' }, @@ -26,12 +24,13 @@ export const ProductsLinks = [ export const AboutLinks = [ { href: '/about', title: 'About' }, - { href: '/faq', title: 'FAQ' }, - { href: '/team', title: 'Team' }, + { href: 'https://docs.laconic.com/faq', title: 'FAQ' }, + { href: '/about#team', title: 'Team' }, { href: '/partners', title: 'Partners' }, - { href: '/newsroom', title: 'Newstoom' }, - { href: '/careers', title: 'Careers' }, - { href: '/contact', title: 'Contact' } + { + href: 'https://laconic.community/c/join-the-laconic-network/13', + title: 'Careers' + } ] export const CommunityLinks = [ @@ -47,9 +46,29 @@ export const ConnectLinks = [ title: 'Twitter', logo: }, - { href: '/validators', title: 'Telegram', logo: }, - { href: '/testnet', title: 'Reddit', logo: }, - { href: '/insiders', title: 'Linkedin', logo: }, - { href: '/insiders', title: 'Facebook', logo: }, - { href: '/insiders', title: 'Instagram', logo: } + { + href: 'https://twitter.com/laconicnetwork', + title: 'Telegram', + logo: + }, + { + href: 'https://www.reddit.com/r/LaconicNetwork/', + title: 'Reddit', + logo: + }, + { + href: 'https://www.linkedin.com/company/laconic-network/', + title: 'Linkedin', + logo: + }, + { + href: 'https://www.facebook.com/laconicnetwork', + title: 'Facebook', + logo: + }, + { + href: 'https://instagram.com/laconicnetwork', + title: 'Instagram', + logo: + } ] diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 5fe0998..0a9b487 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -12,7 +12,6 @@ import Link from '~/components/primitives/link' import { AboutLinks, - CommunityLinks, ConnectLinks, DevelopersLinks, ProductsLinks @@ -128,20 +127,9 @@ export const Footer = () => { ) })} -
    - {CommunityLinks.map((link) => { - return ( -
  • - - {link.title} - -
  • - ) - })} -
  • - + Connect
  • diff --git a/src/components/common/header/header.ts b/src/components/common/header/header.ts index c3fa091..e0c7dc1 100644 --- a/src/components/common/header/header.ts +++ b/src/components/common/header/header.ts @@ -1,6 +1,6 @@ export const defaultHeaderLinks = [ { href: '/', title: 'Home' }, - { href: '/developers', title: 'Developers' }, + { href: 'https://docs.laconic.com/', title: 'Developers' }, { href: '/products', title: 'Products' }, { href: '/community', title: 'Community' }, { href: '/about', title: 'About' }, diff --git a/src/components/common/header/index.tsx b/src/components/common/header/index.tsx index 9fc361e..926605a 100644 --- a/src/components/common/header/index.tsx +++ b/src/components/common/header/index.tsx @@ -5,7 +5,7 @@ import * as React from 'react' import Burger from '~/components/icons/burguer' import { Logo } from '~/components/icons/logo' -import { Button } from '~/components/primitives/button' +import { Button, ButtonLink } from '~/components/primitives/button' import Link from '~/components/primitives/link' import { useIsomorphicLayoutEffect } from '~/hooks/use-isomorphic-layout-effect' import { DURATION, gsap } from '~/lib/gsap' @@ -39,7 +39,9 @@ const HeaderMobile = React.forwardRef< ))}
- + + Join Us +
    {ConnectLinks.length > 0 && ConnectLinks.map((link, index) => ( @@ -121,11 +123,19 @@ export const Header = () => { ))}
- + + Join Us +
-