Skip to content

Commit

Permalink
docs: improve home
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Oct 19, 2023
1 parent feca11b commit fe35792
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/app.vue
Expand Up @@ -48,7 +48,7 @@ provide('navigation', navigation)
<template>
<UHeader :links="links">
<template #logo>
<Logo class="h-5 w-auto" />
<Logo class="h-6 w-auto" />
</template>

<template #right>
Expand Down
1 change: 0 additions & 1 deletion docs/content/index.yml
Expand Up @@ -7,7 +7,6 @@ hero:
sections:
- title: Start your next project with<br><span class="text-primary-400">powerful features</span>
slot: features
class: 'dark:lg:bg-gray-950/50'
toolsCards:
- title: 'File-based CMS'
description: 'Write your content in Markdown, YML, CSV or JSON and query it in your components with powerful composables.'
Expand Down
7 changes: 3 additions & 4 deletions docs/pages/index.vue
Expand Up @@ -40,12 +40,12 @@ const { format: formatNumber } = Intl.NumberFormat('en-GB', { notation: 'compact
</script>

<template>
<div class="gradient" />
<ULandingHero
align="center"
direction="vertical"
:ui="{ base: 'relative z-[1]', container: 'flex flex-col gap-6 lg:gap-8', description: 'mt-6 text-lg/8 lg:px-28 text-gray-400' }"
>
<div class="gradient" />
<div class="flex w-full justify-center order-first">
<UBadge
class="w-fit"
Expand Down Expand Up @@ -334,13 +334,12 @@ const { format: formatNumber } = Intl.NumberFormat('en-GB', { notation: 'compact
<style scoped lang="postcss">
.gradient {
position: absolute;
position: fixed;
top: 25vh;
left: 0;
width: 100%;
height: 30vh;
background: radial-gradient(50% 50% at 50% 50%, #00DC82 0%, rgba(0, 220, 130, 0) 100%);
filter: blur(150px);
filter: blur(180px);
opacity: 0.6;
z-index: -1;
}
Expand Down

0 comments on commit fe35792

Please sign in to comment.