Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot] c03e860192
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 06:27:04 +00:00
16 changed files with 87 additions and 54 deletions

14
package-lock.json generated
View File

@ -7,7 +7,7 @@
"": { "": {
"name": "next-js-boilerplate", "name": "next-js-boilerplate",
"version": "1.0.0", "version": "1.0.0",
"license": "ISC", "license": "MIT",
"dependencies": { "dependencies": {
"classnames": "^2.3.1", "classnames": "^2.3.1",
"next": "^12.0.9", "next": "^12.0.9",
@ -3555,9 +3555,9 @@
} }
}, },
"node_modules/minimist": { "node_modules/minimist": {
"version": "1.2.5", "version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
"dev": true "dev": true
}, },
"node_modules/mrmime": { "node_modules/mrmime": {
@ -8404,9 +8404,9 @@
} }
}, },
"minimist": { "minimist": {
"version": "1.2.5", "version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
"dev": true "dev": true
}, },
"mrmime": { "mrmime": {

BIN
public/apple-touch-icon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

BIN
public/favicon-16x16.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 B

BIN
public/favicon-32x32.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

BIN
public/favicon.ico Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,3 +1,5 @@
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.

View File

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

View File

@ -1,6 +1,7 @@
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';

View File

@ -5,13 +5,32 @@ 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}`}>
🗳 {AppConfig.site_name} <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}
</span> </span>
); );
}; };

View File

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