Conflicts: - app/pages/index.vue: kept main's SEO setup (SITE, useSeoMeta, titleTemplate) alongside the branch's chapters import. - OKF_Nuxt/log.md: both sides prepended entries; kept the profile and metrics entries above main's PR #16, SEO, favicon and icon entries. Also takes main's @nuxtjs/seo and @nuxt/icon setup, favicon/OG assets, site.config.mjs and the CI review changes. lint, typecheck and build pass after a frozen-lockfile install.
34 lines
1.4 KiB
Vue
34 lines
1.4 KiB
Vue
<script setup lang="ts">
|
|
import { SITE } from '~~/site.config.mjs'
|
|
import { chapters } from '~/data/chapters'
|
|
|
|
// The description and Open Graph basics come from `site` in nuxt.config.ts;
|
|
// the page title adds the role so search results are not just a name.
|
|
useSeoMeta({
|
|
title: `${SITE.name} — ${SITE.role}`,
|
|
twitterCard: 'summary_large_image'
|
|
})
|
|
// SEO Utils would append "| Noel Sabia" to every title by default.
|
|
useHead({ titleTemplate: '%s' })
|
|
</script>
|
|
|
|
<template>
|
|
<div class="relative flex w-full flex-col overflow-hidden">
|
|
<!-- Backdrop is measured against the hero, as in the mockup, so the two circles stay
|
|
close together. It is not clipped at the hero's bottom edge, which lets the
|
|
terminal sit on top of the lower circle. Horizontal clipping lives on the root. -->
|
|
<div class="relative w-full">
|
|
<div class="pointer-events-none absolute inset-0">
|
|
<div class="absolute -top-40 left-1/2 h-[32rem] w-[48rem] -translate-x-1/2 bg-gradient-to-b from-primary-container/20 via-surface-container-high/10 to-transparent opacity-70 blur-3xl" />
|
|
<div class="absolute left-1/4 top-1/3 h-96 w-96 rounded-full bg-primary/5 blur-3xl" />
|
|
<div class="absolute right-1/4 top-2/3 h-80 w-80 rounded-full bg-secondary/5 blur-3xl" />
|
|
</div>
|
|
|
|
<HomeHeroSection />
|
|
</div>
|
|
|
|
<HomeTerminalPanel :chapters="chapters" />
|
|
<HomeFeatureCards />
|
|
</div>
|
|
</template>
|