Skip to content

Commit 82bf503

Browse files
authored
Merge pull request #50 from electron-vite/dev
feat: update hero page
2 parents 6094cb7 + c7b91c8 commit 82bf503

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

.vitepress/theme/styles/vars.css

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,26 @@
115115
transition: color 0.25s;
116116
}
117117

118-
.VPHero .image-src {
119-
width: 240px;
120-
height: 240px;
118+
@media (min-width: 640px) {
119+
.VPHero .text {
120+
font-size: 34px;
121+
line-height: 1.14;
122+
}
123+
124+
.VPHero .image-src {
125+
width: 190px;
126+
height: 190px;
127+
}
128+
}
129+
130+
@media (min-width: 960px) {
131+
.VPHero .text {
132+
font-size: 40px;
133+
line-height: 1.14;
134+
}
135+
136+
.VPHero .image-src {
137+
width: 240px;
138+
height: 240px;
139+
}
121140
}

index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ layout: home
55

66
hero:
77
name: "Electron⚡️Vite"
8-
tagline: Create desktop applications using Electron and Vite
8+
text: The easiest way to turn a Vite App into an Electron App
9+
tagline: Full-featured Renderer process support, especially <code>C/C++</code> addons.
910
image:
1011
src: /electron-vite.animate.svg
1112
alt: electron-vite

0 commit comments

Comments
 (0)