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;
}
// interface Locals {}
// interface PageData {}
// interface PageState {}
interface PageData {}
interface PageState {}
interface Platform {
env: {
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">
import "../app.css";
import Navbar from "../components/navbar/navbar.svelte";
import Footer from "../components/footer.svelte";
import Navbar from "$lib/components/navbar/navbar.svelte";
import Footer from "$lib/components/footer.svelte";
</script>
<Navbar />

View File

@ -1,9 +1,9 @@
<script>
import Divider from "../../components/portfolio/divider.svelte";
import Countdown from "../../components/portfolio/countdown.svelte";
import TextContent from "../../components/portfolio/textContent.svelte";
import Skills from "../../components/portfolio/skills.svelte";
import Timeline from "../../components/portfolio/timeline.svelte";
<script lang="ts">
import Divider from "$lib/components/portfolio/divider.svelte";
import Countdown from "$lib/components/portfolio/countdown.svelte";
import TextContent from "$lib/components/portfolio/textContent.svelte";
import Skills from "$lib/components/portfolio/skills.svelte";
import Timeline from "$lib/components/portfolio/timeline.svelte";
</script>
<div
@ -11,7 +11,11 @@
>
<div class="hero-overlay bg-opacity-30"></div>
<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>
<h1 class="mb-6 text-6xl font-bold text-wrap text-center text-primary-content">
Hello, my name is Nick