Skip to content

Commit 804c0d3

Browse files
mathix420claude
andcommitted
feat: add manifesto page, lazy-load gallery, sitemap lastmod
- New /why manifesto page comparing FTWA to Electron and PWA - Link to manifesto from "Why FTWA?" homepage section - Force lazy-loading and async decoding on gallery card images - Add /sitemap.xml to prerender routes - Sitemap entries now report lastmod from git log Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 27686d5 commit 804c0d3

5 files changed

Lines changed: 845 additions & 2 deletions

File tree

app/components/WebsiteCard.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ onMounted(() => {
7777
:alt="website.name"
7878
sizes="588px"
7979
loading="lazy"
80-
:img-attrs="{ class: 'w-full aspect-card-img rounded-lg sm:rounded-xl rounded-b-2xl sm:rounded-b-2xl' }"
80+
:img-attrs="{
81+
loading: 'lazy',
82+
decoding: 'async',
83+
class: 'w-full aspect-card-img rounded-lg sm:rounded-xl rounded-b-2xl sm:rounded-b-2xl',
84+
}"
8185
/>
8286
</UCard>
8387
</template>

app/pages/index.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ const { data } = await useAsyncData("app-samples", () => queryContent<VerifiedWe
1818

1919
<AppFeatures />
2020

21+
<div class="-mt-16 mb-12 flex justify-center">
22+
<UButton
23+
size="xl"
24+
:ui="{ rounded: 'rounded-full' }"
25+
variant="outline"
26+
label="Read the manifesto"
27+
leading-icon="heroicons:newspaper"
28+
to="/why"
29+
/>
30+
</div>
31+
2132
<h2
2233
id="create-web-app"
2334
class="py-10 text-center font-title text-3xl font-black uppercase sm:text-4xl"

0 commit comments

Comments
 (0)