Skip to content

Commit 5733802

Browse files
committed
chore: add timetable og image
1 parent 084db0e commit 5733802

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

app/pages/timetable/index.vue

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,25 @@ import TimetableCell from "./_components/TimetableCell.vue";
44
import TimetableCard from "./_components/TimetableCard.vue";
55
import { VFSection } from "#components";
66
import {
7+
defineOgImage,
78
defineRouteRules,
9+
nextTick,
10+
onBeforeRouteLeave,
11+
onBeforeUnmount,
12+
onMounted,
813
useBreakpoint,
914
useFetch,
10-
useI18n,
1115
// eslint-disable-next-line @typescript-eslint/no-unused-vars
1216
useHead,
17+
useI18n,
18+
useRuntimeConfig,
1319
useSeoMeta,
1420
useState,
15-
onMounted,
16-
onBeforeUnmount,
17-
nextTick,
18-
onBeforeRouteLeave,
19-
// defineOgImage,
20-
// useRuntimeConfig,
21-
2221
} from "#imports";
2322
2423
defineRouteRules({ prerender: true });
2524
26-
// const runtimeConfig = useRuntimeConfig();
25+
const runtimeConfig = useRuntimeConfig();
2726
const { t, locale } = useI18n();
2827
const bp = useBreakpoint();
2928
@@ -58,10 +57,9 @@ if (import.meta.client) {
5857
});
5958
}
6059
61-
// defineOgImage({
62-
// component: "root",
63-
// url: `${runtimeConfig.public.siteUrl}images/og/timetable.png`,
64-
// });
60+
defineOgImage({
61+
url: `${runtimeConfig.public.siteUrl}images/og/timetable.png`,
62+
});
6563
6664
useSeoMeta({
6765
title: () => `Vue Fes Japan 2025 - ${t("timetable.title")}`,

public/images/og/timetable.png

949 KB
Loading

0 commit comments

Comments
 (0)