+
+
\ No newline at end of file
diff --git a/src/components/navbar/navbar.astro b/src/components/navbar/navbar.astro
index 44985cd..cf865a5 100644
--- a/src/components/navbar/navbar.astro
+++ b/src/components/navbar/navbar.astro
@@ -1,6 +1,6 @@
---
import { Image } from 'astro:assets'
-import logo from '../../assets/logo.svg'
+import logo from '@assets/logo.svg'
import hamburger from 'iconoir/icons/menu.svg'
const hamburger_src_url = `url("${hamburger.src}")`
---
diff --git a/src/components/titles/smallTitle.astro b/src/components/titles/smallTitle.astro
index a9465a7..cff653d 100644
--- a/src/components/titles/smallTitle.astro
+++ b/src/components/titles/smallTitle.astro
@@ -58,6 +58,7 @@ const displayBackButton = returnbutton ? "": "display: none"
}
.head {
+ margin: 0 .5rem;
hyphens: auto;
padding-top: 2rem;
font-size: 3.25rem;
@@ -66,6 +67,7 @@ const displayBackButton = returnbutton ? "": "display: none"
}
.sub {
+ margin: 0 .5rem;
font-size: 0.9rem;
font-weight: 500;
font-family: 'Work Sans Variable', sans-serif;
diff --git a/src/components/titles/title.astro b/src/components/titles/title.astro
index 022634a..e03f012 100644
--- a/src/components/titles/title.astro
+++ b/src/components/titles/title.astro
@@ -1,9 +1,12 @@
---
+import LinkContainer from "../links/linkContainer.astro";
+
---
Hi, I'm Firq
</ Software dev / Scathach enthusiast / Germany />
+
diff --git a/static/data/_cedata.json b/src/content/data/cedata.json
similarity index 100%
rename from static/data/_cedata.json
rename to src/content/data/cedata.json
diff --git a/static/data/_contactdata.json b/src/content/data/contactdata.json
similarity index 100%
rename from static/data/_contactdata.json
rename to src/content/data/contactdata.json
diff --git a/static/data/_favouritesdata.json b/src/content/data/favouritesdata.json
similarity index 100%
rename from static/data/_favouritesdata.json
rename to src/content/data/favouritesdata.json
diff --git a/static/data/_featureddata.json b/src/content/data/featureddata.json
similarity index 100%
rename from static/data/_featureddata.json
rename to src/content/data/featureddata.json
diff --git a/static/data/_navdata.json b/src/content/data/navdata.json
similarity index 100%
rename from static/data/_navdata.json
rename to src/content/data/navdata.json
diff --git a/static/data/_servantdata.json b/src/content/data/servantdata.json
similarity index 100%
rename from static/data/_servantdata.json
rename to src/content/data/servantdata.json
diff --git a/static/data/_tadata.json b/src/content/data/tadata.json
similarity index 100%
rename from static/data/_tadata.json
rename to src/content/data/tadata.json
diff --git a/static/data/_technologydata.json b/src/content/data/technologydata.json
similarity index 100%
rename from static/data/_technologydata.json
rename to src/content/data/technologydata.json
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 1c47e29..94c3f77 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -2,10 +2,10 @@
import "@fontsource-variable/work-sans";
import workSans from "@fontsource-variable/work-sans/files/work-sans-latin-wght-normal.woff2"
-import Navbar from '../components/navbar/navbar.astro'
-import NavbarEntry from '../components/navbar/navbarEntry.astro'
-import navdata from '../../static/data/_navdata.json'
-import embed from '../assets/embed.png'
+import Navbar from '@components/navbar/navbar.astro'
+import NavbarEntry from '@components/navbar/navbarEntry.astro'
+import navdata from '@content/data/navdata.json'
+import embed from '@assets/embed.png'
import home from 'iconoir/icons/home.svg'
import servants from 'iconoir/icons/task-list.svg'
@@ -126,6 +126,13 @@ const mapped_navdata = navdata.map((item) => ({
--c-accent-1: #b86cff;
--c-accent-1-alt: #c105ff;
--c-accent-2: #ff0077;
+
+ --c-rgb-primary-background: 27, 27, 27;
+ --c-rgb-secondary-background: 51, 51, 51;
+ --c-rgb-primary-text: 238, 238, 238;
+ --c-rgb-accent-1: 184, 108, 255;
+ --c-rgb-accent-1-alt: 193, 5, 255;
+ --c-rgb-accent-2: 255, 0, 119;
}
body {
background: var(--c-secondary-background);
diff --git a/src/layouts/blogPost.astro b/src/layouts/blogPost.astro
index 2ea4f32..a6ba696 100644
--- a/src/layouts/blogPost.astro
+++ b/src/layouts/blogPost.astro
@@ -1,5 +1,5 @@
---
-import SmallTitle from '../components/titles/smallTitle.astro'
+import SmallTitle from '@components/titles/smallTitle.astro'
import Layout from './Layout.astro'
const { frontmatter } = Astro.props
diff --git a/src/layouts/customFooter.astro b/src/layouts/customFooter.astro
index 196e669..00fb8c9 100644
--- a/src/layouts/customFooter.astro
+++ b/src/layouts/customFooter.astro
@@ -1,8 +1,8 @@
---
-import okita from '../assets/okita.png'
-import atlas from '../assets/atlas.png'
-import foxcat from '../assets/lurker.png'
-import padoru from '../assets/padoru.png'
+import okita from '@assets/okita.png'
+import atlas from '@assets/atlas.png'
+import foxcat from '@assets/lurker.png'
+import padoru from '@assets/padoru.png'
import { Image } from 'astro:assets'
import packagejson from '../../package.json'
diff --git a/src/pages/404.astro b/src/pages/404.astro
index 0af330d..bfa205a 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -1,8 +1,8 @@
---
import { Image } from 'astro:assets'
-import Layout from '../layouts/Layout.astro'
-import sadshishou from '../assets/shishousad.webp'
-import SmallTitle from '../components/titles/smallTitle.astro'
+import Layout from '@layouts/Layout.astro'
+import sadshishou from '@assets/shishousad.webp'
+import SmallTitle from '@components/titles/smallTitle.astro'
const description = "Error. This shouldn't happen :/"
---
diff --git a/src/pages/about.astro b/src/pages/about.astro
index 242738e..e4b2112 100644
--- a/src/pages/about.astro
+++ b/src/pages/about.astro
@@ -1,14 +1,14 @@
---
-import Layout from '../layouts/Layout.astro'
+import Layout from '@layouts/Layout.astro'
-import ContactSection from '../layouts/contactSection.astro'
-import ContactCard from '../components/cards/contactCard.astro'
-import contactdata from '../../static/data/_contactdata.json'
+import ContactSection from '@layouts/contactSection.astro'
+import ContactCard from '@components/cards/contactCard.astro'
+import contactdata from '@content/data/contactdata.json'
-import CustomFooter from '../layouts/customFooter.astro'
-import TechnologyCard from '../components/cards/technologyCard.astro'
-import technologydata from '../../static/data/_technologydata.json'
-import SmallTitle from '../components/titles/smallTitle.astro'
+import CustomFooter from '@layouts/customFooter.astro'
+import TechnologyCard from '@components/cards/technologyCard.astro'
+import technologydata from '@content/data/technologydata.json'
+import SmallTitle from '@components/titles/smallTitle.astro'
const description =
"A summary of the technologies used as well as my contact information. You'll also find disclaimers and thank you notes for the people that helped me."
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index f7cc455..9ec8d94 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -1,8 +1,8 @@
---
-import Layout from '../../layouts/Layout.astro'
-import BlogCard from '../../components/cards/blogCard.astro'
-import BlogSection from '../../layouts/blogSection.astro'
-import SmallTitle from '../../components/titles/smallTitle.astro'
+import Layout from '@layouts/Layout.astro'
+import BlogCard from '@components/cards/blogCard.astro'
+import BlogSection from '@layouts/blogSection.astro'
+import SmallTitle from '@components/titles/smallTitle.astro'
import { getCollection } from 'astro:content'
const description =
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 303fb9c..c435bef 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,10 +1,10 @@
---
-import Layout from '../layouts/Layout.astro'
-import BaseSection from '../layouts/baseSection.astro'
-import FavouriteCard from '../components/cards/favouriteCard.astro'
-import favouritesdata from '../../static/data/_favouritesdata.json'
-import Hi from '../components/titles/title.astro'
-import AboutText from '../components/aboutText.astro'
+import Layout from '@layouts/Layout.astro'
+import BaseSection from '@layouts/baseSection.astro'
+import FavouriteCard from '@components/cards/favouriteCard.astro'
+import favouritesdata from '@content/data/favouritesdata.json'
+import Hi from '@components/titles/title.astro'
+import AboutText from '@components/aboutText.astro'
const description =
'The very own page of Firq for providing informating about TA servants, listing past TA achievements and hosting a blog for talking about FGO, Programming and other stuff'
diff --git a/src/pages/servants.astro b/src/pages/servants.astro
index cc48644..7f1bc23 100644
--- a/src/pages/servants.astro
+++ b/src/pages/servants.astro
@@ -1,13 +1,13 @@
---
-import Layout from '../layouts/Layout.astro'
-import ServantSection from '../layouts/servantSection.astro'
+import Layout from '@layouts/Layout.astro'
+import ServantSection from '@layouts/servantSection.astro'
-import ServantCard from '../components/cards/servantCard.astro'
-import servantdata from '../../static/data/_servantdata.json'
+import ServantCard from '@components/cards/servantCard.astro'
+import servantdata from '@content/data/servantdata.json'
-import CeCard from '../components/cards/ceCard.astro'
-import cedata from '../../static/data/_cedata.json'
-import SmallTitle from '../components/titles/smallTitle.astro'
+import CeCard from '@components/cards/ceCard.astro'
+import cedata from '@content/data/cedata.json'
+import SmallTitle from '@components/titles/smallTitle.astro'
const description =
'A list of all the servants and ces that Firq can offer up on support for TA.'
diff --git a/src/pages/ta-collection.astro b/src/pages/ta-collection.astro
index 6aedfc1..05c0e17 100644
--- a/src/pages/ta-collection.astro
+++ b/src/pages/ta-collection.astro
@@ -5,14 +5,14 @@
// > You could have the notable ones like you do now, but at the bottom, there could be a drop-down or "expand" or "more" or
// > some other section like that which you could click and show the rest
-import Layout from '../layouts/Layout.astro'
+import Layout from '@layouts/Layout.astro'
-import TaSection from '../layouts/taSection.astro'
-import TaCard from '../components/cards/taCard.astro'
-import tadata from '../../static/data/_tadata.json'
-import featured_data from '../../static/data/_featureddata.json'
-import FgotaHero from '../components/fgotaHero.astro'
-import SmallTitle from '../components/titles/smallTitle.astro'
+import TaSection from '@layouts/taSection.astro'
+import TaCard from '@components/cards/taCard.astro'
+import tadata from '@content/data/tadata.json'
+import featured_data from '@content/data/featureddata.json'
+import FgotaHero from '@components/fgotaHero.astro'
+import SmallTitle from '@components/titles/smallTitle.astro'
const important_data = tadata.filter(function (el) {
return [
diff --git a/tsconfig.json b/tsconfig.json
index 77da9dd..76dd50e 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,3 +1,12 @@
{
- "extends": "astro/tsconfigs/strict"
+ "extends": "astro/tsconfigs/strict",
+ "compilerOptions": {
+ "baseUrl": ".",
+ "paths": {
+ "@assets/*": [ "src/assets/*" ],
+ "@components/*": [ "src/components/*" ],
+ "@content/*": [ "src/content/*" ],
+ "@layouts/*": [ "src/layouts/*" ]
+ }
+ }
}
\ No newline at end of file