fix about

This commit is contained in:
Karol Wypchlo 2021-03-31 17:02:31 +02:00
parent 3ce72dadec
commit 2ee5cd3095
4 changed files with 69 additions and 61 deletions

View File

@ -0,0 +1,46 @@
- header: Skynet Labs
links:
- title: About us
to: /
- title: Brand Guidelines
href: https://support.siasky.net/key-concepts/skynet-brand-guidelines
- title: Careers
href: https://jobs.lever.co/nebulous
- title: Terms of Use
href: /terms.pdf
- title: Privacy Policy
href: /privacy.pdf
- header: Developers
links:
- title: Developer Guide
href: https://support.siasky.net/the-technology/developing-on-skynet
- title: API & SDK Documentation
href: https://siasky.net/docs/
- title: Portal Setup
href: https://support.siasky.net/the-technology/running-a-web-portal
- header: Technology
links:
- title: What is Skynet?
href: https://support.siasky.net
- title: Frequent Questions
href: https://support.siasky.net/key-concepts/faqs
- title: Skynet Wiki
href: https://skynetwiki.tech
- title: Support
href: https://support.siasky.net
- header: Ecosystem
links:
- title: Sia Foundation
href: https://sia.tech
- title: Sia Foundation Forum
href: https://forum.sia.tech
- title: SiaStats
href: https://siastats.info
- title: Skynet AppStore"
href: https://skyapps.hns.siasky.net/
- header: Skynet Webportals
links:
- title: Skydrain
href: https://skydrain.net
- title: SkyPortal
href: https://skyportal.xyz

View File

@ -1,6 +0,0 @@
- name: Skynet Labs
items:
- name: About us
to: /
- name: Brand Guidelines
href: https://support.siasky.net/key-concepts/skynet-brand-guidelines

View File

@ -1,59 +1,25 @@
import * as React from "react";
import { useStaticQuery, graphql } from "gatsby";
import classnames from "classnames";
import { motion, AnimatePresence } from "framer-motion";
import Link from "../Link";
const sections = [
{
header: "Skynet Labs",
links: [
{ title: "About us", to: "/about" },
{
title: "Brand Guidelines",
href: "https://support.siasky.net/key-concepts/skynet-brand-guidelines",
},
{ title: "Careers", href: "https://jobs.lever.co/nebulous" },
{ title: "Terms of Use", href: "/terms.pdf" },
{ title: "Privacy Policy", href: "/privacy.pdf" },
],
},
{
header: "Developers",
links: [
{ title: "Developer Guide", href: "https://support.siasky.net/the-technology/developing-on-skynet" },
{ title: "API & SDK Documentation", href: "https://siasky.net/docs/" },
{ title: "Portal Setup", href: "https://support.siasky.net/the-technology/running-a-web-portal" },
],
},
{
header: "Technology",
links: [
{ title: "What is Skynet?", href: "https://support.siasky.net" },
{ title: "Frequent Questions", href: "https://support.siasky.net/key-concepts/faqs" },
// { title: "Pricing", to: "/pricing" },
{ title: "Skynet Wiki", href: "https://skynetwiki.tech" },
{ title: "Support", href: "https://support.siasky.net" },
],
},
{
header: "Ecosystem",
links: [
{ title: "Sia Foundation", href: "https://sia.tech" },
{ title: "Sia Foundation Forum", href: "https://forum.sia.tech" },
{ title: "SiaStats", href: "https://siastats.info" },
{ title: "Skynet AppStore", href: "https://skyapps.hns.siasky.net/" },
],
},
{
header: "Skynet Webportals",
links: [
{ title: "Skydrain", href: "https://skydrain.net" },
{ title: "SkyPortal", href: "https://skyportal.xyz" },
],
},
];
const FooterNavigation = () => {
const { allFooterYaml } = useStaticQuery(graphql`
query FooterQuery {
allFooterYaml {
nodes {
header
links {
href
title
to
}
}
}
}
`);
const sections = allFooterYaml.nodes;
const [activeSection, setActiveSection] = React.useState(sections[0]);
return (

View File

@ -101,11 +101,13 @@ const TeamCard = ({ image, name, position, social }) => (
</div>
{social && (
<div className="flex flex-row">
{Object.entries(social).map(([platform, href]) => (
<Link key={platform} href={href} title={platform}>
<SocialIcon name={platform} />
</Link>
))}
{Object.entries(social)
.filter(([platform, href]) => href)
.map(([platform, href]) => (
<Link key={platform} href={href} title={platform}>
<SocialIcon name={platform} />
</Link>
))}
</div>
)}
</div>