Skip to content

Commit 7a0fc21

Browse files
harlan-zwdanielroe
andauthored
feat: nuxt og image v6 + new og images (#1654)
Co-authored-by: Daniel Roe <daniel@roe.dev>
1 parent 16411a5 commit 7a0fc21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3382
-613
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
run: pnpm build:test
155155
env:
156156
VALIDATE_HTML: true
157+
NODE_OPTIONS: --max-old-space-size=6144
157158

158159
- name: 🖥️ Test project (browser)
159160
run: pnpm test:browser:prebuilt
@@ -182,6 +183,8 @@ jobs:
182183

183184
- name: 🏗️ Build project
184185
run: pnpm build:test
186+
env:
187+
NODE_OPTIONS: --max-old-space-size=6144
185188

186189
- name: ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
187190
run: pnpm test:a11y:prebuilt

app/app.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ if (import.meta.client) {
118118
useEventListener(document, 'click', handleModalLightDismiss)
119119
}
120120
}
121+
122+
// title and description will be inferred
123+
// this will be overridden by upstream pages that use different templates
124+
defineOgImage('Page.takumi')
121125
</script>
122126

123127
<template>

app/components/OgImage/Default.vue

Lines changed: 0 additions & 84 deletions
This file was deleted.

app/components/OgImage/Package.d.vue.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)