feat(seo): add opengraph and twitter seo metadata
This commit is contained in:
18
app.vue
18
app.vue
@@ -1,7 +1,21 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
const TITLE = "Simple QRCode Generator";
|
||||||
|
const DESCRIPTION =
|
||||||
|
"Simple, bullshit-free QR code generator with straightforward API.";
|
||||||
|
const IMAGE = "/thumbnail.png";
|
||||||
|
|
||||||
useSeoMeta({
|
useSeoMeta({
|
||||||
title: "Simple QRCode Generator",
|
title: TITLE,
|
||||||
description: "Simple, bullshit-free QR code generator.",
|
description: DESCRIPTION,
|
||||||
|
ogType: "website",
|
||||||
|
ogTitle: TITLE,
|
||||||
|
ogDescription: DESCRIPTION,
|
||||||
|
ogImage: IMAGE,
|
||||||
|
themeColor: "#4ade80",
|
||||||
|
twitterCard: "summary",
|
||||||
|
twitterTitle: TITLE,
|
||||||
|
twitterDescription: DESCRIPTION,
|
||||||
|
twitterImage: IMAGE,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
BIN
public/thumbnail.png
Normal file
BIN
public/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
Reference in New Issue
Block a user