1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-23 02:01:20 -04:00
Commit Graph

153 Commits

Author SHA1 Message Date
b755b66d19 use preact for common components across site (#663)
* convert GitHub cards grid from lit-html to preact

* give hit counter the preact treatment

* extract loading spinner component to a shared location

* move *some* loading spinner styles to its JSX

* Update .percy.yml

* pick up images in JS w/ webpack

* pull star/fork icons straight from @primer/octicons

* a bit of cleanup

* check `typeof window !== "undefined"` before rendering

* bump misc. deps

* silence missing license warnings for preact-hooks and preact-compat

* add source-map-loader

* Update loading.js
2021-11-24 13:51:29 -05:00
2f56906cb8 innerText -> textContent & other modernized DOM methods 2021-11-02 08:50:17 -04:00
0b5c95ac42 some client-side validation on contact form
exactly identical errors to the one the server sends, but saves a few requests
2021-10-15 08:30:54 -04:00
e105e3f09a better PGP key link on contact page 2021-10-14 20:42:53 -04:00
3465f4aa04 link to /contact from homepage and PGP key from /contact 2021-10-14 08:45:18 -04:00
2106b3703d finally got myself a real contact form 📬 2021-10-14 08:12:40 -04:00
12db17b83c majorly refactor SCSS and pray nothing breaks 2021-09-29 09:42:36 -04:00
f42c5bd3bc clean up loading animation styles 2021-09-06 16:26:43 -04:00
b273bdbf99 add loading spinner to /projects 2021-07-31 10:15:33 -04:00
ac3fb5ae95 remove local-storage-fallback, bump other deps 2021-07-27 10:08:40 -04:00
e4d3e074fd lots of random cleanup & organization 2021-07-20 15:22:57 -04:00
363b4edf1c shift asset processing to webpack (#424)
also migrated SASS to latest syntax (via dart-sass) and vastly simplified light/dark theme logic
2021-06-19 17:19:01 -04:00
c02f3e7e9a disable Hugo aliases & move them to vercel.json 2021-06-13 09:23:11 -04:00
23debefee2 add babel / esbuild pipes via Hugo, remove terser 2021-06-05 08:35:57 -04:00
9505767f3d add /api/projects endpoint and /projects page with GH-style repo cards 2021-06-03 09:31:53 -04:00
3fa058ee76 finally remove every trace of AMP 🥳 (#415) 2021-06-01 07:52:49 -04:00
4bb5841ac1 remove frontend analytics 2021-06-01 07:47:11 -04:00
b4bec05098 restore tag lists above posts (not linked yet) 2021-05-31 20:57:58 -04:00
37807e008b add content-type and access-control headers to hit function response 2021-05-30 19:30:06 -04:00
cfc3334da7 super simple serverless hit counter for fun (#410) 2021-05-30 08:55:37 -04:00
468cc14d4b move dark mode script inline to avoid blinding flash of white background 2021-05-28 11:11:09 -04:00
298e8ed70f stop printing debug comments in production footer 2021-05-01 18:07:03 -04:00
1d6d6686b2 remove algolia search stuff from production for now 2021-04-03 09:46:12 -04:00
42355c76ec normalize font sizes 2021-04-03 07:46:13 -04:00
6ada1afd4a enable AMP on more layouts/pages 2020-11-08 11:12:21 -05:00
c8f5598452 add meta robots tag to deploy previews to make extra sure they aren't indexed 2020-10-18 10:50:43 -04:00
82d8888a29 Update baseof.html 2020-10-15 16:32:10 -04:00
9543aaa5b0 process SCSS @import rules with postcss-import 2020-10-03 19:24:27 -04:00
80c926c6f9 re-organize fonts, fix BLM header 2020-08-14 10:22:28 -04:00
0f9de4d350 strip any markdown in page titles from meta/social tags in head 2020-08-10 10:58:22 -04:00
9b5a29be7b fix AMP pixel (hopefully) 2020-08-08 08:03:22 -04:00
76b3a55efd switch simple analytics proxy to a netlify function 2020-08-08 00:13:07 -04:00
d764025fe7 fix AMP shortcode scripts 2020-08-01 11:58:30 -04:00
cdfbba108c playing with variable fonts some more 2020-07-23 13:03:00 -04:00
da1743cf2d add variable Inter fonts
current faces/files kept as a fallback. also switched to Google-hosted fonts on AMP pages (might as well...)
2020-07-22 16:19:24 -04:00
ea244a5372 update homepage 2020-07-16 15:02:26 -04:00
12b056f70b stop using <section> improperly 2020-07-14 08:41:18 -04:00
5123b8831a organize config.toml params, and stop treating frontmattered CSS as SCSS unnecessarily -- it appears to cause some weird race condition with temporary files every once in a while...? not the intended use anyways though. 2020-07-12 19:51:19 -04:00
725c482ba3 make sure config for Netlify functions is okay so far 😬
[skip ci]
2020-07-10 20:00:39 -04:00
48eea4ce98 fix style regressions (code was never actually using Hack font I think..?)
and allow default theme (light or dark) to be set in Hugo config and reflected in both HTML & JS
2020-07-07 10:07:46 -04:00
d970c031a5 run initial SCSS refactoring through percy 2020-07-07 08:57:26 -04:00
aa3973f570 adjust letter-spacing of bold Inter text 2020-07-05 12:13:11 -04:00
426e7d91f1 clean up styles & extend old browser support via autoprefixer/eslint 🧓🏻
and stop encoding emojis like a caveman
2020-07-04 19:29:18 -04:00
3cadddc799 go back to outlining inline code (single backticks) with light border
and make it possible to use code in post/page titles
2020-06-30 09:37:03 -04:00
45b23c45a3 link View Source in page/post footers to specific file on GitHub 2020-06-26 12:59:46 -04:00
f3198e0235 clean up a bunch of layouts, especially social-images function
also made even more config.toml parameters optional, will help when finally releasing theme
2020-06-25 10:35:59 -04:00
12f8bd8084 renamed default branch to main 2020-06-21 10:44:43 -04:00
b97f7a00de small changes to AMP CSS 2020-06-19 11:19:32 -04:00
ef16a9e3f9 merge changes from upstream analytics v3 script 2020-06-17 13:13:31 -04:00
0ad9d54347 remove HTML comments by default during minify 2020-05-14 20:51:49 -04:00