feat: add og image
This commit is contained in:
parent
9b5e7cccbf
commit
68efaf5c86
4 changed files with 8 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import Navbar from "@/components/Navbar";
|
||||||
import { config } from "@fortawesome/fontawesome-svg-core";
|
import { config } from "@fortawesome/fontawesome-svg-core";
|
||||||
import "@fortawesome/fontawesome-svg-core/styles.css";
|
import "@fortawesome/fontawesome-svg-core/styles.css";
|
||||||
config.autoAddCss = false;
|
config.autoAddCss = false;
|
||||||
import Icon from "@/public/img/icon.ico";
|
import Img from "@/public/og-image.png"
|
||||||
import "./nprogress.css";
|
import "./nprogress.css";
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
|
|
@ -32,9 +32,15 @@ export const metadata = {
|
||||||
url: "https://www.alvalens.my.id",
|
url: "https://www.alvalens.my.id",
|
||||||
title: "Alvalens | Portofolio",
|
title: "Alvalens | Portofolio",
|
||||||
description: "My name is Alvalens, This is my portofolio website.",
|
description: "My name is Alvalens, This is my portofolio website.",
|
||||||
image: Icon,
|
images: "/og-image.png",
|
||||||
siteName: "Alvalens | Portofolio",
|
siteName: "Alvalens | Portofolio",
|
||||||
},
|
},
|
||||||
|
// for whataspp
|
||||||
|
whatsapp: {
|
||||||
|
title: "Alvalens | Portofolio",
|
||||||
|
description: "My name is Alvalens, This is my portofolio website.",
|
||||||
|
images: "/og-image.png",
|
||||||
|
},
|
||||||
alternates: {
|
alternates: {
|
||||||
canoncial: "https://www.alvalens.my.id",
|
canoncial: "https://www.alvalens.my.id",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 31 KiB |
BIN
public/og-image-square.png
Normal file
BIN
public/og-image-square.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 111 KiB |
BIN
public/og-image.png
Normal file
BIN
public/og-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 571 KiB |
Loading…
Add table
Add a link
Reference in a new issue