+3
.env.example
+3
.env.example
+4
-1
.gitignore
+4
-1
.gitignore
+11
src/app/globals.css
+11
src/app/globals.css
+6
-3
src/app/layout.js
+6
-3
src/app/layout.js
···
3
3
import "./globals.css"
4
4
5
5
export const metadata = {
6
-
title: "fixAO3",
7
-
description: "fixes yr ao3",
6
+
title: process.env.SITENAME,
7
+
description: process.env.DESCRIPTION,
8
8
};
9
9
10
10
export default function RootLayout({ children }) {
···
12
12
<html lang="en">
13
13
<body>
14
14
<div id="page">
15
-
<h1>fixAO3</h1>
15
+
<h1>
16
+
<a href="/">{process.env.SITENAME}</a>
17
+
<a href="/generator" id="generator-link">✨ generator ✨</a>
18
+
</h1>
16
19
{children}
17
20
</div>
18
21
</body>
+1
-1
src/app/page.js
+1
-1
src/app/page.js
···
21
21
<h2>How do I use it?</h2>
22
22
<p>
23
23
All you have to do is change the "ao3.org" or
24
-
"archiveofourown.org" part of your fic's URL to "fixao3.val.run".
24
+
"archiveofourown.org" part of your fic's URL to "{process.env.DOMAIN}".
25
25
It'll automatically pull in your fic's metadata and set up a
26
26
redirect. Easy as that!
27
27
</p>