Skip to content

Commit d0c6133

Browse files
committed
docs: update home page styles
1 parent b0ffe42 commit d0c6133

File tree

4 files changed

+39
-27
lines changed

4 files changed

+39
-27
lines changed

docs/components/home/Acknowledgement.vue

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,35 @@ import Heart from '~icons/mdi/heart'
33
</script>
44

55
<template>
6-
<div id="acknowledgement mt-12">
7-
<div class="max-w-3/4 md:max-w-4xl mx-auto py-4 md:py-12 lg:py-12 text-center">
8-
<h1 class="md:(!mb-8) flex justify-center items-center gap-2"><Heart class="text-red-500 min-w-8" /> Acknowledgement</h1>
6+
<div id="acknowledgement">
7+
<div class="border-t-1 border-secondary pt-6">
8+
<div class="max-w-3/4 md:max-w-4xl mx-auto py-4 md:py-12 lg:py-12 text-center">
9+
<h1 class="md:(!mb-8) flex justify-center items-center gap-2"><Heart class="text-red-500 min-w-8" /> Acknowledgement</h1>
910

10-
<p>
11-
<span class="underline">First and foremost</span>: A huge <span class="font-semibold text-red-400">Thank you</span> to the
12-
developers of <a href="https://webkid.io" target="_blank" class="text-primary">Webkid</a>.
11+
<p>
12+
<span class="underline">First and foremost</span>: A huge <span class="font-semibold text-red-400">Thank you</span> to
13+
the developers of <a href="https://webkid.io" target="_blank" class="text-primary">Webkid</a>.
1314

14-
<span class="inline-block">
15-
Without their continuous, amazing, open-source work, this project would not have been possible.
16-
</span>
17-
</p>
15+
<span class="inline-block">
16+
Without their continuous, amazing, open-source work, this project would not have been possible.
17+
</span>
18+
</p>
1819

19-
<p>
20-
<span class="font-semibold text-accent">Vue Flow</span> is built on top of existing features and code taken from
21-
<a href="https://reactflow.dev" target="_blank" class="text-primary">React Flow</a>. It replicates the features found in
22-
React Flow and brings them to the Vue 3 experience, with all the fun reactivity and features like template slots etc. you
23-
know and love from Vue. If you're happy with Vue Flow,
20+
<p>
21+
<span class="font-semibold text-accent">Vue Flow</span> is built on top of existing features and code taken from
22+
<a href="https://reactflow.dev" target="_blank" class="text-primary">React Flow</a>. It replicates the features found in
23+
React Flow and brings them to the Vue 3 experience, with all the fun reactivity and features like template slots etc.
24+
you know and love from Vue. If you're happy with Vue Flow,
2425

25-
<span class="inline-block text-xl font-medium">
26-
please consider supporting <a href="https://webkid.io" target="_blank" class="text-primary">Webkid</a> by
27-
<a href="https://github.com/sponsors/wbkd" target="_blank" class="font-bold text-primary"> donating </a> or
28-
<a href="https://pro.reactflow.dev/" target="_blank" class="font-bold text-primary"> subscribing to React Flow Pro. </a>
29-
</span>
30-
</p>
26+
<span class="inline-block text-xl font-medium">
27+
please consider supporting <a href="https://webkid.io" target="_blank" class="text-primary">Webkid</a> by
28+
<a href="https://github.com/sponsors/wbkd" target="_blank" class="font-bold text-primary"> donating </a> or
29+
<a href="https://pro.reactflow.dev/" target="_blank" class="font-bold text-primary">
30+
subscribing to React Flow Pro.
31+
</a>
32+
</span>
33+
</p>
34+
</div>
3135
</div>
3236
</div>
3337
</template>

docs/components/home/Features.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ onBeforeUnmount(stop)
2727
<template>
2828
<div ref="el" class="w-full">
2929
<div
30-
class="flex flex-col divide-y divide-gray-500 md:divide-y-0 gap-12 md:gap-24 lg:gap-36 max-w-5/6 2xl:max-w-7xl m-auto py-12 md:py-24 text-center md:text-left"
30+
class="flex flex-col divide-y divide-secondary md:divide-y-0 gap-12 md:gap-24 lg:gap-36 max-w-5/6 2xl:max-w-7xl m-auto py-12 md:py-24 text-center md:text-left"
3131
>
3232
<div class="flex flex-col md:flex-row gap-12 md:gap-24">
3333
<Basic @pane="onLoad" />

docs/components/home/Showcase.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
<script lang="ts" setup></script>
22

33
<template>
4-
<div class="w-full text-white bg-gradient-to-br from-secondary-500 to-secondary-100 dark:(!bg-none)">
5-
<div class="max-w-5/6 2xl:max-w-7xl mx-auto py-4 md:py-12 lg:py-12">
4+
<div
5+
class="border-t-1 border-secondary w-full text-white bg-gradient-to-br from-secondary-500 to-secondary-100 dark:(!bg-none)"
6+
>
7+
<div class="max-w-5/6 2xl:max-w-7xl mx-auto py-12 md:py-16">
68
<div class="flex flex-col items-center justify-center gap-2">
79
<h1>Putting Ideas into Action: The Showcase</h1>
810

9-
<p class="font-medium max-w-3/4 xl:max-w-1/2">
11+
<p class="font-medium max-w-3/4 text-center">
1012
Whether you're a seasoned developer or just starting your journey with Vue Flow, this showcase offers inspiration and
1113
insights into what's possible. Dive in and discover the potential of Vue Flow for your next project.
1214
</p>
1315

14-
<div class="flex flex-col md:flex-row justify-between items-center gap-12 mt-8 text-center md:text-left">
16+
<div
17+
class="divide-y divide-secondary md:divide-y-0 flex flex-col md:flex-row justify-between items-center gap-12 mt-8 text-center md:text-left"
18+
>
1519
<div class="flex-1 flex flex-col items-center md:items-start">
1620
<div
1721
class="h-[200px] md:min-h-[300px] w-full shadow-xl rounded-xl font-mono uppercase border-1 border-gray overflow-hidden"
@@ -30,7 +34,7 @@
3034
</div>
3135
</div>
3236

33-
<div class="flex-1 flex flex-col justify-center">
37+
<div class="pt-12 md:pt-0 flex-1 flex flex-col justify-center">
3438
<div
3539
class="h-[200px] md:min-h-[300px] w-full shadow-xl rounded-xl font-mono uppercase border-1 border-gray overflow-hidden"
3640
>

docs/src/.vitepress/theme/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@
143143
padding-bottom: 0 !important;
144144
}
145145

146+
.VPFooter {
147+
@apply dark:(border-secondary)
148+
}
149+
146150
.VPNavBar.has-sidebar .content, .VPNav {
147151
background-color: rgba(var(--vp-c-bg), 0.75);
148152
backdrop-filter: blur(1px);

0 commit comments

Comments
 (0)