mirror of
https://github.com/prdlk/leetcode.git
synced 2026-11-02 13:12:44 +00:00
feat(config): update deployment site URL and reformat font variant definitions
This commit is contained in:
1 parent
7875b43981
commit
0a99557aac
1 file changed
+13
-5
@@ -10,14 +10,23 @@ import redirects from "./redirects";
|
|||||||
const inter = {
|
const inter = {
|
||||||
name: "Inter",
|
name: "Inter",
|
||||||
variants: [
|
variants: [
|
||||||
{ src: "./node_modules/@fontsource-variable/inter/files/inter-latin-wght-normal.woff2", weight: "100..900" },
|
{
|
||||||
|
src: "./node_modules/@fontsource-variable/inter/files/inter-latin-wght-normal.woff2",
|
||||||
|
weight: "100..900",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
const plexMono = {
|
const plexMono = {
|
||||||
name: "IBM Plex Mono",
|
name: "IBM Plex Mono",
|
||||||
variants: [
|
variants: [
|
||||||
{ src: "./node_modules/@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-400-normal.woff2", weight: 400 },
|
{
|
||||||
{ src: "./node_modules/@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-500-normal.woff2", weight: 500 },
|
src: "./node_modules/@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-400-normal.woff2",
|
||||||
|
weight: 400,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: "./node_modules/@fontsource/ibm-plex-mono/files/ibm-plex-mono-latin-500-normal.woff2",
|
||||||
|
weight: 500,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -25,8 +34,7 @@ export default defineConfig({
|
|||||||
title: "Leetcode",
|
title: "Leetcode",
|
||||||
description: "Documentation for LeetCode solutions",
|
description: "Documentation for LeetCode solutions",
|
||||||
deployment: {
|
deployment: {
|
||||||
site: "https://prdlk.github.io",
|
site: "https://lc.prd.lk",
|
||||||
base: "/leetcode",
|
|
||||||
},
|
},
|
||||||
lastModified: "git",
|
lastModified: "git",
|
||||||
redirects,
|
redirects,
|
||||||
|
|||||||
Reference in new issue
Block a user