Compare commits
7 Commits
dependabot
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
347a0bb0f3 | |
|
|
d369a23e75 | |
|
|
6175cd5b06 | |
|
|
7eed6e42cb | |
|
|
e93c4fc477 | |
|
|
59bd8521fa | |
|
|
e012777789 |
|
Before Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 409 KiB |
|
Before Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 1001 B |
|
Before Width: | Height: | Size: 15 KiB |
|
|
@ -1,5 +1,3 @@
|
||||||
import { AppConfig } from '../utils/AppConfig';
|
|
||||||
|
|
||||||
const FooterCopyright = () => (
|
const FooterCopyright = () => (
|
||||||
<div className="footer-copyright">
|
<div className="footer-copyright">
|
||||||
© Copyright {new Date().getFullYear()} <a href="https://danielesalatti.com">Daniele Salatti</a> - All rights reserved.
|
© Copyright {new Date().getFullYear()} <a href="https://danielesalatti.com">Daniele Salatti</a> - All rights reserved.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import { NextSeo } from 'next-seo';
|
import { NextSeo } from 'next-seo';
|
||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import { useRouter } from 'next/router';
|
|
||||||
|
|
||||||
import { AppConfig } from '../utils/AppConfig';
|
import { AppConfig } from '../utils/AppConfig';
|
||||||
|
|
||||||
|
|
@ -11,8 +10,6 @@ type IMetaProps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const Meta = (props: IMetaProps) => {
|
const Meta = (props: IMetaProps) => {
|
||||||
const router = useRouter();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Head>
|
<Head>
|
||||||
|
|
@ -22,30 +19,7 @@ const Meta = (props: IMetaProps) => {
|
||||||
content="width=device-width,initial-scale=1"
|
content="width=device-width,initial-scale=1"
|
||||||
key="viewport"
|
key="viewport"
|
||||||
/>
|
/>
|
||||||
<link
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🗳</text></svg>" />
|
||||||
rel="apple-touch-icon"
|
|
||||||
href={`${router.basePath}/apple-touch-icon.png`}
|
|
||||||
key="apple"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/png"
|
|
||||||
sizes="32x32"
|
|
||||||
href={`${router.basePath}/favicon-32x32.png`}
|
|
||||||
key="icon32"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/png"
|
|
||||||
sizes="16x16"
|
|
||||||
href={`${router.basePath}/favicon-16x16.png`}
|
|
||||||
key="icon16"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
href={`${router.basePath}/favicon.ico`}
|
|
||||||
key="favicon"
|
|
||||||
/>
|
|
||||||
</Head>
|
</Head>
|
||||||
<NextSeo
|
<NextSeo
|
||||||
title={props.title}
|
title={props.title}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
|
|
||||||
import { Background } from '../background/Background';
|
import { Background } from '../background/Background';
|
||||||
import { Button } from '../button/Button';
|
|
||||||
import { HeroOneButton } from '../hero/HeroOneButton';
|
import { HeroOneButton } from '../hero/HeroOneButton';
|
||||||
import { Section } from '../layout/Section';
|
import { Section } from '../layout/Section';
|
||||||
import { NavbarTwoColumns } from '../navigation/NavbarTwoColumns';
|
import { NavbarTwoColumns } from '../navigation/NavbarTwoColumns';
|
||||||
|
|
|
||||||
|
|
@ -5,32 +5,13 @@ type ILogoProps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const Logo = (props: ILogoProps) => {
|
const Logo = (props: ILogoProps) => {
|
||||||
const size = props.xl ? '44' : '32';
|
|
||||||
const fontStyle = props.xl
|
const fontStyle = props.xl
|
||||||
? 'font-semibold text-3xl'
|
? 'font-semibold text-3xl'
|
||||||
: 'font-semibold text-xl';
|
: 'font-semibold text-xl';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span className={`text-gray-900 inline-flex items-center ${fontStyle}`}>
|
<span className={`text-gray-900 inline-flex items-center ${fontStyle}`}>
|
||||||
<svg
|
🗳 {AppConfig.site_name}
|
||||||
className="text-primary-500 stroke-current mr-1"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width={size}
|
|
||||||
height={size}
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
strokeWidth="1.5"
|
|
||||||
fill="none"
|
|
||||||
strokeLinecap="round"
|
|
||||||
strokeLinejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M0 0h24v24H0z" stroke="none" />
|
|
||||||
<rect x="3" y="12" width="6" height="8" rx="1" />
|
|
||||||
<rect x="9" y="8" width="6" height="12" rx="1" />
|
|
||||||
<rect x="15" y="4" width="6" height="16" rx="1" />
|
|
||||||
<path d="M4 20h14" />
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
{AppConfig.site_name}
|
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,33 +1,51 @@
|
||||||
import { VerticalFeatureRow } from '../feature/VerticalFeatureRow';
|
|
||||||
import { Section } from '../layout/Section';
|
import { Section } from '../layout/Section';
|
||||||
|
|
||||||
const VerticalFeatures = () => (
|
const VerticalFeatures = () => (
|
||||||
<Section
|
<>
|
||||||
title="Working in progress"
|
<Section>
|
||||||
description="We are working on this page. Please check back later."
|
<div className="flex flex-wrap justify-center text-center">
|
||||||
>
|
<div className="w-full p-6">
|
||||||
{/*
|
<p className="text-xl pb-8">
|
||||||
<VerticalFeatureRow
|
Conviction Voting is a decision making process in which voters continuously express their preference by staking tokens in support of proposals they would like to see approved,
|
||||||
title="Your title here"
|
with the conviction (i.e. weight) of their vote growing over time.
|
||||||
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
|
</p>
|
||||||
image="/assets/images/feature.svg"
|
<p className="text-xl">
|
||||||
imageAlt="First feature alt text"
|
When a voter unstakes their tokens, their conviction for that proposal starts declining according to a decay function.
|
||||||
/>
|
</p>
|
||||||
<VerticalFeatureRow
|
</div>
|
||||||
title="Your title here"
|
<div className="w-full p-6">
|
||||||
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
|
<figure>
|
||||||
image="/assets/images/feature2.svg"
|
<img src="/assets/images/conviction-voting.png" alt="Conviction Voting" />
|
||||||
imageAlt="Second feature alt text"
|
<figcaption>
|
||||||
reverse
|
Example of Conviction Voting
|
||||||
/>
|
<br/>
|
||||||
<VerticalFeatureRow
|
[
|
||||||
title="Your title here"
|
<a href="https://medium.com/commonsstack/conviction-voting-a-novel-continuous-decision-making-alternative-to-governance-62e215ad2b3d">source</a>{' '}
|
||||||
description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse bibendum, nunc non posuere consectetur, justo erat semper enim, non hendrerit dui odio id enim."
|
- <a href="https://sponnet.github.io/cs-sim/">simulation</a>]</figcaption>
|
||||||
image="/assets/images/feature3.svg"
|
</figure>
|
||||||
imageAlt="Third feature alt text"
|
</div>
|
||||||
/>
|
</div>
|
||||||
*/}
|
|
||||||
</Section>
|
</Section>
|
||||||
|
<Section
|
||||||
|
title="Links and resources"
|
||||||
|
description="Here are some links to help you understand what Conviction Voting is and how it works."
|
||||||
|
>
|
||||||
|
<div className="flex flex-wrap justify-center text-center">
|
||||||
|
<div className="w-full p-6">
|
||||||
|
<p className="text-xl pb-8">
|
||||||
|
👉 <a href="https://medium.com/commonsstack/announcing-the-conviction-voting-cadcad-model-release-8e907ce67e4e">Understanding Real-Time ‘Vote Streaming’</a> by Jeff Emmett
|
||||||
|
</p>
|
||||||
|
<p className="text-xl pb-8">
|
||||||
|
👉 <a href="https://medium.com/commonsstack/conviction-voting-a-novel-continuous-decision-making-alternative-to-governance-62e215ad2b3d">Conviction Voting: A Novel Continuous Decision Making Alternative to Governance</a> by Jeff Emmett
|
||||||
|
</p>
|
||||||
|
<p className="text-xl pb-8">
|
||||||
|
👉 <a href="https://token-engineering-commons.gitbook.io/tec-handbook/archive/archived-content/conviction-voting">Conviction Voting - Token Engineering Commons</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Section>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
|
|
||||||
export { VerticalFeatures };
|
export { VerticalFeatures };
|
||||||
|
|
|
||||||