diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e442cb..6bcc95f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,4 +36,4 @@ jobs: with: name: playwright-report path: playwright-report/ - retention-days: 30 \ No newline at end of file + retention-days: 30 diff --git a/package-lock.json b/package-lock.json index e194b49..1a47f29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1555,9 +1555,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001612", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001612.tgz", - "integrity": "sha512-lFgnZ07UhaCcsSZgWW0K5j4e69dK1u/ltrL9lTUiFOwNHs12S3UMIEYgBV0Z6C6hRDev7iRnMzzYmKabYdXF9g==", + "version": "1.0.30001754", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz", + "integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==", "dev": true, "funding": [ { @@ -1572,7 +1572,8 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/chai": { "version": "4.4.1", diff --git a/src/app.html b/src/app.html index c9f0eba..47de2be 100644 --- a/src/app.html +++ b/src/app.html @@ -6,7 +6,7 @@ %sveltekit.head% - -
%sveltekit.body%
+ +
%sveltekit.body%
diff --git a/src/app.postcss b/src/app.postcss index 8ef7d35..8fa76f5 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -3,7 +3,122 @@ @tailwind utilities; @tailwind variants; +:root { + --background-color-100: #ffffffbf; + --background-color-200: #ffffff; + --font-color-100: #0f0f0f; + --font-color-200: #2b2b2b; + --font-color-300: #2c2c2c; + --font-color-400: #4d4d4d; + --accent-color-100: #def71cff; + --border-color-100: #0000001a; + --border-color-200: #00000080; + --grey-100: #f1f0f280; + --grey-200: #f5f5f5; + --grey-300: #dcdcdc; + + --border-radius-100: 5px; + --navbar-height: 6rem; +} + +* { + font-family: 'Inter', sans-serif; + margin: 0; + padding: 0; + box-sizing: border-box; +} + +a { + text-decoration: none; +} + +::placeholder { + font-size: 14px; + color: rgba(0, 0, 0, 0.65); +} + +::selection { + background: #141414; + color: #ffffffbf; +} + +main { + margin-inline: auto; + max-width: 1024px; + width: 100%; +} + +@media (max-width: 1024px) { + main { + padding-inline: 1rem; + } +} + html, body { - @apply h-full overflow-hidden; + background-color: var(--background-color-100); + color: var(--font-color-100); + + section { + width: 100%; + } + + a { + color: var(--font-color-100); + } + + abbr { + text-decoration: none; + } + + abbr::after { + content: none; + } + + h2 { + color: var(--font-color-200); + font-size: 2.5rem; + font-weight: 500; + margin-block-end: 2rem; + } + + h3 { + color: var(--font-color-300); + font-size: 1.5rem; + font-weight: 500; + } + + h4 { + color: var(--font-color-400); + font-weight: 500; + font-size: 1.125rem; + letter-spacing: -0.005em; + line-height: 1.5; + } + + .link { + border-radius: var(--border-radius-100); + display: inline-flex; + justify-content: center; + align-items: center; + gap: 0.3rem; + font-weight: 500; + padding: 0.5rem 2rem; + } + + .link-color { + background-color: var(--accent-color-100); + + &:hover { + background: rgba(222, 247, 28, 0.52); + } + } + + .link-plain { + background-color: var(--grey-200); + + &:hover { + background: rgba(235, 234, 234, 1); + } + } } diff --git a/src/lib/assets/images/alesana-profile.jpeg b/src/lib/assets/images/alesana-profile.jpeg deleted file mode 100644 index befd037..0000000 Binary files a/src/lib/assets/images/alesana-profile.jpeg and /dev/null differ diff --git a/src/lib/assets/images/alesana-profile.png b/src/lib/assets/images/alesana-profile.png new file mode 100644 index 0000000..b5896b3 Binary files /dev/null and b/src/lib/assets/images/alesana-profile.png differ diff --git a/src/lib/assets/projects-images/project-sso-sitadb.png b/src/lib/assets/projects-images/project-sso-sitadb.png index 7dba347..6f61ab4 100644 Binary files a/src/lib/assets/projects-images/project-sso-sitadb.png and b/src/lib/assets/projects-images/project-sso-sitadb.png differ diff --git a/src/lib/assets/projects-images/project-sso-website.png b/src/lib/assets/projects-images/project-sso-website.png index 6f393ec..4a0a493 100644 Binary files a/src/lib/assets/projects-images/project-sso-website.png and b/src/lib/assets/projects-images/project-sso-website.png differ diff --git a/src/lib/components/About.svelte b/src/lib/components/About.svelte index fde3f5c..bc53c6f 100644 --- a/src/lib/components/About.svelte +++ b/src/lib/components/About.svelte @@ -1,87 +1,47 @@ + import { Contributors } from '$lib/utils/contributors'; + import { IconUsers } from '@tabler/icons-svelte'; -
-

Samoa Code Hub - Our Journey in Code

- - {#each options as option} - - -

{option.time}

-
- - - - - -

- - {option.title} - -

+ // contributors array for the images + const team = Contributors.filter((c) => c.featured); -

{option.description}

-
-
- {/each} -
-
+ // offsets for left calc; adjust px values to taste + const offsets = ['- 80px', '', '+ 80px']; + - + +
+ {#each team as { avatar, name }, i} + {name} + {/each} +
+ + diff --git a/src/lib/components/Appbar.svelte b/src/lib/components/Appbar.svelte index 4467a7a..9ce4dd5 100644 --- a/src/lib/components/Appbar.svelte +++ b/src/lib/components/Appbar.svelte @@ -1,78 +1,37 @@ - - -
- - - - { - if (toggleSidebar) toggleSidebar = false; - scrollToTop(); - }} - > - - -
-
- - {#each menuItems as item} - diff --git a/src/lib/components/BackToTop.svelte b/src/lib/components/BackToTop.svelte deleted file mode 100644 index e963cce..0000000 --- a/src/lib/components/BackToTop.svelte +++ /dev/null @@ -1,24 +0,0 @@ - - - diff --git a/src/lib/components/ClickToCopy.svelte b/src/lib/components/ClickToCopy.svelte new file mode 100644 index 0000000..3959e28 --- /dev/null +++ b/src/lib/components/ClickToCopy.svelte @@ -0,0 +1,29 @@ + + + diff --git a/src/lib/components/Contact.svelte b/src/lib/components/Contact.svelte index 6894406..2d262fb 100644 --- a/src/lib/components/Contact.svelte +++ b/src/lib/components/Contact.svelte @@ -1,7 +1,11 @@ @@ -124,143 +87,157 @@ {/if} -
-
-

Contact Us

-

- Any questions or remarks? Just write us a message! -

-
-
-
-
Contact Information
-
-
- - - - -
-
- - Apia, Samoa -
-
-
-
-
-
- - - - - - -
-