Redesign mostly done

This commit is contained in:
Firq 2023-03-04 19:11:52 +01:00
parent a5521b479e
commit 8d2ef10fb7
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
24 changed files with 204 additions and 145 deletions

View file

@ -1,19 +1,20 @@
---
import Layout from '../layouts/Layout.astro';
import CustomFooter from '../layouts/customFooter.astro';
import Hometitle from '../layouts/hometitle.astro';
import NavbuttonsTitle from '../components/navbuttonsTitle.astro';
import ContactSection from '../layouts/contactSection.astro';
import contactdata from '../../static/_contactdata.json'
import ContactCard from '../components/contactCard.astro';
import AboutSection from '../layouts/aboutSection.astro';
import BasicSection from '../layouts/basicSection.astro';
import Navbar from '../components/navbar.astro';
import NavbarEntry from '../components/navbarEntry.astro';
import navdata from '../../static/_navdata.json'
import ContactSection from '../layouts/contactSection.astro';
import ContactCard from '../components/contactCard.astro';
import contactdata from '../../static/_contactdata.json'
---
<Layout title="Firq FGO Site">
<AboutSection title="About">
<Layout title="About" currentpage="about">
<BasicSection title="About">
This is a small sideproject that I'm creating. It uses Astro for developing and Gitlab for providing the site.
</AboutSection>
</BasicSection>
<ContactSection title="Contact me">
{contactdata.map((item) => (<ContactCard {...item}/>))}
</ContactSection>

15
src/pages/blog.astro Normal file
View file

@ -0,0 +1,15 @@
---
import Layout from '../layouts/Layout.astro';
import BasicSection from '../layouts/basicSection.astro';
---
<Layout title="Blog" currentpage="blog">
<BasicSection title="Work in Progress">
Nothing to see here (yet)
</BasicSection>
</Layout>
<style>
</style>

View file

@ -1,14 +0,0 @@
---
import Layout from '../layouts/Layout.astro';
import Navbar from '../components/navbar.astro';
import Hero from '../components/hero.astro';
---
<Layout title="Expreimenting">
<Navbar currentPage="Home"/>
<Hero/>
</Layout>
<style>
</style>

View file

@ -1,15 +1,11 @@
---
import Layout from '../layouts/Layout.astro';
import CustomFooter from '../layouts/customFooter.astro';
import Hometitle from '../layouts/hometitle.astro';
import NavbuttonsTitle from '../components/navbuttonsTitle.astro';
import Hero from '../components/hero.astro';
---
<Layout title="Firq FGO Site">
<Hometitle>
<NavbuttonsTitle></NavbuttonsTitle>
</Hometitle>
<Layout title="Firq FGO Site" currentpage="home">
<Hero/>
</Layout>
<style>

17
src/pages/index.astro.old Normal file
View file

@ -0,0 +1,17 @@
---
import Layout from '../layouts/Layout.astro';
---
<Layout title="Firq FGO Site">
<Navbar/>
<Title/>
<Divider/>
<HomeLayout>
<AboutMe/>
<Favourites/>
</HomeLayout>
</Layout>
<style>
</style>

View file

@ -1,32 +1,23 @@
---
import Layout from '../layouts/Layout.astro';
import BaseSection from '../layouts/baseSection.astro';
import TaSection from '../layouts/taSection.astro';
import ContactSection from '../layouts/contactSection.astro';
import CustomFooter from '../layouts/customFooter.astro';
import ServantCard from '../components/servantCard.astro';
import CeCard from '../components/ceCard.astro';
import TaCard from '../components/taCard.astro';
import ContactCard from '../components/contactCard.astro';
import servantdata from '../../static/_servantdata.json'
import CeCard from '../components/ceCard.astro';
import cedata from '../../static/_cedata.json'
import tadata from '../../static/_tadata.json'
import contactdata from '../../static/_contactdata.json'
---
<Layout title="Firq TA on Astro">
<Layout title="Servants" currentpage="servants">
<BaseSection title="Servant Offering">
{servantdata.map((item) => (<ServantCard {...item}/>))}
</BaseSection>
<BaseSection title="CE Offering">
{cedata.map((item) => (<CeCard {...item}/>))}
</BaseSection>
<TaSection title="Completed TAs">
{tadata.map((item) => (<TaCard {...item}/>))}
</TaSection>
<CustomFooter />
</Layout>

View file

@ -0,0 +1,19 @@
---
import Layout from '../layouts/Layout.astro';
import CustomFooter from '../layouts/customFooter.astro';
import TaSection from '../layouts/taSection.astro';
import TaCard from '../components/taCard.astro';
import tadata from '../../static/_tadata.json'
---
<Layout title="TA Collection" currentpage="ta-collection">
<TaSection title="Completed TAs">
{tadata.map((item) => (<TaCard {...item}/>))}
</TaSection>
<CustomFooter />
</Layout>
<style>
</style>