updates
This commit is contained in:
parent
e855458d86
commit
91d66a6bf1
|
@ -2,9 +2,9 @@
|
||||||
title: "Skynet Introduces Premium Accounts, Sets the Foundation for New Creator Economies"
|
title: "Skynet Introduces Premium Accounts, Sets the Foundation for New Creator Economies"
|
||||||
date: "2021-03-22"
|
date: "2021-03-22"
|
||||||
description: "Premium accounts support creators while giving users up to 20 TB of data storage per month and other perks."
|
description: "Premium accounts support creators while giving users up to 20 TB of data storage per month and other perks."
|
||||||
author: "Manasi Vora"
|
author: "Skynet Labs Inc"
|
||||||
categories: ["press release"]
|
categories: ["press release"]
|
||||||
avatar: "../../team/manasi-vora.png"
|
avatar: "../images/skynet-avatar.png"
|
||||||
thumbnail: "../images/press-release.png"
|
thumbnail: "../images/press-release.png"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ const CommunitySection = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="grid gap-y-12 desktop:grid-cols-3 desktop:gap-x-8">
|
<div className="grid gap-y-12 desktop:grid-cols-3 desktop:gap-x-8 max-w-column desktop:max-w-full">
|
||||||
<div>
|
<div>
|
||||||
<SectionHeader>Newsletter</SectionHeader>
|
<SectionHeader>Newsletter</SectionHeader>
|
||||||
<SectionTitle>Stay up to date</SectionTitle>
|
<SectionTitle>Stay up to date</SectionTitle>
|
||||||
|
@ -84,7 +84,7 @@ const CommunitySection = () => {
|
||||||
{complete && message && (
|
{complete && message && (
|
||||||
<div
|
<div
|
||||||
className={classnames(
|
className={classnames(
|
||||||
"newsletter-message text-center py-2 px-4 rounded bg-palette-600 font-semibold font-content",
|
"newsletter-message text-left desktop:text-center py-2 px-4 rounded bg-palette-600 font-semibold font-content text-white",
|
||||||
{
|
{
|
||||||
"text-error": !success,
|
"text-error": !success,
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ const FixedHeader = ({ uri }) => {
|
||||||
return (
|
return (
|
||||||
<div ref={ref} className="fixed inset-x-0 top-0 z-50">
|
<div ref={ref} className="fixed inset-x-0 top-0 z-50">
|
||||||
<NewsHeader />
|
<NewsHeader />
|
||||||
<Navigation mode={mode} />
|
<Navigation mode={mode} uri={uri} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,7 +22,7 @@ const useWindowTop = () => {
|
||||||
return y <= 0;
|
return y <= 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
const Navigation = ({ mode }) => {
|
const Navigation = ({ mode, uri }) => {
|
||||||
const navRef = React.useRef(null);
|
const navRef = React.useRef(null);
|
||||||
const [open, setOpen] = React.useState(false);
|
const [open, setOpen] = React.useState(false);
|
||||||
const windowSize = useWindowSize();
|
const windowSize = useWindowSize();
|
||||||
|
@ -30,7 +30,7 @@ const Navigation = ({ mode }) => {
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
setOpen(false);
|
setOpen(false);
|
||||||
}, [windowSize, setOpen]);
|
}, [windowSize, setOpen, uri]);
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
if (open && document.body.style.overflow !== "hidden") {
|
if (open && document.body.style.overflow !== "hidden") {
|
||||||
|
@ -145,6 +145,7 @@ const Navigation = ({ mode }) => {
|
||||||
|
|
||||||
Navigation.propTypes = {
|
Navigation.propTypes = {
|
||||||
mode: PropTypes.oneOf(["dark", "light"]),
|
mode: PropTypes.oneOf(["dark", "light"]),
|
||||||
|
uri: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
Navigation.defaultProps = {
|
Navigation.defaultProps = {
|
||||||
|
|
|
@ -266,7 +266,7 @@ const AboutPage = ({ ...props }) => {
|
||||||
<SectionTitleCaption>Investors</SectionTitleCaption>
|
<SectionTitleCaption>Investors</SectionTitleCaption>
|
||||||
<SectionTitle>Support for the Skynet Vision</SectionTitle>
|
<SectionTitle>Support for the Skynet Vision</SectionTitle>
|
||||||
|
|
||||||
<div className="grid grid-cols-2 gap-4 desktop:grid-cols-4">
|
<div className="grid grid-cols-2 gap-4 desktop:grid-cols-4 mt-20">
|
||||||
{investors.map(({ name, image }) => (
|
{investors.map(({ name, image }) => (
|
||||||
<GatsbyImage key={name} image={getImage(image)} alt={name} />
|
<GatsbyImage key={name} image={getImage(image)} alt={name} />
|
||||||
))}
|
))}
|
||||||
|
|
|
@ -94,7 +94,8 @@ const DevelopersPage = () => (
|
||||||
<div className="flex flex-col desktop:flex-row desktop:space-y-0 space-y-12 desktop:space-x-12">
|
<div className="flex flex-col desktop:flex-row desktop:space-y-0 space-y-12 desktop:space-x-12">
|
||||||
<div className="space-y-12 desktop:w-1/2 desktop:text-right">
|
<div className="space-y-12 desktop:w-1/2 desktop:text-right">
|
||||||
<h1 className="text-white">
|
<h1 className="text-white">
|
||||||
Decentralized Apps with speed, confidence, and <span className="text-primary underline">usability</span>
|
Decentralized Apps with speed, confidence, and{" "}
|
||||||
|
<span className="text-primary underline-white">usability</span>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<ul className="space-y-2">
|
<ul className="space-y-2">
|
||||||
|
|
Reference in New Issue