File tree Expand file tree Collapse file tree 7 files changed +27
-4
lines changed Expand file tree Collapse file tree 7 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 19
19
<img
20
20
src =" /assets/elysia_v.webp"
21
21
alt =" Curved text logo saying 'Elysia JS'"
22
- class =" max-w-[52ch ] w-full object-contain object-left md:object-center mr-auto md:mr-0"
23
- style =" aspect-ratio : 2 / 1 "
22
+ class =" max-w-[40ch ] w-full object-contain object-left md:object-center mr-auto md:mr-0"
23
+ style =" aspect-ratio : 1.5 / 1 "
24
24
/>
25
25
<h2
26
26
class =" relative text-5xl md:text-6xl md:leading-tight font-bold md:text-center leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-300 to-indigo-400 mb-6"
112
112
bun create elysia app
113
113
</code >
114
114
<button
115
- class =" p-3 rounded-2xl active:rounded-full hover:bg-blue-200/25 focus:bg-blue-200/25 active:bg-blue-200/50 hover:dark:bg-blue-500/20 focus:dark:bg-blue-500/20 active:dark:bg-blue-500/20 transition-all"
115
+ class =" hidden sm:inline-flex p-3 rounded-2xl active:rounded-full hover:bg-blue-200/25 focus:bg-blue-200/25 active:bg-blue-200/50 hover:dark:bg-blue-500/20 focus:dark:bg-blue-500/20 active:dark:bg-blue-500/20 transition-all"
116
116
@click =" copied = true"
117
117
>
118
118
<svg
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ html, body {
27
27
--vp-custom-block-tip-border : # dcfce7 ;
28
28
--vp-custom-block-tip-text : # 15803d ;
29
29
--vp-c-brand-nav-active : color-mix (in srgb, var (--vp-c-brand-light ) 15% , transparent 100% );
30
+ --vp-nav-logo-height : 28px ;
30
31
}
31
32
32
33
.dark {
@@ -63,6 +64,14 @@ button.copy::after {
63
64
border : 0 ;
64
65
}
65
66
67
+ /* .VPNavBarTitle > a > span {
68
+ @apply hidden;
69
+ }
70
+
71
+ .logo {
72
+ @apply hidden;
73
+ } */
74
+
66
75
# embedded-editor {
67
76
@apply my-6 h-[720px ] w-full rounded-lg border-0;
68
77
}
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <!-- <img
3
+ src="/assets/elysia_v.webp"
4
+ alt="Curved text logo saying 'Elysia JS'"
5
+ class="h-[64px]"
6
+ /> -->
7
+ </template >
Original file line number Diff line number Diff line change 1
1
// https://vitepress.dev/guide/custom-theme
2
+ import { h } from 'vue'
2
3
import DefaultTheme from 'vitepress/theme'
4
+
3
5
import Layout from './layout.vue'
6
+ import Header from './header.vue'
4
7
5
8
import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'
6
9
import '@shikijs/vitepress-twoslash/style.css'
@@ -12,7 +15,11 @@ import type { Theme } from 'vitepress'
12
15
13
16
export default {
14
17
extends : DefaultTheme ,
15
- Layout,
18
+ Layout ( ) {
19
+ return h ( DefaultTheme . Layout , null , {
20
+ 'nav-bar-title-after' : ( ) => h ( Header )
21
+ } )
22
+ } ,
16
23
enhanceApp ( { app } : EnhanceAppContext ) {
17
24
app . use ( TwoslashFloatingVue )
18
25
}
You can’t perform that action at this time.
0 commit comments