Compare commits

...

7 Commits

Author SHA1 Message Date
Daniele Salatti 347a0bb0f3 Add more links and refs 2022-06-01 12:31:49 -07:00
Daniele Salatti d369a23e75 Add more links and refs 2022-06-01 12:24:23 -07:00
Daniele Salatti 6175cd5b06 Add some links and references 2022-06-01 11:25:54 -07:00
Daniele Salatti 7eed6e42cb Fix typo and remove unused imports 2022-05-04 14:08:17 -07:00
Daniele Salatti e93c4fc477 Update favicon 2022-05-04 14:02:48 -07:00
Daniele Salatti 59bd8521fa Remove unused import 2022-05-03 23:50:53 -07:00
Daniele Salatti e012777789 Remove unused import 2022-05-03 23:49:23 -07:00
15 changed files with 47 additions and 80 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 445 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,5 +1,3 @@
import { AppConfig } from '../utils/AppConfig';
const FooterCopyright = () => (
<div className="footer-copyright">
© Copyright {new Date().getFullYear()} <a href="https://danielesalatti.com">Daniele Salatti</a> - All rights reserved.

View File

@ -1,6 +1,5 @@
import { NextSeo } from 'next-seo';
import Head from 'next/head';
import { useRouter } from 'next/router';
import { AppConfig } from '../utils/AppConfig';
@ -11,8 +10,6 @@ type IMetaProps = {
};
const Meta = (props: IMetaProps) => {
const router = useRouter();
return (
<>
<Head>
@ -22,30 +19,7 @@ const Meta = (props: IMetaProps) => {
content="width=device-width,initial-scale=1"
key="viewport"
/>
<link
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"
/>
<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>" />
</Head>
<NextSeo
title={props.title}

View File

@ -1,7 +1,6 @@
import Link from 'next/link';
import { Background } from '../background/Background';
import { Button } from '../button/Button';
import { HeroOneButton } from '../hero/HeroOneButton';
import { Section } from '../layout/Section';
import { NavbarTwoColumns } from '../navigation/NavbarTwoColumns';

View File

@ -5,32 +5,13 @@ type ILogoProps = {
};
const Logo = (props: ILogoProps) => {
const size = props.xl ? '44' : '32';
const fontStyle = props.xl
? 'font-semibold text-3xl'
: 'font-semibold text-xl';
return (
<span className={`text-gray-900 inline-flex items-center ${fontStyle}`}>
<svg
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}
🗳 {AppConfig.site_name}
</span>
);
};

View File

@ -1,33 +1,51 @@
import { VerticalFeatureRow } from '../feature/VerticalFeatureRow';
import { Section } from '../layout/Section';
const VerticalFeatures = () => (
<Section
title="Working in progress"
description="We are working on this page. Please check back later."
>
{/*
<VerticalFeatureRow
title="Your title here"
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."
image="/assets/images/feature.svg"
imageAlt="First feature alt text"
/>
<VerticalFeatureRow
title="Your title here"
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."
image="/assets/images/feature2.svg"
imageAlt="Second feature alt text"
reverse
/>
<VerticalFeatureRow
title="Your title here"
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."
image="/assets/images/feature3.svg"
imageAlt="Third feature alt text"
/>
*/}
</Section>
<>
<Section>
<div className="flex flex-wrap justify-center text-center">
<div className="w-full p-6">
<p className="text-xl pb-8">
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,
with the conviction (i.e. weight) of their vote growing over time.
</p>
<p className="text-xl">
When a voter unstakes their tokens, their conviction for that proposal starts declining according to a decay function.
</p>
</div>
<div className="w-full p-6">
<figure>
<img src="/assets/images/conviction-voting.png" alt="Conviction Voting" />
<figcaption>
Example of Conviction Voting
<br/>
[
<a href="https://medium.com/commonsstack/conviction-voting-a-novel-continuous-decision-making-alternative-to-governance-62e215ad2b3d">source</a>{' '}
- <a href="https://sponnet.github.io/cs-sim/">simulation</a>]</figcaption>
</figure>
</div>
</div>
</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 };