From cf76efefe82b3688c8d6b8ad9f1198ac9263baa1 Mon Sep 17 00:00:00 2001 From: David Wood Date: Wed, 5 Jun 2024 11:57:06 +0100 Subject: [PATCH] Remove all the links from website. --- web/lib/favicon.nix | 3 +- web/src/content/images/bluesky.svg | 1 - web/src/content/images/cohost.svg | 7 - web/src/content/images/cv.svg | 3 - web/src/content/images/discord.svg | 3 - web/src/content/images/email.svg | 3 - web/src/content/images/gitee.svg | 3 - web/src/content/images/gitlab.svg | 3 - web/src/content/images/huawei.svg | 3 - web/src/content/images/instagram.svg | 3 - web/src/content/images/keybase.svg | 3 - web/src/content/images/rust.svg | 3 - web/src/content/images/sourcehut.svg | 3 - web/src/content/images/steam.svg | 3 - web/src/content/images/telegram-qr.svg | 472 ------------- web/src/content/images/telegram.svg | 3 - web/src/content/images/twitch.svg | 3 - web/src/content/images/wechat-qr.svg | 934 ------------------------- web/src/content/images/wechat.svg | 3 - web/src/content/images/zulip.svg | 3 - web/src/content/index.md | 59 +- web/src/css/site.css | 15 +- web/src/default.nix | 8 +- web/src/templates/index.html | 1 - 24 files changed, 23 insertions(+), 1522 deletions(-) delete mode 100644 web/src/content/images/bluesky.svg delete mode 100644 web/src/content/images/cohost.svg delete mode 100644 web/src/content/images/cv.svg delete mode 100644 web/src/content/images/discord.svg delete mode 100644 web/src/content/images/email.svg delete mode 100644 web/src/content/images/gitee.svg delete mode 100644 web/src/content/images/gitlab.svg delete mode 100644 web/src/content/images/huawei.svg delete mode 100644 web/src/content/images/instagram.svg delete mode 100644 web/src/content/images/keybase.svg delete mode 100644 web/src/content/images/rust.svg delete mode 100644 web/src/content/images/sourcehut.svg delete mode 100644 web/src/content/images/steam.svg delete mode 100644 web/src/content/images/telegram-qr.svg delete mode 100644 web/src/content/images/telegram.svg delete mode 100644 web/src/content/images/twitch.svg delete mode 100644 web/src/content/images/wechat-qr.svg delete mode 100644 web/src/content/images/wechat.svg delete mode 100644 web/src/content/images/zulip.svg diff --git a/web/lib/favicon.nix b/web/lib/favicon.nix index 188c9d0..af9fb37 100644 --- a/web/lib/favicon.nix +++ b/web/lib/favicon.nix @@ -27,7 +27,6 @@ let { name = "favicon"; size = "16x16"; type = "png"; } { name = "android-chrome"; size = "192x192"; type = "png"; } { name = "mstile"; size = "70x70"; type = "png"; } - { name = "mstile"; size = "144x144"; type = "png"; } { name = "mstile"; size = "150x150"; type = "png"; } { name = "mstile"; size = "310x150"; type = "png"; } { name = "mstile"; size = "310x310"; type = "png"; } @@ -42,7 +41,7 @@ let mkManifestData = sizes: extraManifestData: let mkIcon = defn: - { type = "image/png"; sizes = defn.size; src = "favicons/${defn.name}-${defn.size}.png"; }; + { type = "image/png"; sizes = defn.size; src = "/favicons/${defn.name}-${defn.size}.png"; }; in pkgs.writeText "site-manifest.json" (builtins.toJSON ( { icons = builtins.map mkIcon sizes; } // extraManifestData diff --git a/web/src/content/images/bluesky.svg b/web/src/content/images/bluesky.svg deleted file mode 100644 index ce0126e..0000000 --- a/web/src/content/images/bluesky.svg +++ /dev/null @@ -1 +0,0 @@ -Bluesky \ No newline at end of file diff --git a/web/src/content/images/cohost.svg b/web/src/content/images/cohost.svg deleted file mode 100644 index 9fdd002..0000000 --- a/web/src/content/images/cohost.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/web/src/content/images/cv.svg b/web/src/content/images/cv.svg deleted file mode 100644 index 779e021..0000000 --- a/web/src/content/images/cv.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/discord.svg b/web/src/content/images/discord.svg deleted file mode 100644 index 56c478d..0000000 --- a/web/src/content/images/discord.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/email.svg b/web/src/content/images/email.svg deleted file mode 100644 index d57baa4..0000000 --- a/web/src/content/images/email.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/gitee.svg b/web/src/content/images/gitee.svg deleted file mode 100644 index 0d5fc2c..0000000 --- a/web/src/content/images/gitee.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/gitlab.svg b/web/src/content/images/gitlab.svg deleted file mode 100644 index 0fc5446..0000000 --- a/web/src/content/images/gitlab.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/huawei.svg b/web/src/content/images/huawei.svg deleted file mode 100644 index 65d9027..0000000 --- a/web/src/content/images/huawei.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/instagram.svg b/web/src/content/images/instagram.svg deleted file mode 100644 index c678dcf..0000000 --- a/web/src/content/images/instagram.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/keybase.svg b/web/src/content/images/keybase.svg deleted file mode 100644 index a13b956..0000000 --- a/web/src/content/images/keybase.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/rust.svg b/web/src/content/images/rust.svg deleted file mode 100644 index aa3d359..0000000 --- a/web/src/content/images/rust.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/sourcehut.svg b/web/src/content/images/sourcehut.svg deleted file mode 100644 index 34e186d..0000000 --- a/web/src/content/images/sourcehut.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/steam.svg b/web/src/content/images/steam.svg deleted file mode 100644 index cb2db1a..0000000 --- a/web/src/content/images/steam.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/telegram-qr.svg b/web/src/content/images/telegram-qr.svg deleted file mode 100644 index e777c92..0000000 --- a/web/src/content/images/telegram-qr.svg +++ /dev/null @@ -1,472 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/web/src/content/images/telegram.svg b/web/src/content/images/telegram.svg deleted file mode 100644 index 8c781e5..0000000 --- a/web/src/content/images/telegram.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/twitch.svg b/web/src/content/images/twitch.svg deleted file mode 100644 index c67e286..0000000 --- a/web/src/content/images/twitch.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/wechat-qr.svg b/web/src/content/images/wechat-qr.svg deleted file mode 100644 index 4665e01..0000000 --- a/web/src/content/images/wechat-qr.svg +++ /dev/null @@ -1,934 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/web/src/content/images/wechat.svg b/web/src/content/images/wechat.svg deleted file mode 100644 index 8fa3ac9..0000000 --- a/web/src/content/images/wechat.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/images/zulip.svg b/web/src/content/images/zulip.svg deleted file mode 100644 index d98146f..0000000 --- a/web/src/content/images/zulip.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/web/src/content/index.md b/web/src/content/index.md index 68b33d6..6e6deef 100644 --- a/web/src/content/index.md +++ b/web/src/content/index.md @@ -2,63 +2,21 @@ template: index.html title: David Wood links: - - name: curriculum vitae - image: /images/cv.svg - link: /curriculum_vitae.pdf - - name: hello@davidtw.co - image: /images/email.svg - link: mailto:hello@davidtw.co - - name: github + - name: GitHub image: /images/github.svg link: https://github.com/davidtwco - - name: gitlab - image: /images/gitlab.svg - link: https://gitlab.com/davidtwco - - name: gitee - image: /images/gitee.svg - link: https://gitee.com/davidtwco - - name: sourcehut - image: /images/sourcehut.svg - link: https://sr.ht/~davidtwco/ - - name: instagram - image: /images/instagram.svg - link: https://www.instagram.com/davidtwco/ - - name: twitter + - name: Twitter image: /images/twitter.svg link: https://www.twitter.com/davidtwco/ - - name: mastodon + - name: Mastodon image: /images/mastodon.svg link: https://fosstodon.org/\@davidtwco - - name: substack + - name: Substack image: /images/substack.svg link: https://www.substack.com/\@davidtwco/ - - name: bluesky - image: /images/bluesky.svg - link: https://bsky.app/profile/davidtw.co - - name: cohost - image: /images/cohost.svg - link: https://cohost.org/davidtwco - - name: linkedin + - name: LinkedIn image: /images/linkedin.svg link: https://www.linkedin.com/in/davidtwco/ - - name: keybase - image: /images/keybase.svg - link: https://www.keybase.io/davidtwco/ - - name: steam - image: /images/steam.svg - link: https://steamcommunity.com/id/davidtwco/ - - name: discord - image: /images/discord.svg - link: https://discord.com/users/104895277856501760 - - name: twitch - image: /images/twitch.svg - link: https://twitch.com/davidtwco - - name: telegram - image: /images/telegram.svg - link: https://www.telegram.me/davidtwco/ - - name: wechat - image: /images/wechat.svg - link: https://u.wechat.com/kH8vC2tkkqVRj2oTMVJyy4Q --- ![](/images/logo.png#logo) @@ -66,8 +24,11 @@ links: I'm a software engineer from Scotland, with an interest in systems and open source software. I'm currently working in the [Programming Languages Lab at Huawei R&D][huawei] in Edinburgh and I'm co-lead of the [Rust compiler team][compiler_team]. I write at -[Borrowed][borrowed]. +[Borrowed][borrowed]. Feel free to shoot me an email at [`hello@davidtw.co`][email] or check +out my [curriculum vitae][cv]. [borrowed]: https://borrowed.dev -[huawei]: https://www.huawei.com/uk/corporate-information/research-development [compiler_team]: https://www.rust-lang.org/governance/teams/compiler +[cv]: https://davidtw.co/cv.pdf +[email]: mailto:hello@davidtw.co +[huawei]: https://www.huawei.com/uk/corporate-information/research-development diff --git a/web/src/css/site.css b/web/src/css/site.css index e8d0b84..1b25f63 100644 --- a/web/src/css/site.css +++ b/web/src/css/site.css @@ -52,13 +52,13 @@ img[src$='#logo'] { @media(min-width: 600px) { body { - grid-template-columns: 0.25fr minmax(0, 1fr) 0.25fr; + grid-template-columns: 0.15fr minmax(0, 1fr) 0.15fr; } } @media(min-width: 1000px) { body { - grid-template-columns: repeat(3, minmax(0, 1fr)); + grid-template-columns: 0.25fr minmax(0, 1fr) 0.25fr; } } @@ -69,24 +69,25 @@ img[src$='#logo'] { } #content { - grid-row: 1; + grid-row: 2; } #links { - grid-row: 2; + grid-row: 3; margin-top: 1em; } .item { - margin-bottom: 1em; + display: inline-block; font-size: 1rem; + margin-left: 0.5em; + margin-right: 0.5em; } .item img { - margin-right: 1em; filter: invert(72%) sepia(1%) saturate(0%) hue-rotate(322deg) brightness(86%) contrast(91%); } .item a { color: #9b9b9b; -} \ No newline at end of file +} diff --git a/web/src/default.nix b/web/src/default.nix index cea5a40..6309a91 100644 --- a/web/src/default.nix +++ b/web/src/default.nix @@ -7,10 +7,10 @@ let - - - - + + + + #141414 diff --git a/web/src/templates/index.html b/web/src/templates/index.html index ebb68f3..b998924 100644 --- a/web/src/templates/index.html +++ b/web/src/templates/index.html @@ -14,7 +14,6 @@ {% endfor %}