Commit graph

52 commits

Author SHA1 Message Date
a63714304b Add style for search input clear
Styling overrides for the clear button present in some browsers for input="search"
2021-12-28 20:27:05 +01:00
Victor Westerlund
9413b2ac4e
Fix error page link 2021-12-28 01:11:09 +01:00
0cd5d11cd8 Squashed commit of the following:
commit 17b429555fceefc9c3500ddee4da8c6902d9674a
Author: Victor Westerlund <victor.vesterlund@gmail.com>
Date:   Tue Dec 28 01:00:11 2021 +0100

    Optimize assets and pages

commit c05e4bb5eabd9ef2b96eccb347cc0399cb6869f8
Author: Victor Westerlund <victor@victorwesterlund.com>
Date:   Tue Dec 14 18:06:52 2021 +0100

    Add noopener link type

    Prevents Spotify from accessing the window object of victorwesterlund.com.
    I think sending the referrer header is fine so noreferrer is not needed

commit cc3cca09ac02cc0bf45204bbe52dcc20ee10a2eb
Author: Victor Westerlund <victor.vesterlund@gmail.com>
Date:   Sun Dec 12 15:56:05 2021 +0100

    Add desktop style

    Added the desktop overrides as media queries for a mobile-first approach. Also added the "more" and "contact" pages.

commit de6f30a7c2525e5bb7a31a55f11a40fc33347f85
Author: Victor Westerlund <victor.vesterlund@gmail.com>
Date:   Sun Dec 12 14:46:21 2021 +0100

    New content and CSS refactor

    Content template for "more" and major CSS refactor
2021-12-28 01:01:26 +01:00
9526e7bf52 Core functions compartmentalized 2021-12-01 17:07:47 +01:00
Victor Westerlund
b08169fe88
Remove CSS property
Turns out it wasn't needed after all
2021-11-04 23:12:08 +01:00
Victor Westerlund
24b35e36fd
Fix CSS property typo 2021-11-04 12:54:26 +01:00
Victor Westerlund
54da8f9be2
Add back-end core and "search" feature (#20)
Soft initial release of API core and "search" feature.
2021-11-03 11:10:50 +01:00
Victor Westerlund
d5ea7961fe
Removed font-display 2021-10-26 23:55:18 +02:00
4aa37dd129 Optimized webfonts
- Replaced ancient TTF fallback with less ancient WOFF fallback
- WOFF2 and WOFF fonts are now dehinted and subsetted
- Added CSS `format()` function to font-faces
- Added font-display rule
2021-10-26 16:55:53 +02:00
04ccab7927 Removed offset script
It kinda looks like it; but the main content is actually not offset from the center.
2021-09-21 09:00:24 +02:00
88414d897b
Version 10.0 ("Nano") (#18)
* Minimalist

Got rid of (almost) everything. Bloat sinks the goat.

* Fixed content offset

- Added offset calculator
- Added some media queries
2021-09-20 16:52:24 +02:00
68f064ba23
Fixed SyntaxError
Added missing arrow to arrow function for ServiceWorker uninstaller.
`Uncaught SyntaxError: missing ) after argument list`
2021-09-20 14:34:45 +02:00
a457357583
Added ServiceWorker uninstaller
Added code snippet to uninstall existing ServiceWorkers.
As stated in PR #17 "The ServiceWorker present in version 8 has not been ported".
2021-09-20 14:31:19 +02:00
5c07d93535
Version 9.0 (#17)
Release of version 9.0.0
2021-09-20 11:37:36 +02:00
6645f2b672 Restored public/ 2021-08-06 14:07:35 +02:00
52b8945086 Renamed public/ to docs/
Renamed the folder `public/` to make it usable with GH Pages only non-root directory.
2021-08-06 13:42:42 +02:00
bfa9babb35 Added theme color change listener 2021-06-03 13:47:15 +02:00
d4f1438878 Style updates 2021-06-03 13:14:33 +02:00
e47a0229f9 Compartmentalized and updated assets
- NETWATCH 404 pages removed - time for something new
- Compartmentalized CSS fonts and JS script files
- Streamlined cache manifest for ServiceWorker
- Added AVIF images, replaced PNG fallback with WebP fallback
- Changed favicon color
2021-06-03 10:59:43 +02:00
4a51f0de16
Bump ServiceWorker version 2021-05-13 19:52:14 +02:00
e01c74e4dc
Added anchor element ping attributes 2021-05-13 19:37:33 +02:00
77dee86e80
Create style.min.css
Added minified style from "peterbe/minimalcss-website"
2021-03-16 23:57:35 +01:00
19cdb3d686 Added robots.txt and sitemap.xml
Moved robots.txt into public folder

Added sitemap.xml
2021-02-17 00:23:19 +01:00
d7317b9e98 Bumped version nr. 2021-02-09 07:54:44 +01:00
ea94b7768c Added bg pattern, updated greeting text
New dot matrix pattern multiplied with the pattern.gif image.

Added a more colorful greeting text.

Removed redundant indentation of JS
2021-02-09 07:54:00 +01:00
4d74cc4607 Removed script file import
Combined both script.js and legacy.js into a single <script> tag on index.html.

The page uses less than 15 sloc of JS excluding the Service Worker.
2021-01-31 12:56:28 +01:00
a13b86765b
Bumped version 2021-01-22 19:56:35 +01:00
5b379e758d
Fixed #14 2021-01-22 19:53:38 +01:00
16d84e2840 Removed rouge console.log from SW 2021-01-01 22:56:33 +01:00
af9fbba1e4 Update PAGE_NOT_FOUND.html 2020-12-21 09:45:47 +01:00
f82f04241d Added NetWatch icon to error page
Added NetWatch icon to error page.

Added fixed min-width to NetWatch logo header.
2020-12-21 09:43:51 +01:00
922262daf3 WOMM fix #1 2020-12-21 08:52:31 +01:00
775179ddf8 Added Cyberpunk 2077 inspired cursor to error page 2020-12-21 08:45:58 +01:00
de4fbcfdaf Added Cyberpunk 2077 inspired 404-page 2020-12-21 08:28:02 +01:00
870920f83f Delete test directory 2020-12-15 14:50:02 +01:00
1e762a65ea Removed caching of subdirectories
Subdirectories with the exception of /assets/ will not get cached by the Service Worker. A normal network fetch() will be executed.

Added scope to Service Worker register.

Added "fetchContent()" which performs a normal network fetch() and follows redirects.
2020-12-15 14:46:41 +01:00
Victor Westerlund
4a181e15e9
Closes #7 (#9)
* dev-12140843

* dev-12140844

* Update sw.js

* Update not_found.html

* Update sw.js
2020-12-14 09:00:04 +01:00
c6e4eab25f Removed joining "/" between origin and cache root 2020-12-14 08:18:30 +01:00
a81fc8f212 Corrected SW root path
Corrected path for production.

Removed "offline.txt" from cache.
2020-12-14 08:11:26 +01:00
a2f002dcad Added Service Worker for offline caching
Removed Google Analytics script.
2020-12-14 08:01:37 +01:00
a4eae3ec05 Merge branch 'master' into feature/sw 2020-12-14 07:34:29 +01:00
ea119b44eb Replaced GA tracking script with GTM 2020-12-11 12:58:46 +01:00
988ee48500 Added GA tracking script 2020-12-11 12:46:31 +01:00
9a2e937f1b Update sw.js 2020-12-09 08:08:54 +01:00
e8dd97a291 Added pattern.gif "redirect" with SW
Added placeholder 'pattern.php' script.

SW:
Added uniform version control.
'handleRequest()' is now 'fetchContent()' and automatically saves response to 'bucket' Cahce Storage (removed between SW versions)

Added uniform same-origin check with 'const origin'.

Fixed issue where "cache lookup -> fetch fallback" wouldn't actually load content from cache.
2020-12-07 07:27:40 +01:00
e30593f849 dev12060537 - ServiceWorker basic boilerplate
Added a boilerplate for a offline-first sw.

Need to add support for non-standard same-origin assets
2020-12-06 05:38:36 +01:00
3a43d9d773 Added link to PGP Key
Added download link to PGP Key on GCS.

Added EOD line breaks.
2020-12-05 03:26:50 +01:00
26ec726238 0.2.0 Pre-Release
Added intro text and replaced "Programming languages" with an email address instead. I feel that "exposing" my languges as some sort of trophy is a bit bold.

Got rid of the contact page "nav" for now. Altough the only thing I want to add besides e-mail is a PGP-key; I might go about it another way.

More love should be put into the responsivness of this page, especially the "not_found.html" style.

Not to mention Service Workers..
2020-11-30 07:14:18 +01:00
83223d66a8 1.0.0-dev11292157
Added NGINX server.conf and 404/403 error pages.

Changed default logo size to use 'em' units instead of 'vw'
2020-11-29 21:59:57 +01:00
a845af4b3f 1.0.0_dev-11260212 2020-11-26 02:12:33 +01:00