Skip to content

Commit 0efa3e8

Browse files
committed
feat: update to Astro v2.5.7 (latest)
1 parent 5864d2f commit 0efa3e8

29 files changed

+1803
-1980
lines changed

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
outDir: './dist', // When running `astro build`, path to final static output
88
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.
99
build: {
10-
site: 'https://devprotocol.xyz', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
10+
site: 'https://devprotocol.xyz/', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
1111
sitemap: true, // Generate sitemap (set to "false" to disable)
1212
},
1313
server: {

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
},
1616
"devDependencies": {
1717
"@astrojs/renderer-vue": "^0.2.1",
18-
"astro": "^1.2.3",
18+
"@astrojs/tailwind": "^3.1.3",
19+
"@astrojs/vue": "^2.2.1",
20+
"astro": "^2.5.7",
1921
"autoprefixer": "^10.4.0",
2022
"bignumber.js": "9.0.2",
21-
"eslint": "^8.5.0",
22-
"eslint-config-prettier": "^8.5.0",
23-
"eslint-config-standard": "^16.0.3",
24-
"eslint-plugin-import": "^2.25.3",
23+
"eslint": "^8.41.0",
24+
"eslint-config-prettier": "^8.8.0",
25+
"eslint-config-standard": "^17.1.0",
26+
"eslint-plugin-import": "^2.27.5",
2527
"eslint-plugin-node": "^11.1.0",
26-
"eslint-plugin-prettier": "^4.0.0",
27-
"eslint-plugin-promise": "^6.0.0",
28+
"eslint-plugin-n": "^16.0.0",
29+
"eslint-plugin-prettier": "^4.2.1",
30+
"eslint-plugin-promise": "^6.1.1",
2831
"husky": "^7.0.4",
2932
"node-fetch": "2.6.1",
3033
"postcss": "^8.4.5",
31-
"prettier": "^2.6.0",
32-
"prettier-plugin-astro": "^0.0.12",
33-
"prettier-plugin-tailwindcss": "^0.1.8",
34+
"prettier": "^2.8.8",
35+
"prettier-plugin-astro": "^0.10.0",
36+
"prettier-plugin-tailwindcss": "^0.3.0",
3437
"ramda": "^0.28.0",
3538
"remark-cli": "^10.0.1",
36-
"tailwindcss": "^3.0.7",
37-
"@astrojs/tailwind": "^1.0.1",
38-
"@astrojs/vue": "^1.0.2"
39+
"tailwindcss": "^3.0.7"
3940
},
4041
"description": "Dev Protocol's open-source website, built with Astro",
4142
"repository": "https://github.com/dev-protocol/devprotocol.xyz.git",
4243
"author": "dev-protocol",
43-
"license": "MIT",
44-
"dependencies": {}
44+
"license": "MIT"
4545
}

src/components/About/About.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<section
2-
class="flex max-w-7xl flex-col px-6 lg:px-20 text-center md:text-left bg-white pt-24 dark:bg-darkPrimary mx-auto"
2+
class="mx-auto flex max-w-7xl flex-col bg-white px-6 pt-24 text-center dark:bg-darkPrimary md:text-left lg:px-20"
33
>
44
<div class="m-auto space-y-10">
55
<h3
6-
class="font-black text-center font-display text-6xl my-6 md:my-0 md:mt-4 lg:mb-12"
6+
class="font-display my-6 text-center text-6xl font-black md:my-0 md:mt-4 lg:mb-12"
77
>
88
About
99
</h3>
1010
<div>
11-
<h4 class="text-3xl sm:text-4xl font-display mb-4">
11+
<h4 class="font-display mb-4 text-3xl sm:text-4xl">
1212
What is the mission and vision of Dev Protocol?
1313
</h4>
1414
<p>
@@ -19,7 +19,7 @@
1919
</p>
2020
</div>
2121
<div>
22-
<h4 class="text-3xl sm:text-4xl font-display mb-4">
22+
<h4 class="font-display mb-4 text-3xl sm:text-4xl">
2323
Where does the Dev Protocol idea come from?
2424
</h4>
2525
<p>
@@ -33,7 +33,7 @@
3333
</p>
3434
</div>
3535
<div>
36-
<h4 class="text-3xl sm:text-4xl font-display mb-4">
36+
<h4 class="font-display mb-4 text-3xl sm:text-4xl">
3737
The value of the Dev Protocol
3838
</h4>
3939
<p>

src/components/About/Team.astro

Lines changed: 117 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,129 @@
11
---
22
const people = [
3-
{
4-
name: "Mayumi Hara",
5-
title: 'CEO',
6-
img: '/assets/teams/mayu.png',
7-
link: "https://www.linkedin.com/in/hara-mayumi-58799b37/"
8-
},
9-
{
10-
name: "Aggre",
11-
title: 'CTO',
12-
img: '/assets/teams/aggre.png',
13-
link: "https://www.linkedin.com/in/aggre/"
14-
},
15-
{
16-
name: "Mariko Miyamoto",
17-
title: 'COO',
18-
img: '/assets/teams/mariko.png',
19-
link: "https://www.linkedin.com/in/mariko-miyamoto-96a907112/"
20-
},
21-
{
22-
name: "Kaoru Kimura",
23-
title: 'Biz Dev / Partner Business',
24-
img: '/assets/teams/KaoruKimura.jpg',
25-
link: "https://www.linkedin.com/in/kaorukimura/"
26-
},
27-
{
28-
name: "Stu",
29-
title: 'Core Dev',
30-
img: '/assets/teams/stu.jpg',
31-
link: "https://github.com/stuartwk"
32-
},
33-
{
34-
name: "Shubham Kukreti",
35-
title: 'Developer Relations',
36-
img: "https://github.com/KukretiShubham.png",
37-
link: "https://github.com/KukretiShubham/"
38-
},
39-
{
40-
name: "Yash",
41-
title: 'Core Dev',
42-
img: '/assets/teams/Yash.jpg',
43-
link: "https://www.linkedin.com/in/yashragrawal"
44-
},
45-
{
46-
name: "Matteu",
47-
title: 'UX Engineer',
48-
img: '/assets/teams/matteu.jpg',
49-
link: "https://matteusan.me"
50-
},
51-
{
52-
name: 'Masako Arita',
53-
title: 'General Manager',
54-
img: '/assets/teams/masako.jpeg',
55-
link: "https://medium.com/@masako_76810/about"
56-
},
57-
{
58-
name: "Kent Kuroiwa",
59-
title: 'Communications Lead',
60-
img: '/assets/teams/kent.jpg',
61-
link: "https://twitter.com/kurochandev"
62-
},
63-
{
64-
name: 'Andrew Giunta',
65-
title: 'Data Analyst',
66-
img: '/assets/teams/andrew.jpg',
67-
link: "https://twitter.com/andrewdevproto1"
68-
},
69-
{
70-
name: 'Martin Ruilova',
71-
title: 'Operation & Governance Analyst',
72-
img: '/assets/teams/Martin_Rui.jpg',
73-
link: "https://www.linkedin.com/in/martinruilova/"
74-
},
75-
{
76-
name: 'Dr. Eelco Fiole',
77-
title: 'The Director of Governance Lead',
78-
img: '/assets/teams/Eelco.jpg',
79-
link: "https://www.linkedin.com/in/fiole"
80-
},
81-
{
82-
name: 'Hiroki Omae',
83-
title: 'Adviser',
84-
img: '/assets/teams/omae_hiroki.jpg',
85-
link: "https://learning.unity3d.jp/speaker/hiroki-omae/"
86-
}
3+
{
4+
name: 'Mayumi Hara',
5+
title: 'CEO',
6+
img: '/assets/teams/mayu.png',
7+
link: 'https://www.linkedin.com/in/hara-mayumi-58799b37/',
8+
},
9+
{
10+
name: 'Aggre',
11+
title: 'CTO',
12+
img: '/assets/teams/aggre.png',
13+
link: 'https://www.linkedin.com/in/aggre/',
14+
},
15+
{
16+
name: 'Mariko Miyamoto',
17+
title: 'COO',
18+
img: '/assets/teams/mariko.png',
19+
link: 'https://www.linkedin.com/in/mariko-miyamoto-96a907112/',
20+
},
21+
{
22+
name: 'Kaoru Kimura',
23+
title: 'Biz Dev / Partner Business',
24+
img: '/assets/teams/KaoruKimura.jpg',
25+
link: 'https://www.linkedin.com/in/kaorukimura/',
26+
},
27+
{
28+
name: 'Stu',
29+
title: 'Core Dev',
30+
img: '/assets/teams/stu.jpg',
31+
link: 'https://github.com/stuartwk',
32+
},
33+
{
34+
name: 'Shubham Kukreti',
35+
title: 'Developer Relations',
36+
img: 'https://github.com/KukretiShubham.png',
37+
link: 'https://github.com/KukretiShubham/',
38+
},
39+
{
40+
name: 'Yash',
41+
title: 'Core Dev',
42+
img: '/assets/teams/Yash.jpg',
43+
link: 'https://www.linkedin.com/in/yashragrawal',
44+
},
45+
{
46+
name: 'Matteu',
47+
title: 'UX Engineer',
48+
img: '/assets/teams/matteu.jpg',
49+
link: 'https://matteusan.me',
50+
},
51+
{
52+
name: 'Masako Arita',
53+
title: 'General Manager',
54+
img: '/assets/teams/masako.jpeg',
55+
link: 'https://medium.com/@masako_76810/about',
56+
},
57+
{
58+
name: 'Kent Kuroiwa',
59+
title: 'Communications Lead',
60+
img: '/assets/teams/kent.jpg',
61+
link: 'https://twitter.com/kurochandev',
62+
},
63+
{
64+
name: 'Andrew Giunta',
65+
title: 'Data Analyst',
66+
img: '/assets/teams/andrew.jpg',
67+
link: 'https://twitter.com/andrewdevproto1',
68+
},
69+
{
70+
name: 'Martin Ruilova',
71+
title: 'Operation & Governance Analyst',
72+
img: '/assets/teams/Martin_Rui.jpg',
73+
link: 'https://www.linkedin.com/in/martinruilova/',
74+
},
75+
{
76+
name: 'Dr. Eelco Fiole',
77+
title: 'The Director of Governance Lead',
78+
img: '/assets/teams/Eelco.jpg',
79+
link: 'https://www.linkedin.com/in/fiole',
80+
},
81+
{
82+
name: 'Hiroki Omae',
83+
title: 'Adviser',
84+
img: '/assets/teams/omae_hiroki.jpg',
85+
link: 'https://learning.unity3d.jp/speaker/hiroki-omae/',
86+
},
8787
]
8888
---
8989

90-
<div class="bg-white dark:bg-darkPrimary pb-10">
91-
<div class="max-w-7xl mx-auto py-10 px-4 text-center sm:px-6 lg:px-8">
90+
<div class="bg-white pb-10 dark:bg-darkPrimary">
91+
<div class="mx-auto max-w-7xl py-10 px-4 text-center sm:px-6 lg:px-8">
9292
<div class="space-y-8 sm:space-y-12">
9393
<div class="space-y-5 sm:mx-auto sm:max-w-xl sm:space-y-4 lg:max-w-5xl">
94-
<h2 class="text-3xl font-extrabold font-display tracking-tight sm:text-4xl">The Team</h2>
94+
<h2
95+
class="font-display text-3xl font-extrabold tracking-tight sm:text-4xl"
96+
>
97+
The Team
98+
</h2>
9599
</div>
96-
<ul role="list" class="mx-auto grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-4 md:gap-x-6 lg:max-w-5xl lg:gap-x-8 lg:gap-y-12 xl:grid-cols-6">
97-
{people.map(person => (
98-
<li>
99-
<div class="space-y-4">
100-
<a href={person.link}><img class="mx-auto h-20 w-20 rounded-full lg:w-24 lg:h-24" src={person.img} alt={person.name}></a>
101-
<div class="space-y-2">
102-
<div class="text-xs font-medium lg:text-sm">
103-
<a href={person.link}><h3>{person.name}</h3></a>
104-
<p class="text-indigo-500">{person.title}</p>
100+
<ul
101+
role="list"
102+
class="mx-auto grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-4 md:gap-x-6 lg:max-w-5xl lg:gap-x-8 lg:gap-y-12 xl:grid-cols-6"
103+
>
104+
{
105+
people.map((person) => (
106+
<li>
107+
<div class="space-y-4">
108+
<a href={person.link}>
109+
<img
110+
class="mx-auto h-20 w-20 rounded-full lg:h-24 lg:w-24"
111+
src={person.img}
112+
alt={person.name}
113+
/>
114+
</a>
115+
<div class="space-y-2">
116+
<div class="text-xs font-medium lg:text-sm">
117+
<a href={person.link}>
118+
<h3>{person.name}</h3>
119+
</a>
120+
<p class="text-indigo-500">{person.title}</p>
121+
</div>
122+
</div>
105123
</div>
106-
</div>
107-
</div>
108-
</li>
109-
))}
124+
</li>
125+
))
126+
}
110127
</ul>
111128
</div>
112129
</div>

src/components/Creators/Hero.astro

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
<section
2-
class="
3-
mt-20
4-
lg:mt-0
5-
flex flex-col
6-
items-center
7-
justify-center
8-
min-h-screen
9-
text-center text-lg
10-
lg:text-left
11-
lg:flex-row-reverse
12-
m-auto
13-
"
2+
class="m-auto mt-20 flex min-h-screen flex-col items-center justify-center text-center text-lg lg:mt-0 lg:flex-row-reverse lg:text-left"
143
>
154
<div class="w-auto items-center lg:mx-20">
165
<img
@@ -22,15 +11,15 @@
2211
/>
2312
</div>
2413
<div class="mx-12 p-4 lg:max-w-half">
25-
<h3 class="font-bold text-6xl mt-4">Create public goods to Earn.</h3>
26-
<p class="max-w-prose my-6">
14+
<h3 class="mt-4 text-6xl font-bold">Create public goods to Earn.</h3>
15+
<p class="my-6 max-w-prose">
2716
Creators can start monetization of any kind of works by issuing their own
2817
social token (ERC-20) and then promoting them to the community. It's like
2918
a "stock company" with all the features you need to grow your business,
3019
including efficient management of ownership and distribution of revenue.
3120
</p>
32-
<a href="https://stakes.social/create" class="mt-6 mx-4 ml-0">
33-
<button class="bg-black text-white py-2 px-6 rounded">
21+
<a href="https://stakes.social/create" class="mx-4 mt-6 ml-0">
22+
<button class="rounded bg-black py-2 px-6 text-white">
3423
Submit a Project
3524
</button>
3625
</a>

0 commit comments

Comments
 (0)