We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f7ea6a commit 04154aaCopy full SHA for 04154aa
constants/index.ts
@@ -0,0 +1 @@
1
+export * from "./texts";
constants/texts.ts
@@ -0,0 +1,2 @@
+export const MAIN_TITLE = "gitgitWi's space";
2
+export const MAIN_META_DESC = "gitgitWi's space on GitHub Pages";
pages/index.js
pages/index.tsx
@@ -0,0 +1,18 @@
+import Head from "next/head";
+import { MAIN_META_DESC, MAIN_TITLE } from "../constants";
3
+
4
+export default function Home() {
5
+ return (
6
+ <div>
7
+ <Head>
8
+ <title>{MAIN_TITLE}</title>
9
+ <meta name="description" content={MAIN_META_DESC} />
10
+ <link rel="icon" href="/favicon.ico" />
11
+ </Head>
12
13
+ <main>
14
+ <h1>{MAIN_TITLE}</h1>
15
+ </main>
16
+ </div>
17
+ );
18
+}
0 commit comments