From c46f560f49786b1d06772b2caab1edf10ae4ecbb Mon Sep 17 00:00:00 2001
From: Bradley Shellnut
Date: Sun, 29 Jan 2023 15:37:12 -0800
Subject: [PATCH] Fixing typeography, footer icons, and footer styles.
---
package.json | 3 +-
pnpm-lock.yaml | 27 +++-
postcss.config.cjs | 3 +-
src/lib/components/contactHub/index.svelte | 163 +++++++++++++++++++++
src/lib/components/footer/index.svelte | 46 +++---
src/routes/+layout.svelte | 5 +-
src/styles/styles.pcss | 1 +
src/styles/typeography.pcss | 73 +++++++++
svelte.config.js | 9 +-
9 files changed, 292 insertions(+), 38 deletions(-)
create mode 100644 src/lib/components/contactHub/index.svelte
create mode 100644 src/styles/typeography.pcss
diff --git a/package.json b/package.json
index abaee91..29d35df 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,8 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"iconify-icon": "^1.0.3",
- "postcss": "^8.4.14",
+ "postcss": "^8.4.21",
+ "postcss-import": "^15.1.0",
"postcss-load-config": "^4.0.1",
"postcss-nested": "^6.0.0",
"postcss-preset-env": "^8.0.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index aeb4475..8bd2685 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -17,7 +17,8 @@ specifiers:
eslint-config-prettier: ^8.5.0
eslint-plugin-svelte3: ^4.0.0
iconify-icon: ^1.0.3
- postcss: ^8.4.14
+ postcss: ^8.4.21
+ postcss-import: ^15.1.0
postcss-load-config: ^4.0.1
postcss-nested: ^6.0.0
postcss-preset-env: ^8.0.1
@@ -52,6 +53,7 @@ devDependencies:
eslint-plugin-svelte3: 4.0.0_tmo5zkisvhu6htudosk5k7m6pu
iconify-icon: 1.0.3
postcss: 8.4.21
+ postcss-import: 15.1.0_postcss@8.4.21
postcss-load-config: 4.0.1_postcss@8.4.21
postcss-nested: 6.0.0_postcss@8.4.21
postcss-preset-env: 8.0.1_postcss@8.4.21
@@ -2633,6 +2635,11 @@ packages:
engines: {node: '>=8.6'}
dev: true
+ /pify/2.3.0:
+ resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}
+ engines: {node: '>=0.10.0'}
+ dev: true
+
/playwright-core/1.29.2:
resolution: {integrity: sha512-94QXm4PMgFoHAhlCuoWyaBYKb92yOcGVHdQLoxQ7Wjlc7Flg4aC/jbFW7xMR52OfXMVkWicue4WXE7QEegbIRA==}
engines: {node: '>=14'}
@@ -2796,6 +2803,18 @@ packages:
postcss-value-parser: 4.2.0
dev: true
+ /postcss-import/15.1.0_postcss@8.4.21:
+ resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ postcss: ^8.0.0
+ dependencies:
+ postcss: 8.4.21
+ postcss-value-parser: 4.2.0
+ read-cache: 1.0.0
+ resolve: 1.22.1
+ dev: true
+
/postcss-initial/4.0.1_postcss@8.4.21:
resolution: {integrity: sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==}
peerDependencies:
@@ -3067,6 +3086,12 @@ packages:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
dev: true
+ /read-cache/1.0.0:
+ resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}
+ dependencies:
+ pify: 2.3.0
+ dev: true
+
/readable-stream/1.1.14:
resolution: {integrity: sha512-+MeVjFf4L44XUkhM1eYbD8fyEsxcV81pqMSR5gblfcLCHfZvbrqy4/qYHE+/R5HoBUT11WV5O08Cr1n3YXkWVQ==}
dependencies:
diff --git a/postcss.config.cjs b/postcss.config.cjs
index 91939f2..d9c713a 100644
--- a/postcss.config.cjs
+++ b/postcss.config.cjs
@@ -1,8 +1,9 @@
const autoprefixer = require('autoprefixer');
+const atImport = require('postcss-import');
const postcssNested = require('postcss-nested');
const config = {
- plugins: [autoprefixer, postcssNested]
+ plugins: [autoprefixer(), atImport(), postcssNested]
};
module.exports = config;
diff --git a/src/lib/components/contactHub/index.svelte b/src/lib/components/contactHub/index.svelte
new file mode 100644
index 0000000..a41763a
--- /dev/null
+++ b/src/lib/components/contactHub/index.svelte
@@ -0,0 +1,163 @@
+
+
+{#if showText}
+ Contact Information
+{/if}
+
+ {#if showTwitter && userNames?.twitter}
+
+
+
+
+
+ {/if}
+ {#if showLinkedIn && userNames?.linkedIn}
+
+
+
+
+
+ {/if}
+ {#if github && userNames?.github}
+
+
+
+
+
+ {/if}
+ {#if email && userNames?.email}
+
+
+
+
+
+ {/if}
+
+
+
\ No newline at end of file
diff --git a/src/lib/components/footer/index.svelte b/src/lib/components/footer/index.svelte
index b3d28a8..d6736b1 100644
--- a/src/lib/components/footer/index.svelte
+++ b/src/lib/components/footer/index.svelte
@@ -1,9 +1,7 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 3afe6a1..abab947 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -1,4 +1,5 @@