mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 10:50:40 +01:00
docs: improve mobile design
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
color="gray"
|
color="gray"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
class="hidden lg:inline-flex"
|
||||||
icon="i-simple-icons-twitter"
|
icon="i-simple-icons-twitter"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
color="gray"
|
color="gray"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
class="hidden lg:inline-flex"
|
||||||
icon="i-simple-icons-github"
|
icon="i-simple-icons-github"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,34 @@
|
|||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<NuxtLink to="https://github.com/nuxtlabs/ui/releases" target="_blank">
|
<div class="flex items-center gap-3 -my-1">
|
||||||
<UBadge label="v2.4.0" />
|
<div class="flex lg:hidden items-center gap-1.5">
|
||||||
</NuxtLink>
|
<UButton
|
||||||
|
to="https://twitter.com/nuxtlabs"
|
||||||
|
target="_blank"
|
||||||
|
color="gray"
|
||||||
|
size="2xs"
|
||||||
|
variant="ghost"
|
||||||
|
icon="i-simple-icons-twitter"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<UButton
|
||||||
|
to="https://github.com/nuxtlabs/ui"
|
||||||
|
target="_blank"
|
||||||
|
color="gray"
|
||||||
|
size="2xs"
|
||||||
|
variant="ghost"
|
||||||
|
icon="i-simple-icons-github"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<NuxtLink :to="`https://github.com/nuxtlabs/ui/releases/tag/v${config.version}`" target="_blank">
|
||||||
|
<UBadge :label="`v${config.version}`" />
|
||||||
|
</NuxtLink>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<script setup lang="ts">
|
||||||
|
const config = useRuntimeConfig().public
|
||||||
|
</script>
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import ui from '../src/module'
|
import ui from '../src/module'
|
||||||
import { excludeColors } from '../src/colors'
|
import { excludeColors } from '../src/colors'
|
||||||
import colors from 'tailwindcss/colors'
|
import colors from 'tailwindcss/colors'
|
||||||
|
import pkg from '../package.json'
|
||||||
|
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
@@ -14,6 +15,11 @@ export default defineNuxtConfig({
|
|||||||
'nuxt-lodash',
|
'nuxt-lodash',
|
||||||
'nuxt-component-meta'
|
'nuxt-component-meta'
|
||||||
],
|
],
|
||||||
|
runtimeConfig: {
|
||||||
|
public: {
|
||||||
|
version: pkg.version
|
||||||
|
}
|
||||||
|
},
|
||||||
content: {
|
content: {
|
||||||
highlight: {
|
highlight: {
|
||||||
theme: {
|
theme: {
|
||||||
|
|||||||
Reference in New Issue
Block a user