From 5efefe7751621efc32c77eecf76dc61f01868af0 Mon Sep 17 00:00:00 2001 From: BackwardsUser Date: Wed, 5 Mar 2025 01:55:52 -0500 Subject: [PATCH] Added small device view --- src/app.css | 2 +- src/lib/components/cards/Header.svelte | 4 +- src/lib/components/containers/Projects.svelte | 19 ++++++++ .../components/containers/TechStack.svelte | 12 +++++ src/lib/components/items/LargeCard-sm.svelte | 38 +++++++++++++++ src/lib/components/pages/Small.svelte | 47 ++++++++++++++++++- src/routes/+page.svelte | 4 +- 7 files changed, 119 insertions(+), 7 deletions(-) create mode 100644 src/lib/components/containers/Projects.svelte create mode 100644 src/lib/components/containers/TechStack.svelte create mode 100644 src/lib/components/items/LargeCard-sm.svelte diff --git a/src/app.css b/src/app.css index f0efb4b..3da43e9 100644 --- a/src/app.css +++ b/src/app.css @@ -1,4 +1,4 @@ /* Test */ @import 'tailwindcss/base'; @import 'tailwindcss/components'; -@import 'tailwindcss/utilities'; +@import 'tailwindcss/utilities'; \ No newline at end of file diff --git a/src/lib/components/cards/Header.svelte b/src/lib/components/cards/Header.svelte index 846ce8a..e23e519 100644 --- a/src/lib/components/cards/Header.svelte +++ b/src/lib/components/cards/Header.svelte @@ -5,8 +5,8 @@
-
-

Alexander Harding

+
+

Alexander Harding

Software and Application Developer

{#each brands as brand} diff --git a/src/lib/components/containers/Projects.svelte b/src/lib/components/containers/Projects.svelte new file mode 100644 index 0000000..4f436e7 --- /dev/null +++ b/src/lib/components/containers/Projects.svelte @@ -0,0 +1,19 @@ + + +
+

Projects

+
+ {#each projects as project} + + {/each} +
+
\ No newline at end of file diff --git a/src/lib/components/containers/TechStack.svelte b/src/lib/components/containers/TechStack.svelte new file mode 100644 index 0000000..20114ea --- /dev/null +++ b/src/lib/components/containers/TechStack.svelte @@ -0,0 +1,12 @@ + + +

My Tech Stack

+
+ {#each techs as tech} + + {/each} +
\ No newline at end of file diff --git a/src/lib/components/items/LargeCard-sm.svelte b/src/lib/components/items/LargeCard-sm.svelte new file mode 100644 index 0000000..5e385cc --- /dev/null +++ b/src/lib/components/items/LargeCard-sm.svelte @@ -0,0 +1,38 @@ + + + + {data.name} + +
+

{data.name}

+

{data.description}

+
+ +
+ +
+ +
+
By {data.author.username}
+ Updated {data.date} +
+
+
diff --git a/src/lib/components/pages/Small.svelte b/src/lib/components/pages/Small.svelte index 65501fb..b6f34c7 100644 --- a/src/lib/components/pages/Small.svelte +++ b/src/lib/components/pages/Small.svelte @@ -1,5 +1,48 @@ -

Not Implemented.

\ No newline at end of file +
+ + + + \ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 9858a4b..a320b56 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -21,8 +21,8 @@
{#if width >= 768} - + {:else} - + {/if}