From dffa9730379600d054c3b98d5d9ef039d6f84e8f Mon Sep 17 00:00:00 2001 From: David Leal Date: Fri, 2 Jun 2023 19:11:01 +0000 Subject: [PATCH] feat: update to Astro v2.5.7 (latest) --- .gitignore | 1 - .nvmrc | 1 + astro.config.mjs | 2 +- package.json | 30 +- src/components/About/About.astro | 10 +- src/components/About/Team.astro | 217 +- src/components/Creators/Hero.astro | 21 +- src/components/Creators/StepbyStep.astro | 26 +- src/components/Creators/UseCases.astro | 16 +- src/components/Developers/Features.astro | 36 +- src/components/Developers/Hero.astro | 23 +- src/components/Global/Footer.astro | 57 +- src/components/Home/Apps/App.astro | 4 +- src/components/Home/Apps/Apps.astro | 12 +- src/components/Home/Banners/L2.astro | 14 +- src/components/Home/Hero.astro | 25 +- src/components/Home/Heros/Creators.astro | 17 +- src/components/Home/Heros/How.astro | 49 +- src/components/Home/Heros/Patrons.astro | 17 +- .../Home/Heros/Tokens/DevToken.astro | 31 +- .../Home/Heros/Tokens/MaxieToken.astro | 28 +- src/components/Home/Heros/Why.astro | 11 +- src/components/Home/Sections/Backers.astro | 48 +- src/components/Home/Sections/Blog.astro | 48 +- src/components/Patrons/Hero.astro | 21 +- src/components/Patrons/StepbyStep.astro | 26 +- src/components/Stats/Stats.astro | 4 +- src/env.d.ts | 1 + src/layouts/Default.astro | 2 +- src/pages/index.astro | 12 +- yarn.lock | 2975 ++++++++--------- 31 files changed, 1804 insertions(+), 1981 deletions(-) create mode 100644 .nvmrc create mode 100644 src/env.d.ts diff --git a/.gitignore b/.gitignore index 76101a8..30538a4 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,5 @@ yarn-error.log* # macOS-specific files .DS_Store - # vscode .vscode/ diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..8ddbc0c --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18.16.0 diff --git a/astro.config.mjs b/astro.config.mjs index dc2c86c..68bf083 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,7 +7,7 @@ export default { outDir: './dist', // When running `astro build`, path to final static output publicDir: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing. build: { - site: 'https://devprotocol.xyz', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. + site: 'https://devprotocol.xyz/', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. sitemap: true, // Generate sitemap (set to "false" to disable) }, server: { diff --git a/package.json b/package.json index 7bce064..d5c630a 100644 --- a/package.json +++ b/package.json @@ -15,31 +15,31 @@ }, "devDependencies": { "@astrojs/renderer-vue": "^0.2.1", - "astro": "^1.2.3", + "@astrojs/tailwind": "^3.1.3", + "@astrojs/vue": "^2.2.1", + "astro": "^2.5.7", "autoprefixer": "^10.4.0", "bignumber.js": "9.0.2", - "eslint": "^8.5.0", - "eslint-config-prettier": "^8.5.0", - "eslint-config-standard": "^16.0.3", - "eslint-plugin-import": "^2.25.3", + "eslint": "^8.41.0", + "eslint-config-prettier": "^8.8.0", + "eslint-config-standard": "^17.1.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-n": "^16.0.0", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-promise": "^6.0.0", + "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-promise": "^6.1.1", "husky": "^7.0.4", "node-fetch": "2.6.1", "postcss": "^8.4.5", - "prettier": "^2.6.0", - "prettier-plugin-astro": "^0.0.12", - "prettier-plugin-tailwindcss": "^0.1.8", + "prettier": "^2.8.8", + "prettier-plugin-astro": "^0.10.0", + "prettier-plugin-tailwindcss": "^0.3.0", "ramda": "^0.28.0", "remark-cli": "^10.0.1", - "tailwindcss": "^3.0.7", - "@astrojs/tailwind": "^1.0.1", - "@astrojs/vue": "^1.0.2" + "tailwindcss": "^3.0.7" }, "description": "Dev Protocol's open-source website, built with Astro", "repository": "https://github.com/dev-protocol/devprotocol.xyz.git", "author": "dev-protocol", - "license": "MIT", - "dependencies": {} + "license": "MIT" } diff --git a/src/components/About/About.astro b/src/components/About/About.astro index 73a6f7e..74aef7c 100644 --- a/src/components/About/About.astro +++ b/src/components/About/About.astro @@ -1,14 +1,14 @@

About

-

+

What is the mission and vision of Dev Protocol?

@@ -19,7 +19,7 @@

-

+

Where does the Dev Protocol idea come from?

@@ -33,7 +33,7 @@

-

+

The value of the Dev Protocol

diff --git a/src/components/About/Team.astro b/src/components/About/Team.astro index fdb39a4..55f79bf 100644 --- a/src/components/About/Team.astro +++ b/src/components/About/Team.astro @@ -1,112 +1,129 @@ --- const people = [ - { - name: "Mayumi Hara", - title: 'CEO', - img: '/assets/teams/mayu.png', - link: "https://www.linkedin.com/in/hara-mayumi-58799b37/" - }, - { - name: "Aggre", - title: 'CTO', - img: '/assets/teams/aggre.png', - link: "https://www.linkedin.com/in/aggre/" - }, - { - name: "Mariko Miyamoto", - title: 'COO', - img: '/assets/teams/mariko.png', - link: "https://www.linkedin.com/in/mariko-miyamoto-96a907112/" - }, - { - name: "Kaoru Kimura", - title: 'Biz Dev / Partner Business', - img: '/assets/teams/KaoruKimura.jpg', - link: "https://www.linkedin.com/in/kaorukimura/" - }, - { - name: "Stu", - title: 'Core Dev', - img: '/assets/teams/stu.jpg', - link: "https://github.com/stuartwk" - }, - { - name: "Shubham Kukreti", - title: 'Developer Relations', - img: "https://github.com/KukretiShubham.png", - link: "https://github.com/KukretiShubham/" - }, - { - name: "Yash", - title: 'Core Dev', - img: '/assets/teams/Yash.jpg', - link: "https://www.linkedin.com/in/yashragrawal" - }, - { - name: "Matteu", - title: 'UX Engineer', - img: '/assets/teams/matteu.jpg', - link: "https://matteusan.me" - }, - { - name: 'Masako Arita', - title: 'General Manager', - img: '/assets/teams/masako.jpeg', - link: "https://medium.com/@masako_76810/about" - }, - { - name: "Kent Kuroiwa", - title: 'Communications Lead', - img: '/assets/teams/kent.jpg', - link: "https://twitter.com/kurochandev" - }, - { - name: 'Andrew Giunta', - title: 'Data Analyst', - img: '/assets/teams/andrew.jpg', - link: "https://twitter.com/andrewdevproto1" - }, - { - name: 'Martin Ruilova', - title: 'Operation & Governance Analyst', - img: '/assets/teams/Martin_Rui.jpg', - link: "https://www.linkedin.com/in/martinruilova/" - }, - { - name: 'Dr. Eelco Fiole', - title: 'The Director of Governance Lead', - img: '/assets/teams/Eelco.jpg', - link: "https://www.linkedin.com/in/fiole" - }, - { - name: 'Hiroki Omae', - title: 'Adviser', - img: '/assets/teams/omae_hiroki.jpg', - link: "https://learning.unity3d.jp/speaker/hiroki-omae/" - } + { + name: 'Mayumi Hara', + title: 'CEO', + img: '/assets/teams/mayu.png', + link: 'https://www.linkedin.com/in/hara-mayumi-58799b37/', + }, + { + name: 'Aggre', + title: 'CTO', + img: '/assets/teams/aggre.png', + link: 'https://www.linkedin.com/in/aggre/', + }, + { + name: 'Mariko Miyamoto', + title: 'COO', + img: '/assets/teams/mariko.png', + link: 'https://www.linkedin.com/in/mariko-miyamoto-96a907112/', + }, + { + name: 'Kaoru Kimura', + title: 'Biz Dev / Partner Business', + img: '/assets/teams/KaoruKimura.jpg', + link: 'https://www.linkedin.com/in/kaorukimura/', + }, + { + name: 'Stu', + title: 'Core Dev', + img: '/assets/teams/stu.jpg', + link: 'https://github.com/stuartwk', + }, + { + name: 'Shubham Kukreti', + title: 'Developer Relations', + img: 'https://github.com/KukretiShubham.png', + link: 'https://github.com/KukretiShubham/', + }, + { + name: 'Yash', + title: 'Core Dev', + img: '/assets/teams/Yash.jpg', + link: 'https://www.linkedin.com/in/yashragrawal', + }, + { + name: 'Matteu', + title: 'UX Engineer', + img: '/assets/teams/matteu.jpg', + link: 'https://matteusan.me', + }, + { + name: 'Masako Arita', + title: 'General Manager', + img: '/assets/teams/masako.jpeg', + link: 'https://medium.com/@masako_76810/about', + }, + { + name: 'Kent Kuroiwa', + title: 'Communications Lead', + img: '/assets/teams/kent.jpg', + link: 'https://twitter.com/kurochandev', + }, + { + name: 'Andrew Giunta', + title: 'Data Analyst', + img: '/assets/teams/andrew.jpg', + link: 'https://twitter.com/andrewdevproto1', + }, + { + name: 'Martin Ruilova', + title: 'Operation & Governance Analyst', + img: '/assets/teams/Martin_Rui.jpg', + link: 'https://www.linkedin.com/in/martinruilova/', + }, + { + name: 'Dr. Eelco Fiole', + title: 'The Director of Governance Lead', + img: '/assets/teams/Eelco.jpg', + link: 'https://www.linkedin.com/in/fiole', + }, + { + name: 'Hiroki Omae', + title: 'Adviser', + img: '/assets/teams/omae_hiroki.jpg', + link: 'https://learning.unity3d.jp/speaker/hiroki-omae/', + }, ] --- -

-
+
+
-

The Team

+

+ The Team +

-
diff --git a/src/components/Creators/Hero.astro b/src/components/Creators/Hero.astro index 22c010f..8243242 100644 --- a/src/components/Creators/Hero.astro +++ b/src/components/Creators/Hero.astro @@ -1,16 +1,5 @@
-

Create public goods to Earn.

-

+

Create public goods to Earn.

+

Creators can start monetization of any kind of works by issuing their own social token (ERC-20) and then promoting them to the community. It's like a "stock company" with all the features you need to grow your business, including efficient management of ownership and distribution of revenue.

- - diff --git a/src/components/Creators/StepbyStep.astro b/src/components/Creators/StepbyStep.astro index c0db823..c6c3ce1 100644 --- a/src/components/Creators/StepbyStep.astro +++ b/src/components/Creators/StepbyStep.astro @@ -1,6 +1,6 @@
-

Step by Step Onboarding

+

Step by Step Onboarding