Skip to content

Commit

Permalink
fix: landing visual improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Jun 29, 2023
1 parent 412bc2e commit fb8bafa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 12 deletions.
14 changes: 4 additions & 10 deletions docs/components/content/V1DocsLinks.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<template>
<div class="wrapper">
<h4>Looking for v1 documentation ?</h4>
<h4>Looking for v1 documentation?</h4>
<div class="links-wrapper">
<button-link href="/v1/getting-started/introduction" :transparent="true" size="large">
<button-link href="/v1/getting-started/introduction" size="small">
English
</button-link>
<button-link href="/fr/v1/getting-started/introduction" :transparent="true" class="ml-2" size="large">
<button-link href="/fr/v1/getting-started/introduction" size="small">
French
</button-link>
<button-link href="/ja/v1/getting-started/introduction" :transparent="true" class="ml-2" size="large">
<button-link href="/ja/v1/getting-started/introduction" size="small">
Japanese
</button-link>
</div>
Expand Down Expand Up @@ -36,11 +36,5 @@ css({
gap: '2rem',
justifyContent: 'center'
},
'.links-wrapper a': {
color: '{color.black}',
'@dark': {
color: '{color.white}'
}
}
})
</style>
27 changes: 25 additions & 2 deletions docs/content/1.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
::

#support
:video-player{src="https://www.youtube.com/watch?v=o9e12WbKrd8" poster="/video-cover.jpeg" .border-2 .u-border-gray-100 .shadow-lg .h-64}
:video-player{src="https://www.youtube.com/watch?v=o9e12WbKrd8" poster="/video-cover.jpeg" style="max-width: 640px; margin: 0 auto;"}
::

::
Expand All @@ -61,12 +61,16 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
#default
:section-header{title="What's included" subtitle="Features"}

::card-grid
::card-grid{cols=6}

#default
::card
---
icon: simple-icons:nuxtdotjs
col:
initial: 6
sm: 4
row: 1
---
#title
Built for Nuxt 3
Expand All @@ -77,6 +81,9 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
::card
---
icon: ph:file
col:
initial: 6
sm: 2
---
#title
File-based CMS
Expand All @@ -87,6 +94,10 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
::card
---
icon: ph:funnel
col:
initial: 6
sm: 2
row: 1
---
#title
Query Builder
Expand All @@ -97,6 +108,10 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
::card
---
icon: IconMarkdown
col:
initial: 6
sm: 2
row: 1
---
#title
MDC Syntax
Expand All @@ -107,6 +122,10 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
::card
---
icon: ph:scan
col:
initial: 6
sm: 2
row: 2
---
#title
Code highlighting
Expand All @@ -117,6 +136,10 @@ backgroundImage: linear-gradient(transparent 75%, {docus.body.backgroundColor})
::card
---
icon: ph:rocket-launch
col:
initial: 6
sm: 4
row: 1
---
#title
Deploy everywhere.
Expand Down

0 comments on commit fb8bafa

Please sign in to comment.