Move to $lib folder as intended...

Also add in image pathing, will update on R2 when due date arrives.
This commit is contained in:
Nick Bland 2024-04-25 00:47:33 +10:00
parent 7b03db3e78
commit 3c7278bba9
Signed by: NickBland
GPG Key ID: 31CADD9E5FDD798C
12 changed files with 15 additions and 11 deletions

4
src/app.d.ts vendored
View File

@ -8,8 +8,8 @@ declare global {
message: string; message: string;
} }
// interface Locals {} // interface Locals {}
// interface PageData {} interface PageData {}
// interface PageState {} interface PageState {}
interface Platform { interface Platform {
env: { env: {
COUNTER: DurableObjectNamespace; COUNTER: DurableObjectNamespace;

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
import "../app.css"; import "../app.css";
import Navbar from "../components/navbar/navbar.svelte"; import Navbar from "$lib/components/navbar/navbar.svelte";
import Footer from "../components/footer.svelte"; import Footer from "$lib/components/footer.svelte";
</script> </script>
<Navbar /> <Navbar />

View File

@ -1,9 +1,9 @@
<script> <script lang="ts">
import Divider from "../../components/portfolio/divider.svelte"; import Divider from "$lib/components/portfolio/divider.svelte";
import Countdown from "../../components/portfolio/countdown.svelte"; import Countdown from "$lib/components/portfolio/countdown.svelte";
import TextContent from "../../components/portfolio/textContent.svelte"; import TextContent from "$lib/components/portfolio/textContent.svelte";
import Skills from "../../components/portfolio/skills.svelte"; import Skills from "$lib/components/portfolio/skills.svelte";
import Timeline from "../../components/portfolio/timeline.svelte"; import Timeline from "$lib/components/portfolio/timeline.svelte";
</script> </script>
<div <div
@ -11,7 +11,11 @@
> >
<div class="hero-overlay bg-opacity-30"></div> <div class="hero-overlay bg-opacity-30"></div>
<div class="hero-content text-left text-accent-content flex-col lg:flex-row"> <div class="hero-content text-left text-accent-content flex-col lg:flex-row">
<div class="skeleton w-48 h-64 shadow-2xl max-w-sm"></div> <img
class=" skeleton w-48 h-64 shadow-2xl max-w-sm rounded-2xl"
alt="what i look like!"
src="https://cdn.nickbland.dev/nickbland%2Fstatic%2Fimages%2Fprofile.webp"
/>
<div> <div>
<h1 class="mb-6 text-6xl font-bold text-wrap text-center text-primary-content"> <h1 class="mb-6 text-6xl font-bold text-wrap text-center text-primary-content">
Hello, my name is Nick Hello, my name is Nick