From e35fde49c52ec2ccb961dbf898f43b02058277d9 Mon Sep 17 00:00:00 2001 From: Ethan Davidson <31261035+EthanThatOneKid@users.noreply.github.com> Date: Fri, 7 Oct 2022 00:43:53 -0800 Subject: [PATCH] Initial progress Read: https://github.com/sveltejs/kit/pull/6174 --- src/routes/portfolio/demo/+layout.svelte | 22 +++++ src/routes/portfolio/demo/+page.svelte | 11 +++ src/routes/portfolio/demo/README.md | 0 src/routes/portfolio/demo/about.svelte | 32 ++++++++ src/routes/portfolio/demo/experiences.svelte | 55 +++++++++++++ src/routes/portfolio/demo/navbar.svelte | 57 +++++++++++++ src/routes/portfolio/demo/projects.svelte | 65 +++++++++++++++ static/assets/portfolio/demo/dev-logo.svg | 8 ++ static/assets/portfolio/demo/frank,.svg | 19 +++++ static/assets/portfolio/demo/portfolio.css | 86 ++++++++++++++++++++ 10 files changed, 355 insertions(+) create mode 100644 src/routes/portfolio/demo/+layout.svelte create mode 100644 src/routes/portfolio/demo/+page.svelte create mode 100644 src/routes/portfolio/demo/README.md create mode 100644 src/routes/portfolio/demo/about.svelte create mode 100644 src/routes/portfolio/demo/experiences.svelte create mode 100644 src/routes/portfolio/demo/navbar.svelte create mode 100644 src/routes/portfolio/demo/projects.svelte create mode 100644 static/assets/portfolio/demo/dev-logo.svg create mode 100644 static/assets/portfolio/demo/frank,.svg create mode 100644 static/assets/portfolio/demo/portfolio.css diff --git a/src/routes/portfolio/demo/+layout.svelte b/src/routes/portfolio/demo/+layout.svelte new file mode 100644 index 000000000..ee5d737c1 --- /dev/null +++ b/src/routes/portfolio/demo/+layout.svelte @@ -0,0 +1,22 @@ + + + + Frank's Portfolio + + + + + + +
+ +
+ + diff --git a/src/routes/portfolio/demo/+page.svelte b/src/routes/portfolio/demo/+page.svelte new file mode 100644 index 000000000..f1bdd7c95 --- /dev/null +++ b/src/routes/portfolio/demo/+page.svelte @@ -0,0 +1,11 @@ + + + + + + diff --git a/src/routes/portfolio/demo/README.md b/src/routes/portfolio/demo/README.md new file mode 100644 index 000000000..e69de29bb diff --git a/src/routes/portfolio/demo/about.svelte b/src/routes/portfolio/demo/about.svelte new file mode 100644 index 000000000..72be08fdb --- /dev/null +++ b/src/routes/portfolio/demo/about.svelte @@ -0,0 +1,32 @@ + + +
+
+ +

Hi, I'm {name}

+

WELCOME TO MY PORTFOLIO

+
+
+ + diff --git a/src/routes/portfolio/demo/experiences.svelte b/src/routes/portfolio/demo/experiences.svelte new file mode 100644 index 000000000..78d0ed1e6 --- /dev/null +++ b/src/routes/portfolio/demo/experiences.svelte @@ -0,0 +1,55 @@ + + +
+

Experiences

+ {#each exps as { title, duration }} +
+

{title}

+

{duration}

+
+ {/each} +
+ + diff --git a/src/routes/portfolio/demo/navbar.svelte b/src/routes/portfolio/demo/navbar.svelte new file mode 100644 index 000000000..666f4c12d --- /dev/null +++ b/src/routes/portfolio/demo/navbar.svelte @@ -0,0 +1,57 @@ + + + + + diff --git a/src/routes/portfolio/demo/projects.svelte b/src/routes/portfolio/demo/projects.svelte new file mode 100644 index 000000000..b0b4b414d --- /dev/null +++ b/src/routes/portfolio/demo/projects.svelte @@ -0,0 +1,65 @@ + + +
+

Projects

+ {#each projects as { title, description, url }} +
+ +

{title}

+
+

{description}

+
+ {/each} +
+ + diff --git a/static/assets/portfolio/demo/dev-logo.svg b/static/assets/portfolio/demo/dev-logo.svg new file mode 100644 index 000000000..48162f3c8 --- /dev/null +++ b/static/assets/portfolio/demo/dev-logo.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/static/assets/portfolio/demo/frank,.svg b/static/assets/portfolio/demo/frank,.svg new file mode 100644 index 000000000..9ffef164e --- /dev/null +++ b/static/assets/portfolio/demo/frank,.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/assets/portfolio/demo/portfolio.css b/static/assets/portfolio/demo/portfolio.css new file mode 100644 index 000000000..7894c30d5 --- /dev/null +++ b/static/assets/portfolio/demo/portfolio.css @@ -0,0 +1,86 @@ +/* SAME AS ORIGINAL */ +:root { + font-family: Inter, Avenir, Helvetica, Arial, sans-serif; + font-size: 16px; + line-height: 24px; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; +} +/* NEW */ +html { + scroll-behavior: smooth; +} +/* SAME AS ORIGINAL */ +a { + font-weight: 500; + color: #646cff; + text-decoration: inherit; +} +a:hover { + color: #535bf2; +} + +body { + margin: 0; + display: flex; + /* place-items: center; */ + min-width: 320px; + min-height: 100vh; +} + +h1 { + font-size: 3.2em; + line-height: 1.1; +} + +.card { + padding: 2em; +} + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + text-align: center; +} + +button { + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; +} +button:hover { + border-color: #646cff; +} +button:focus, +button:focus-visible { + outline: 4px auto -webkit-focus-ring-color; +} + +@media (prefers-color-scheme: light) { + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } +}