Skip to content

Commit 6f01e8d

Browse files
committed
Removed OG-Image: Cannot use ReSVG on deno deploy
1 parent a22b8aa commit 6f01e8d

File tree

7 files changed

+40
-1102
lines changed

7 files changed

+40
-1102
lines changed

nuxt.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export default defineNuxtConfig({
99
"@nuxtjs/device",
1010
"@nuxt/icon",
1111
"@nuxtjs/robots",
12-
"nuxt-og-image",
1312
],
1413

1514
routeRules: {

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
"dropbox": "^10.34.0",
2323
"github-markdown-css": "^5.7.0",
2424
"nuxt": "^3.13.0",
25-
"nuxt-og-image": "^4.0.2",
2625
"path-browserify": "^1.0.1",
27-
"puppeteer": "^23.11.1",
2826
"rss": "^1.2.2"
2927
},
3028
"devDependencies": {

pages/blog/[...name]/index.vue

-11
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@ useHead({
99
},
1010
});
1111
12-
defineOgImageComponent('Frame', {
13-
description: 'A blog post by Nike Okoronkwo',
14-
bg: 'linear-gradient(to bottom right, #404540, #2f322f)',
15-
username: 'nikeokoronkwo',
16-
socials: [{
17-
name: 'nikeokoronkwo', icon: 'iconoir:instagram',
18-
}, {
19-
name: 'nikeokoronkwo', icon: 'mdi:github'
20-
}]
21-
});
22-
2312
const route = useRoute();
2413
2514
const colorMode = useColorMode();

pages/blog/index.vue

-12
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,6 @@ useHead({
33
title: "Blog",
44
});
55
6-
defineOgImageComponent('Frame', {
7-
title: 'Nike Okoronkwo',
8-
description: 'The personal blog of Nikechukwu Okoronkwo',
9-
bg: 'linear-gradient(to bottom right, #404540, #2f322f)',
10-
username: 'nikeokoronkwo',
11-
socials: [{
12-
name: 'nikeokoronkwo', icon: 'iconoir:instagram',
13-
}, {
14-
name: 'nikeokoronkwo', icon: 'mdi:github'
15-
}]
16-
})
17-
186
const queryBuilder = queryContent("blog").sort({ date: 1 });
197
const { data: navigation } = await useAsyncData("navigation", () =>
208
fetchContentNavigation(queryBuilder),

pages/index.vue

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
<script setup lang="ts">
2-
defineOgImageComponent('Frame', {
3-
bg: 'linear-gradient(to bottom right, #404540, #2f322f)',
4-
username: 'nikeokoronkwo',
5-
socials: [{
6-
name: 'nikeokoronkwo', icon: 'iconoir:instagram',
7-
}, {
8-
name: 'nikeokoronkwo', icon: 'mdi:github'
9-
}]
10-
})
11-
</script>
12-
131
<template>
142
<div>
153
<section
@@ -70,7 +58,7 @@ defineOgImageComponent('Frame', {
7058
</div>
7159
</div>
7260
</div>
73-
<LazyResumeDialog />
61+
<!-- <LazyResumeDialog /> -->
7462
</section>
7563
</div>
7664
</template>

0 commit comments

Comments
 (0)