feat: move a ton of components around and did some restructuring

+2 -2
src/components/Contributions.astro src/components/section/Contributions.astro
···
---
-
import Label from "./Label.astro"
-
import GitHubCalendar from "./GithubCalendar"
---
<div class="flex flex-col p-8 border-ctp-surface0 border w-full h-min relative">
···
---
+
import Label from "../Label.astro"
+
import GitHubCalendar from "../GithubCalendar"
---
<div class="flex flex-col p-8 border-ctp-surface0 border w-full h-min relative">
+1 -1
src/components/Navbar.astro src/components/navbar/Navbar.astro
···
</div>
</div>
<style>
-
@reference "../styles/global.css"
a {
@apply ;
}
···
</div>
</div>
<style>
+
@reference "../../styles/global.css"
a {
@apply ;
}
src/components/NavbarLink.astro src/components/navbar/NavbarLink.astro
+2 -2
src/components/Pinned.astro src/components/section/Pinned.astro
···
---
-
import Label from "./Label.astro"
-
import Item from "./PortfolioItem.astro"
---
<div class="flex flex-col p-8 border-ctp-surface0 border w-full h-min relative">
···
---
+
import Label from "../Label.astro"
+
import Item from "../PortfolioItem.astro"
---
<div class="flex flex-col p-8 border-ctp-surface0 border w-full h-min relative">
+2 -2
src/components/Profile.astro src/components/section/Profile.astro
···
---
-
import Label from '../components/Label.astro';
-
import Quote from '../components/Quote.astro'
import { Github, Spool, Icon } from '@lucide/astro'
import { butterfly } from '@lucide/lab'
---
···
---
+
import Label from '../Label.astro';
+
import Quote from './Quote.astro'
import { Github, Spool, Icon } from '@lucide/astro'
import { butterfly } from '@lucide/lab'
---
+1 -1
src/components/Quote.astro src/components/section/Quote.astro
···
---
-
import Label from "../components/Label.astro"
---
<script>
interface Quote {
···
---
+
import Label from "../Label.astro"
---
<script>
interface Quote {
+1 -1
src/layouts/Layout.astro
···
---
import "../styles/global.css"
-
import Navbar from "../components/Navbar.astro"
import Footer from "../components/Footer.astro"
---
<!doctype html>
···
---
import "../styles/global.css"
+
import Navbar from "../components/navbar/Navbar.astro"
import Footer from "../components/Footer.astro"
---
<!doctype html>
+12
src/layouts/Page.astro
···
···
+
---
+
import Layout from './Layout.astro';
+
import Profile from "../components/section/Profile.astro";
+
---
+
<Layout>
+
<section class="h-[50%] grid-cols-5 grid p-24 pt-48 gap-16">
+
<Profile/>
+
<div class="col-span-3 gap-12 flex flex-col">
+
<slot/>
+
</div>
+
</section>
+
</Layout>
+7 -13
src/pages/index.astro
···
---
-
import Layout from '../layouts/Layout.astro';
-
import Profile from "../components/Profile.astro";
-
import Contributions from "../components/Contributions.astro"
-
import Pinned from "../components/Pinned.astro"
---
-
<Layout>
-
<section class="h-[50%] grid-cols-5 grid p-24 pt-48 gap-16">
-
<Profile/>
-
<div class="col-span-3 gap-12 flex flex-col">
-
<Contributions/>
-
<Pinned/>
-
</div>
-
</section>
-
</Layout>
···
---
+
import Page from '../layouts/Page.astro';
+
import Contributions from "../components/section/Contributions.astro"
+
import Pinned from "../components/section/Pinned.astro"
---
+
<Page>
+
<Contributions/>
+
<Pinned/>
+
</Page>
+5
src/pages/projects.astro
···
···
+
---
+
import Page from '../layouts/Page.astro';
+
---
+
<Page>
+
</Page>