Skip to content

Commit a187604

Browse files
committed
fixed light mode selection and copy
1 parent bd5790d commit a187604

File tree

5 files changed

+33
-26
lines changed

5 files changed

+33
-26
lines changed

components/fern/easy.vue

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
</h2>
1212
</div>
1313
<p class="max-w-md leading-normal">
14-
Our goal is to designed an ergonomic, sensible and
15-
productive framework that even beginners can use easily
14+
Our goal is to design an ergonomic, sensible and productive
15+
framework that even beginners can use easily
1616
</p>
1717
<p class="max-w-md leading-normal">
18-
Design to avoid unnecessary complexity, and type complexity
19-
for you to focus on building
18+
Our framework is designed to minimize unnecessary
19+
complexity, allowing you to focus solely on building.
2020
</p>
2121
<p class="leading-normal">
22-
A framework that feel
22+
A framework that feels
2323
<span
2424
class="text-gradient from-violet-500 to-sky-500 font-semibold"
2525
>just like JavaScript</span

components/fern/hero.vue

+8-7
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@
8989
<h3
9090
class="text-xl md:text-2xl text-gray-500 dark:text-gray-400 !leading-normal text-left md:text-center w-full max-w-[40rem]"
9191
>
92-
TypeScript with
92+
A TypeScript framework with
9393
<span
9494
class="text-transparent font-semibold bg-clip-text bg-gradient-to-r from-indigo-400 to-purple-400"
9595
>End-to-End Type Safety</span
96-
>, type integrity, and exceptional developer experience.
96+
>, type integrity, and exceptional developer experience.<br />
9797
Supercharged by Bun.
9898
</h3>
9999
<section
@@ -113,7 +113,7 @@
113113
bun create elysia app
114114
</code>
115115
<button
116-
id="hero-copy"
116+
id="hero-copy"
117117
class="hidden sm:inline-flex p-3 rounded-2xl active:rounded-full hover:bg-pink-200/25 focus:bg-pink-200/25 active:bg-pink-200/50 hover:dark:bg-pink-500/20 focus:dark:bg-pink-500/20 active:dark:bg-pink-500/20 transition-all"
118118
@click="copied = true"
119119
>
@@ -169,7 +169,7 @@
169169
</template>
170170

171171
<script setup lang="ts">
172-
import { onMounted, ref, watch } from 'vue'
172+
import { ref, watch } from 'vue'
173173
174174
import Ray from './ray.vue'
175175
@@ -209,8 +209,9 @@ watch(copied, (value) => {
209209
);
210210
}
211211
212-
#hero-get-started, #hero-copy {
213-
@apply transform hover:scale-110 focus:scale-110;
214-
transition: transform .35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
212+
#hero-get-started,
213+
#hero-copy {
214+
@apply transform hover:scale-110 focus:scale-110;
215+
transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
215216
}
216217
</style>

components/fern/sponsor.vue

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
<p
99
class="text-lg md:text-xl !leading-[2rem] sm:text-center w-full max-w-2xl mx-auto dark:text-gray-400 dark:font-medium"
1010
>
11-
Elysia is
11+
Elysia is a
1212
<span class="text-gray-700 dark:text-gray-200 font-medium"
13-
>not own by an organization</span
13+
>community-driven project</span
1414
>
15-
but is driven by the community.
15+
<br />
16+
Your support fuels its growth and innovation.
1617
<br />
1718
Elysia development is only possible thanks to your support
1819
</p>
@@ -139,7 +140,7 @@ const sponsors: Sponsor[] = data
139140
}
140141
141142
& > p {
142-
@apply my-0;
143+
@apply my-0;
143144
}
144145
}
145146
}

components/fern/test.vue

+5-4
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@
5858
</h3>
5959
</div>
6060
<p class="lg:max-w-md leading-normal">
61-
Elysia provide a type-safe layer for interact and test your
62-
server from routes to parameters.
61+
Elysia provides a type-safe layer for interacting with and
62+
testing your server, covering everything from routes to
63+
parameters.
6364
</p>
6465
<p class="lg:max-w-md leading-normal">
65-
With auto-completion, you can easily write tests for server
66-
without any hassle.
66+
Auto-completion simplifies server testing, making it quick
67+
and effortless.
6768
</p>
6869
<!-- <slot name="test-script" /> -->
6970
</header>

components/tailwind.css

+10-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,18 @@
77
}
88

99
.text-gradient {
10-
@apply bg-gradient-to-br inline-block text-transparent bg-clip-text;
10+
@apply bg-gradient-to-br inline-block text-transparent bg-clip-text;
1111
}
1212

1313
.code-showcase > div {
14-
@apply w-full;
14+
@apply w-full;
1515

16-
& > .vp-code > code {
17-
font-size: 1.175rem !important;
18-
line-height: 1.875rem !important;
19-
}
16+
& > .vp-code > code {
17+
font-size: 1.175rem !important;
18+
line-height: 1.875rem !important;
19+
}
20+
}
21+
22+
*::selection {
23+
@apply text-white bg-purple-400;
2024
}

0 commit comments

Comments
 (0)