From 7abf41cd931b5af727cd77ebdd40839b91f8de7a Mon Sep 17 00:00:00 2001 From: root Date: Thu, 16 Apr 2020 13:08:18 -0400 Subject: [PATCH 1/6] Add projects page Also, switch to Inter font, add tailwind UI, add mobile styles --- .prettierrc | 4 + package.json | 91 +- rollup.config.js | 242 +- src/base.css | 37 +- src/components/Footer.svelte | 27 +- src/components/Nav.svelte | 64 +- src/routes/projects.svelte | 65 + src/template.html | 109 +- static/fonts/source-sans-pro/LICENSE.md | 93 - .../OTF/SourceSansPro-Black.otf | Bin 295500 -> 0 bytes .../OTF/SourceSansPro-BlackIt.otf | Bin 212660 -> 0 bytes .../OTF/SourceSansPro-Bold.otf | Bin 298076 -> 0 bytes .../OTF/SourceSansPro-BoldIt.otf | Bin 212380 -> 0 bytes .../OTF/SourceSansPro-ExtraLight.otf | Bin 282200 -> 0 bytes .../OTF/SourceSansPro-ExtraLightIt.otf | Bin 198324 -> 0 bytes .../source-sans-pro/OTF/SourceSansPro-It.otf | Bin 208408 -> 0 bytes .../OTF/SourceSansPro-Light.otf | Bin 290464 -> 0 bytes .../OTF/SourceSansPro-LightIt.otf | Bin 204752 -> 0 bytes .../OTF/SourceSansPro-Regular.otf | Bin 293200 -> 0 bytes .../OTF/SourceSansPro-Semibold.otf | Bin 295952 -> 0 bytes .../OTF/SourceSansPro-SemiboldIt.otf | Bin 210012 -> 0 bytes static/fonts/source-sans-pro/README.md | 18 - .../TTF/SourceSansPro-Black.ttf | Bin 285376 -> 0 bytes .../TTF/SourceSansPro-BlackIt.ttf | Bin 207636 -> 0 bytes .../TTF/SourceSansPro-Bold.ttf | Bin 288712 -> 0 bytes .../TTF/SourceSansPro-BoldIt.ttf | Bin 208156 -> 0 bytes .../TTF/SourceSansPro-ExtraLight.ttf | Bin 286484 -> 0 bytes .../TTF/SourceSansPro-ExtraLightIt.ttf | Bin 208728 -> 0 bytes .../source-sans-pro/TTF/SourceSansPro-It.ttf | Bin 209052 -> 0 bytes .../TTF/SourceSansPro-Light.ttf | Bin 288552 -> 0 bytes .../TTF/SourceSansPro-LightIt.ttf | Bin 209812 -> 0 bytes .../TTF/SourceSansPro-Regular.ttf | Bin 290156 -> 0 bytes .../TTF/SourceSansPro-Semibold.ttf | Bin 289916 -> 0 bytes .../TTF/SourceSansPro-SemiboldIt.ttf | Bin 208740 -> 0 bytes .../VAR/SourceSansVariable-Italic.otf | Bin 252284 -> 0 bytes .../VAR/SourceSansVariable-Italic.ttf | Bin 327324 -> 0 bytes .../VAR/SourceSansVariable-Roman.otf | Bin 467920 -> 0 bytes .../VAR/SourceSansVariable-Roman.ttf | Bin 556320 -> 0 bytes .../WOFF/OTF/SourceSansPro-Black.otf.woff | Bin 147116 -> 0 bytes .../WOFF/OTF/SourceSansPro-BlackIt.otf.woff | Bin 115200 -> 0 bytes .../WOFF/OTF/SourceSansPro-Bold.otf.woff | Bin 151868 -> 0 bytes .../WOFF/OTF/SourceSansPro-BoldIt.otf.woff | Bin 117964 -> 0 bytes .../OTF/SourceSansPro-ExtraLight.otf.woff | Bin 137092 -> 0 bytes .../OTF/SourceSansPro-ExtraLightIt.otf.woff | Bin 106300 -> 0 bytes .../WOFF/OTF/SourceSansPro-It.otf.woff | Bin 115924 -> 0 bytes .../WOFF/OTF/SourceSansPro-Light.otf.woff | Bin 146020 -> 0 bytes .../WOFF/OTF/SourceSansPro-LightIt.otf.woff | Bin 113140 -> 0 bytes .../WOFF/OTF/SourceSansPro-Regular.otf.woff | Bin 148620 -> 0 bytes .../WOFF/OTF/SourceSansPro-Semibold.otf.woff | Bin 150320 -> 0 bytes .../OTF/SourceSansPro-SemiboldIt.otf.woff | Bin 116848 -> 0 bytes .../WOFF/TTF/SourceSansPro-Black.ttf.woff | Bin 113032 -> 0 bytes .../WOFF/TTF/SourceSansPro-BlackIt.ttf.woff | Bin 91076 -> 0 bytes .../WOFF/TTF/SourceSansPro-Bold.ttf.woff | Bin 118440 -> 0 bytes .../WOFF/TTF/SourceSansPro-BoldIt.ttf.woff | Bin 94144 -> 0 bytes .../TTF/SourceSansPro-ExtraLight.ttf.woff | Bin 113236 -> 0 bytes .../TTF/SourceSansPro-ExtraLightIt.ttf.woff | Bin 91560 -> 0 bytes .../WOFF/TTF/SourceSansPro-It.ttf.woff | Bin 95008 -> 0 bytes .../WOFF/TTF/SourceSansPro-Light.ttf.woff | Bin 118044 -> 0 bytes .../WOFF/TTF/SourceSansPro-LightIt.ttf.woff | Bin 94588 -> 0 bytes .../WOFF/TTF/SourceSansPro-Regular.ttf.woff | Bin 119320 -> 0 bytes .../WOFF/TTF/SourceSansPro-Semibold.ttf.woff | Bin 119404 -> 0 bytes .../TTF/SourceSansPro-SemiboldIt.ttf.woff | Bin 94808 -> 0 bytes .../VAR/SourceSansVariable-Italic.otf.woff | Bin 125416 -> 0 bytes .../VAR/SourceSansVariable-Italic.ttf.woff | Bin 139632 -> 0 bytes .../VAR/SourceSansVariable-Roman.otf.woff | Bin 166968 -> 0 bytes .../VAR/SourceSansVariable-Roman.ttf.woff | Bin 181944 -> 0 bytes .../WOFF2/OTF/SourceSansPro-Black.otf.woff2 | Bin 125248 -> 0 bytes .../WOFF2/OTF/SourceSansPro-BlackIt.otf.woff2 | Bin 99560 -> 0 bytes .../WOFF2/OTF/SourceSansPro-Bold.otf.woff2 | Bin 126840 -> 0 bytes .../WOFF2/OTF/SourceSansPro-BoldIt.otf.woff2 | Bin 102608 -> 0 bytes .../OTF/SourceSansPro-ExtraLight.otf.woff2 | Bin 116460 -> 0 bytes .../OTF/SourceSansPro-ExtraLightIt.otf.woff2 | Bin 92768 -> 0 bytes .../WOFF2/OTF/SourceSansPro-It.otf.woff2 | Bin 101572 -> 0 bytes .../WOFF2/OTF/SourceSansPro-Light.otf.woff2 | Bin 124148 -> 0 bytes .../WOFF2/OTF/SourceSansPro-LightIt.otf.woff2 | Bin 98860 -> 0 bytes .../WOFF2/OTF/SourceSansPro-Regular.otf.woff2 | Bin 127280 -> 0 bytes .../OTF/SourceSansPro-Semibold.otf.woff2 | Bin 128584 -> 0 bytes .../OTF/SourceSansPro-SemiboldIt.otf.woff2 | Bin 101984 -> 0 bytes .../WOFF2/TTF/SourceSansPro-Black.ttf.woff2 | Bin 84996 -> 0 bytes .../WOFF2/TTF/SourceSansPro-BlackIt.ttf.woff2 | Bin 69760 -> 0 bytes .../WOFF2/TTF/SourceSansPro-Bold.ttf.woff2 | Bin 89076 -> 0 bytes .../WOFF2/TTF/SourceSansPro-BoldIt.ttf.woff2 | Bin 72564 -> 0 bytes .../TTF/SourceSansPro-ExtraLight.ttf.woff2 | Bin 84824 -> 0 bytes .../TTF/SourceSansPro-ExtraLightIt.ttf.woff2 | Bin 69744 -> 0 bytes .../WOFF2/TTF/SourceSansPro-It.ttf.woff2 | Bin 73088 -> 0 bytes .../WOFF2/TTF/SourceSansPro-Light.ttf.woff2 | Bin 88732 -> 0 bytes .../WOFF2/TTF/SourceSansPro-LightIt.ttf.woff2 | Bin 72340 -> 0 bytes .../WOFF2/TTF/SourceSansPro-Regular.ttf.woff2 | Bin 89676 -> 0 bytes .../TTF/SourceSansPro-Semibold.ttf.woff2 | Bin 89668 -> 0 bytes .../TTF/SourceSansPro-SemiboldIt.ttf.woff2 | Bin 72932 -> 0 bytes .../VAR/SourceSansVariable-Italic.otf.woff2 | Bin 108780 -> 0 bytes .../VAR/SourceSansVariable-Italic.ttf.woff2 | Bin 113556 -> 0 bytes .../VAR/SourceSansVariable-Roman.otf.woff2 | Bin 133064 -> 0 bytes .../VAR/SourceSansVariable-Roman.ttf.woff2 | Bin 137664 -> 0 bytes static/fonts/source-sans-pro/package.json | 33 - .../fonts/source-sans-pro/source-sans-pro.css | 131 - static/fonts/source-serif-pro/LICENSE.md | 93 - .../OTF/SourceSerifPro-Black.otf | Bin 239188 -> 0 bytes .../OTF/SourceSerifPro-BlackIt.otf | Bin 165908 -> 0 bytes .../OTF/SourceSerifPro-Bold.otf | Bin 241476 -> 0 bytes .../OTF/SourceSerifPro-BoldIt.otf | Bin 172096 -> 0 bytes .../OTF/SourceSerifPro-ExtraLight.otf | Bin 228772 -> 0 bytes .../OTF/SourceSerifPro-ExtraLightIt.otf | Bin 160992 -> 0 bytes .../OTF/SourceSerifPro-It.otf | Bin 165356 -> 0 bytes .../OTF/SourceSerifPro-Light.otf | Bin 235500 -> 0 bytes .../OTF/SourceSerifPro-LightIt.otf | Bin 167540 -> 0 bytes .../OTF/SourceSerifPro-Regular.otf | Bin 236192 -> 0 bytes .../OTF/SourceSerifPro-Semibold.otf | Bin 239464 -> 0 bytes .../OTF/SourceSerifPro-SemiboldIt.otf | Bin 172504 -> 0 bytes static/fonts/source-serif-pro/README.md | 18 - .../TTF/SourceSerifPro-Black.ttf | Bin 232892 -> 0 bytes .../TTF/SourceSerifPro-BlackIt.ttf | Bin 173248 -> 0 bytes .../TTF/SourceSerifPro-Bold.ttf | Bin 233952 -> 0 bytes .../TTF/SourceSerifPro-BoldIt.ttf | Bin 176332 -> 0 bytes .../TTF/SourceSerifPro-ExtraLight.ttf | Bin 227584 -> 0 bytes .../TTF/SourceSerifPro-ExtraLightIt.ttf | Bin 171652 -> 0 bytes .../TTF/SourceSerifPro-It.ttf | Bin 173152 -> 0 bytes .../TTF/SourceSerifPro-Light.ttf | Bin 231604 -> 0 bytes .../TTF/SourceSerifPro-LightIt.ttf | Bin 175076 -> 0 bytes .../TTF/SourceSerifPro-Regular.ttf | Bin 231036 -> 0 bytes .../TTF/SourceSerifPro-Semibold.ttf | Bin 233808 -> 0 bytes .../TTF/SourceSerifPro-SemiboldIt.ttf | Bin 176412 -> 0 bytes .../VAR/SourceSerifVariable-Italic.otf | Bin 296396 -> 0 bytes .../VAR/SourceSerifVariable-Italic.ttf | Bin 375824 -> 0 bytes .../VAR/SourceSerifVariable-Roman.otf | Bin 458404 -> 0 bytes .../VAR/SourceSerifVariable-Roman.ttf | Bin 558176 -> 0 bytes .../WOFF/OTF/SourceSerifPro-Black.otf.woff | Bin 123108 -> 0 bytes .../WOFF/OTF/SourceSerifPro-BlackIt.otf.woff | Bin 89196 -> 0 bytes .../WOFF/OTF/SourceSerifPro-Bold.otf.woff | Bin 127500 -> 0 bytes .../WOFF/OTF/SourceSerifPro-BoldIt.otf.woff | Bin 94792 -> 0 bytes .../OTF/SourceSerifPro-ExtraLight.otf.woff | Bin 116572 -> 0 bytes .../OTF/SourceSerifPro-ExtraLightIt.otf.woff | Bin 85628 -> 0 bytes .../WOFF/OTF/SourceSerifPro-It.otf.woff | Bin 89804 -> 0 bytes .../WOFF/OTF/SourceSerifPro-Light.otf.woff | Bin 122824 -> 0 bytes .../WOFF/OTF/SourceSerifPro-LightIt.otf.woff | Bin 91408 -> 0 bytes .../WOFF/OTF/SourceSerifPro-Regular.otf.woff | Bin 123468 -> 0 bytes .../WOFF/OTF/SourceSerifPro-Semibold.otf.woff | Bin 126964 -> 0 bytes .../OTF/SourceSerifPro-SemiboldIt.otf.woff | Bin 94664 -> 0 bytes .../WOFF/TTF/SourceSerifPro-Black.ttf.woff | Bin 95504 -> 0 bytes .../WOFF/TTF/SourceSerifPro-BlackIt.ttf.woff | Bin 74720 -> 0 bytes .../WOFF/TTF/SourceSerifPro-Bold.ttf.woff | Bin 99952 -> 0 bytes .../WOFF/TTF/SourceSerifPro-BoldIt.ttf.woff | Bin 78516 -> 0 bytes .../TTF/SourceSerifPro-ExtraLight.ttf.woff | Bin 92888 -> 0 bytes .../TTF/SourceSerifPro-ExtraLightIt.ttf.woff | Bin 73040 -> 0 bytes .../WOFF/TTF/SourceSerifPro-It.ttf.woff | Bin 75240 -> 0 bytes .../WOFF/TTF/SourceSerifPro-Light.ttf.woff | Bin 97396 -> 0 bytes .../WOFF/TTF/SourceSerifPro-LightIt.ttf.woff | Bin 77436 -> 0 bytes .../WOFF/TTF/SourceSerifPro-Regular.ttf.woff | Bin 96704 -> 0 bytes .../WOFF/TTF/SourceSerifPro-Semibold.ttf.woff | Bin 100144 -> 0 bytes .../TTF/SourceSerifPro-SemiboldIt.ttf.woff | Bin 78444 -> 0 bytes .../VAR/SourceSerifVariable-Italic.otf.woff | Bin 129592 -> 0 bytes .../VAR/SourceSerifVariable-Italic.ttf.woff | Bin 152404 -> 0 bytes .../VAR/SourceSerifVariable-Roman.otf.woff | Bin 174464 -> 0 bytes .../VAR/SourceSerifVariable-Roman.ttf.woff | Bin 194732 -> 0 bytes .../WOFF2/OTF/SourceSerifPro-Black.otf.woff2 | Bin 106024 -> 0 bytes .../OTF/SourceSerifPro-BlackIt.otf.woff2 | Bin 77844 -> 0 bytes .../WOFF2/OTF/SourceSerifPro-Bold.otf.woff2 | Bin 110452 -> 0 bytes .../WOFF2/OTF/SourceSerifPro-BoldIt.otf.woff2 | Bin 82724 -> 0 bytes .../OTF/SourceSerifPro-ExtraLight.otf.woff2 | Bin 101084 -> 0 bytes .../OTF/SourceSerifPro-ExtraLightIt.otf.woff2 | Bin 75552 -> 0 bytes .../WOFF2/OTF/SourceSerifPro-It.otf.woff2 | Bin 78964 -> 0 bytes .../WOFF2/OTF/SourceSerifPro-Light.otf.woff2 | Bin 107104 -> 0 bytes .../OTF/SourceSerifPro-LightIt.otf.woff2 | Bin 80668 -> 0 bytes .../OTF/SourceSerifPro-Regular.otf.woff2 | Bin 106396 -> 0 bytes .../OTF/SourceSerifPro-Semibold.otf.woff2 | Bin 109248 -> 0 bytes .../OTF/SourceSerifPro-SemiboldIt.otf.woff2 | Bin 83204 -> 0 bytes .../WOFF2/TTF/SourceSerifPro-Black.ttf.woff2 | Bin 73676 -> 0 bytes .../TTF/SourceSerifPro-BlackIt.ttf.woff2 | Bin 57856 -> 0 bytes .../WOFF2/TTF/SourceSerifPro-Bold.ttf.woff2 | Bin 77096 -> 0 bytes .../WOFF2/TTF/SourceSerifPro-BoldIt.ttf.woff2 | Bin 61484 -> 0 bytes .../TTF/SourceSerifPro-ExtraLight.ttf.woff2 | Bin 70812 -> 0 bytes .../TTF/SourceSerifPro-ExtraLightIt.ttf.woff2 | Bin 56784 -> 0 bytes .../WOFF2/TTF/SourceSerifPro-It.ttf.woff2 | Bin 58424 -> 0 bytes .../WOFF2/TTF/SourceSerifPro-Light.ttf.woff2 | Bin 75080 -> 0 bytes .../TTF/SourceSerifPro-LightIt.ttf.woff2 | Bin 61028 -> 0 bytes .../TTF/SourceSerifPro-Regular.ttf.woff2 | Bin 74124 -> 0 bytes .../TTF/SourceSerifPro-Semibold.ttf.woff2 | Bin 76988 -> 0 bytes .../TTF/SourceSerifPro-SemiboldIt.ttf.woff2 | Bin 61356 -> 0 bytes .../VAR/SourceSerifVariable-Italic.otf.woff2 | Bin 115452 -> 0 bytes .../VAR/SourceSerifVariable-Italic.ttf.woff2 | Bin 126500 -> 0 bytes .../VAR/SourceSerifVariable-Roman.otf.woff2 | Bin 152632 -> 0 bytes .../VAR/SourceSerifVariable-Roman.ttf.woff2 | Bin 161516 -> 0 bytes static/fonts/source-serif-pro/package.json | 33 - .../source-serif-pro/source-serif-pro.css | 131 - static/global.css | 143789 ++++++++++++--- tailwind.config.js | 17 +- yarn.lock | 141 +- 187 files changed, 116303 insertions(+), 28833 deletions(-) create mode 100644 .prettierrc create mode 100644 src/routes/projects.svelte delete mode 100755 static/fonts/source-sans-pro/LICENSE.md delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-Black.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-BlackIt.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-Bold.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-BoldIt.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-ExtraLight.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-ExtraLightIt.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-It.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-Light.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-LightIt.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-Regular.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-Semibold.otf delete mode 100755 static/fonts/source-sans-pro/OTF/SourceSansPro-SemiboldIt.otf delete mode 100755 static/fonts/source-sans-pro/README.md delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-Black.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-BlackIt.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-Bold.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-BoldIt.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-ExtraLight.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-ExtraLightIt.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-It.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-Light.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-LightIt.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-Regular.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-Semibold.ttf delete mode 100755 static/fonts/source-sans-pro/TTF/SourceSansPro-SemiboldIt.ttf delete mode 100755 static/fonts/source-sans-pro/VAR/SourceSansVariable-Italic.otf delete mode 100755 static/fonts/source-sans-pro/VAR/SourceSansVariable-Italic.ttf delete mode 100755 static/fonts/source-sans-pro/VAR/SourceSansVariable-Roman.otf delete mode 100755 static/fonts/source-sans-pro/VAR/SourceSansVariable-Roman.ttf delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Black.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-BlackIt.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Bold.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-BoldIt.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-ExtraLight.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-ExtraLightIt.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-It.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Light.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-LightIt.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Regular.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-Semibold.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/OTF/SourceSansPro-SemiboldIt.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-Black.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-BlackIt.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-Bold.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-BoldIt.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-ExtraLight.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-ExtraLightIt.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-It.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-Light.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-LightIt.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-Regular.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-Semibold.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/TTF/SourceSansPro-SemiboldIt.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/VAR/SourceSansVariable-Italic.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/VAR/SourceSansVariable-Italic.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/VAR/SourceSansVariable-Roman.otf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF/VAR/SourceSansVariable-Roman.ttf.woff delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-Black.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-BlackIt.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-Bold.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-BoldIt.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-ExtraLight.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-ExtraLightIt.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-It.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-Light.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-LightIt.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-Regular.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-Semibold.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/OTF/SourceSansPro-SemiboldIt.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-Black.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-BlackIt.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-BoldIt.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-ExtraLight.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-ExtraLightIt.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-It.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-Light.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-LightIt.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/VAR/SourceSansVariable-Italic.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/VAR/SourceSansVariable-Italic.ttf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/VAR/SourceSansVariable-Roman.otf.woff2 delete mode 100755 static/fonts/source-sans-pro/WOFF2/VAR/SourceSansVariable-Roman.ttf.woff2 delete mode 100644 static/fonts/source-sans-pro/package.json delete mode 100755 static/fonts/source-sans-pro/source-sans-pro.css delete mode 100755 static/fonts/source-serif-pro/LICENSE.md delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-Black.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-BlackIt.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-Bold.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-BoldIt.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-ExtraLight.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-ExtraLightIt.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-It.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-Light.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-LightIt.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-Regular.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-Semibold.otf delete mode 100755 static/fonts/source-serif-pro/OTF/SourceSerifPro-SemiboldIt.otf delete mode 100755 static/fonts/source-serif-pro/README.md delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-Black.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-BlackIt.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-Bold.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-BoldIt.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-ExtraLight.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-ExtraLightIt.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-It.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-Light.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-LightIt.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-Regular.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-Semibold.ttf delete mode 100755 static/fonts/source-serif-pro/TTF/SourceSerifPro-SemiboldIt.ttf delete mode 100755 static/fonts/source-serif-pro/VAR/SourceSerifVariable-Italic.otf delete mode 100755 static/fonts/source-serif-pro/VAR/SourceSerifVariable-Italic.ttf delete mode 100755 static/fonts/source-serif-pro/VAR/SourceSerifVariable-Roman.otf delete mode 100755 static/fonts/source-serif-pro/VAR/SourceSerifVariable-Roman.ttf delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-Black.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-BlackIt.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-Bold.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-BoldIt.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-ExtraLight.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-ExtraLightIt.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-It.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-Light.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-LightIt.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-Regular.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-Semibold.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/OTF/SourceSerifPro-SemiboldIt.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-Black.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-BlackIt.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-Bold.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-BoldIt.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-ExtraLight.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-ExtraLightIt.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-It.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-Light.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-LightIt.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-Regular.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-Semibold.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/TTF/SourceSerifPro-SemiboldIt.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/VAR/SourceSerifVariable-Italic.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/VAR/SourceSerifVariable-Italic.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/VAR/SourceSerifVariable-Roman.otf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF/VAR/SourceSerifVariable-Roman.ttf.woff delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-Black.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-BlackIt.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-Bold.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-BoldIt.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-ExtraLight.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-ExtraLightIt.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-It.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-Light.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-LightIt.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-Regular.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-Semibold.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/OTF/SourceSerifPro-SemiboldIt.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-Black.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-BlackIt.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-Bold.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-BoldIt.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-ExtraLight.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-ExtraLightIt.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-It.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-Light.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-LightIt.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-Regular.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-Semibold.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/TTF/SourceSerifPro-SemiboldIt.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/VAR/SourceSerifVariable-Italic.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/VAR/SourceSerifVariable-Italic.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/VAR/SourceSerifVariable-Roman.otf.woff2 delete mode 100755 static/fonts/source-serif-pro/WOFF2/VAR/SourceSerifVariable-Roman.ttf.woff2 delete mode 100755 static/fonts/source-serif-pro/package.json delete mode 100755 static/fonts/source-serif-pro/source-serif-pro.css diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..222861c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "tabWidth": 2, + "useTabs": false +} diff --git a/package.json b/package.json index 413390d..f77b1ae 100644 --- a/package.json +++ b/package.json @@ -1,47 +1,48 @@ { - "name": "Zaahir-dot-ca", - "description": "Personal website of Zaahir Moolla", - "license": "MIT", - "version": "0.0.1", - "scripts": { - "start-node": "node __sapper__/build", - "start": "sapper dev", - "dev": "sapper dev --port $PORT", - "build": "sapper export" - }, - "browserslist": [ - "last 3 version" - ], - "dependencies": { - "compression": "^1.7.1", - "polka": "^0.5.0", - "sirv": "^0.4.0" - }, - "devDependencies": { - "@babel/core": "^7.7.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-runtime": "^7.8.3", - "@babel/preset-env": "^7.8.3", - "@babel/runtime": "^7.8.3", - "@fullhuman/postcss-purgecss": "^1.2.0", - "autoprefixer": "^9.7.3", - "cssnano": "^4.1.10", - "hover.css": "^2.3.2", - "postcss": "^7.0.26", - "postcss-import": "^12.0.1", - "postcss-url": "^8.0.0", - "purgecss-from-svelte": "^2.0.2", - "rollup": "^1.29.0", - "rollup-plugin-babel": "^4.0.2", - "rollup-plugin-commonjs": "^10.0.0", - "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-postcss": "^2.0.3", - "rollup-plugin-replace": "^2.0.0", - "rollup-plugin-svelte": "^5.0.1", - "rollup-plugin-terser": "^5.2.0", - "sapper": "^0.27.0", - "svelte": "^3.17.1", - "svelte-preprocess": "^3.3.0", - "tailwindcss": "^1.1.4" - } + "name": "zaahir-dot-ca", + "description": "Personal website of Zaahir Moolla", + "license": "MIT", + "version": "1.0.0", + "scripts": { + "start-node": "node __sapper__/build", + "start": "sapper dev", + "dev": "sapper dev --port $PORT", + "build": "sapper export" + }, + "browserslist": [ + "last 3 version" + ], + "dependencies": { + "compression": "^1.7.1", + "polka": "^0.5.0", + "sirv": "^0.4.0" + }, + "devDependencies": { + "@babel/core": "^7.7.7", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-runtime": "^7.8.3", + "@babel/preset-env": "^7.8.3", + "@babel/runtime": "^7.8.3", + "@fullhuman/postcss-purgecss": "^1.2.0", + "@tailwindcss/ui": "^0.1.3", + "autoprefixer": "^9.7.3", + "cssnano": "^4.1.10", + "hover.css": "^2.3.2", + "postcss": "^7.0.26", + "postcss-import": "^12.0.1", + "postcss-url": "^8.0.0", + "purgecss-from-svelte": "^2.0.2", + "rollup": "^1.29.0", + "rollup-plugin-babel": "^4.0.2", + "rollup-plugin-commonjs": "^10.0.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-postcss": "^2.0.3", + "rollup-plugin-replace": "^2.0.0", + "rollup-plugin-svelte": "^5.0.1", + "rollup-plugin-terser": "^5.2.0", + "sapper": "^0.27.0", + "svelte": "^3.17.1", + "svelte-preprocess": "^3.3.0", + "tailwindcss": "^1.2.0" + } } diff --git a/rollup.config.js b/rollup.config.js index 04d20df..4251cd3 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -15,141 +15,133 @@ const dev = mode === "development"; const legacy = !!process.env.SAPPER_LEGACY_BUILD; const onwarn = (warning, onwarn) => - (warning.code === "CIRCULAR_DEPENDENCY" && - /[/\\]@sapper[/\\]/.test(warning.message)) || - onwarn(warning); -const dedupe = importee => - importee === "svelte" || importee.startsWith("svelte/"); + (warning.code === "CIRCULAR_DEPENDENCY" && + /[/\\]@sapper[/\\]/.test(warning.message)) || + onwarn(warning); +const dedupe = (importee) => + importee === "svelte" || importee.startsWith("svelte/"); const postcssPlugins = (purgecss = false) => { - return [ - require("postcss-import")(), - require("postcss-url")(), - require("postcss-nested"), - require("tailwindcss")("./tailwind.config.js"), - require("autoprefixer")(), - // Do not purge the CSS in dev mode to be able to play with classes in the browser dev-tools. - purgecss && - require("@fullhuman/postcss-purgecss")({ - content: ["./**/*.svelte", "./src/template.html"], - extractors: [ - { - extractor: PurgeSvelte, - - // Specify the file extensions to include when scanning for - // class names. - extensions: ["svelte", "html"] - } - ], - // Whitelist selectors to stop Purgecss from removing them from your CSS. - whitelist: [] - }), - !dev && require("cssnano") - ].filter(Boolean); + return [ + require("postcss-import")(), + require("postcss-url")(), + require("postcss-nested"), + require("tailwindcss")("./tailwind.config.js"), + require("autoprefixer")(), + // Do not purge the CSS in dev mode to be able to play with classes in the browser dev-tools. + purgecss && + require("@fullhuman/postcss-purgecss")({ + content: ["./**/*.svelte", "./src/template.html"], + defaultExtractor: (content) => content.match(/[\w-/.:]+(? 0.25%, not dead" - } - ] - ], - plugins: [ - "@babel/plugin-syntax-dynamic-import", - [ - "@babel/plugin-transform-runtime", - { - useESModules: true - } - ] - ] - }), + legacy && + babel({ + extensions: [".js", ".mjs", ".html", ".svelte"], + runtimeHelpers: true, + exclude: ["node_modules/@babel/**"], + presets: [ + [ + "@babel/preset-env", + { + targets: "> 0.25%, not dead", + }, + ], + ], + plugins: [ + "@babel/plugin-syntax-dynamic-import", + [ + "@babel/plugin-transform-runtime", + { + useESModules: true, + }, + ], + ], + }), - !dev && - terser({ - module: true - }) - ], - onwarn - }, + !dev && + terser({ + module: true, + }), + ], + onwarn, + }, - server: { - input: config.server.input(), - output: config.server.output(), - plugins: [ - replace({ - "process.browser": false, - "process.env.NODE_ENV": JSON.stringify(mode) - }), - svelte({ - generate: "ssr", - dev, - preprocess - }), - resolve({ - dedupe - }), - commonjs(), - postcss({ - plugins: postcssPlugins(!dev), - extract: path.resolve(__dirname, "./static/global.css") - }) - ], - external: Object.keys(pkg.dependencies).concat( - require("module").builtinModules || - Object.keys(process.binding("natives")) - ), - onwarn - } + server: { + input: config.server.input(), + output: config.server.output(), + plugins: [ + replace({ + "process.browser": false, + "process.env.NODE_ENV": JSON.stringify(mode), + }), + svelte({ + generate: "ssr", + dev, + preprocess, + }), + resolve({ + dedupe, + }), + commonjs(), + postcss({ + plugins: postcssPlugins(!dev), + extract: path.resolve(__dirname, "./static/global.css"), + }), + ], + external: Object.keys(pkg.dependencies).concat( + require("module").builtinModules || + Object.keys(process.binding("natives")) + ), + onwarn, + }, - // serviceworker: { - // input: config.serviceworker.input(), - // output: config.serviceworker.output(), - // plugins: [ - // resolve(), - // replace({ - // "process.browser": true, - // "process.env.NODE_ENV": JSON.stringify(mode) - // }), - // commonjs(), - // !dev && terser() - // ], - // onwarn - // } + // serviceworker: { + // input: config.serviceworker.input(), + // output: config.serviceworker.output(), + // plugins: [ + // resolve(), + // replace({ + // "process.browser": true, + // "process.env.NODE_ENV": JSON.stringify(mode) + // }), + // commonjs(), + // !dev && terser() + // ], + // onwarn + // } }; diff --git a/src/base.css b/src/base.css index 67ed9d6..4442723 100644 --- a/src/base.css +++ b/src/base.css @@ -1,34 +1,33 @@ -/* FONTS */ -@import "../static/fonts/source-sans-pro/source-sans-pro.css"; -@import "../static/fonts/source-serif-pro/source-serif-pro.css"; - /* BASE STYLES */ html { - @apply antialiased text-center text-base text-gray-500; - font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + @apply antialiased text-center text-base text-gray-500; } /* For About, Contact */ section { - @apply px-4; + @apply px-4 py-12; - h1 { - @apply m-auto text-5xl text-gray-800 font-bold uppercase; - } + h1 { + @apply m-auto text-3xl text-gray-800 font-bold uppercase; - .spacer { - width: 100px; - height: 2px; - @apply block mx-auto bg-orange-500 my-6 border-none; + @screen md { + @apply text-5xl; } + } - p { - @apply text-gray-700; + .spacer { + width: 100px; + height: 2px; + @apply block mx-auto bg-orange-500 my-6 border-none; + } + + p { + @apply text-gray-700; - a { - @apply text-orange-500; - } + a { + @apply text-orange-500; } + } img { @apply inline-block; diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 9730794..7cafb1e 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,16 +1,27 @@ diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index c804ab1..ce95f63 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -1,5 +1,28 @@ -