diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml
index 88962c7..5341ed0 100644
--- a/.gitea/workflows/deploy.yaml
+++ b/.gitea/workflows/deploy.yaml
@@ -12,6 +12,8 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
+ with:
+ submodules: recursive
- name: Build Docker Image
run: |
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..257878b
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "public/inspire-me"]
+ path = public/inspire-me
+ url = https://github.com/akkolli/inspire-me.git
diff --git a/app/inspire-me/route.ts b/app/inspire-me/route.ts
new file mode 100644
index 0000000..55501d9
--- /dev/null
+++ b/app/inspire-me/route.ts
@@ -0,0 +1,17 @@
+import { readFile } from 'fs/promises';
+import path from 'path';
+
+export async function GET() {
+ const indexPath = path.join(process.cwd(), 'public', 'inspire-me', 'index.html');
+ const html = await readFile(indexPath, 'utf8');
+ const body = html.replace(
+ '
Inspire Me',
+ '\n Inspire Me'
+ );
+
+ return new Response(body, {
+ headers: {
+ 'Content-Type': 'text/html; charset=utf-8',
+ },
+ });
+}
diff --git a/app/sitemap.ts b/app/sitemap.ts
index c7cbf0b..e07d243 100644
--- a/app/sitemap.ts
+++ b/app/sitemap.ts
@@ -15,6 +15,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
{ url: 'https://akkolli.net/projects', lastModified: new Date('2024-10-26') },
{ url: 'https://akkolli.net/projects/graph-attention-topology', lastModified: new Date('2024-10-26') },
{ url: 'https://akkolli.net/blog', lastModified: latestPostDate },
+ { url: 'https://akkolli.net/inspire-me', lastModified: new Date('2026-06-19') },
{ url: 'https://akkolli.net/resume' },
...blogEntries,
];
diff --git a/next.config.ts b/next.config.ts
index e71a99b..a9fb7a9 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -4,9 +4,9 @@ const isDev = process.env.NODE_ENV === "development";
const contentSecurityPolicy = [
"default-src 'self'",
`script-src 'self' 'unsafe-inline'${isDev ? " 'unsafe-eval'" : ""}`,
- "style-src 'self' 'unsafe-inline'",
+ "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
"img-src 'self' blob: data:",
- "font-src 'self' data:",
+ "font-src 'self' data: https://fonts.gstatic.com",
"connect-src 'self'",
"object-src 'none'",
"frame-src 'none'",
diff --git a/public/inspire-me b/public/inspire-me
new file mode 160000
index 0000000..e90a99e
--- /dev/null
+++ b/public/inspire-me
@@ -0,0 +1 @@
+Subproject commit e90a99ebf3942a842ff691fe012af7715d2bc75d