Skip to content

Commit

Permalink
Merge pull request #774 from alexwlchan/remove-projects
Browse files Browse the repository at this point in the history
Remove the projects page; tighten up the homepage
  • Loading branch information
alexwlchan authored Apr 8, 2024
2 parents f9b580e + 41999e6 commit 5964a7d
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 700 deletions.
2 changes: 1 addition & 1 deletion scripts/linter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def check_netlify_redirects(dst_dir)

# ignore URL fragments when linting, the important thing is that
# pages don't 404
target = redirect[:target].split('#')[0]
target = redirect[:target].split('#')[0].split('?')[0]

lineno = redirect[:lineno]
line = redirect[:line]
Expand Down
6 changes: 6 additions & 0 deletions src/_includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
<span class="visually-hidden">email</span>
<span aria-hidden="true">{%- include footer/email.svg -%}</span></a>
</li>

<li>
<a href="https://books.alexwlchan.net">
<span class="visually-hidden">what I’m reading</span>
<span aria-hidden="true">{%- include footer/book.svg -%}</span></a>
</li>

<li>
<a id="footer_link--rss" href="https://alexwlchan.net/atom.xml">
Expand Down
16 changes: 16 additions & 0 deletions src/_includes/footer/book.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/_includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<h1><a href="/">alexwlchan</a></h1>

<ul class="dot_list">
<li><a href="/">about</a></li>
<li>
<a href="/">about</a>
</li>
<li>
<a
href="/articles/"
Expand All @@ -12,7 +14,6 @@ <h1><a href="/">alexwlchan</a></h1>
articles
</a>
</li>
<li><a href="/projects/">projects</a></li>
<li>
<a
href="/til/"
Expand Down
4 changes: 3 additions & 1 deletion src/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

/page/* /articles/

/talks /projects/#talks-and-workshops
/talks /articles/?tag=talks

/tag /410/ 410
/tag/ /410/ 410
Expand Down Expand Up @@ -1199,6 +1199,8 @@
# i.e. that you can delete bits off the end of the URL and still get
# somewhere useful.

/projects/ /410/ 410

/til/2024/ /til/
/til/2016/ /til/
/til/2013/ /til/
Expand Down
1 change: 1 addition & 0 deletions src/_scss/components/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ footer {
}

&[href="mailto:[email protected]"]:hover .background { fill: #0067B9; }
&[href="https://books.alexwlchan.net"]:hover .background { fill: #333; }
&[href="https://alexwlchan.net/atom.xml"]:hover .background { fill: #F99000; }
&[href="https://twitter.com/alexwlchan"]:hover .background { fill: #1DA1F2; }
&[href="https://social.alexwlchan.net/@alex"]:hover .background { fill: #563ACC; }
Expand Down
7 changes: 5 additions & 2 deletions src/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ title: Contact
nav_section: contact
---
I love it when people tell me they enjoyed something I made!
A nice message can make my day.
A nice message can make my day!

The best way to get in touch with me is by email: **<[email protected]>**.
(I'm bad at replying to emails in a timely manner, but I'm trying to get better!)

I use the handle **alexwlchan** fairly consistently on the rest of the web.
I'm pretty quiet on social media right now, but if you really want you can follow me there:
(This is a username my aunt suggested for my first Hotmail address in 2004, and I've stuck with it ever since.
The "w" and "l" are my middle initials, but I'm not going to tell you what they stand for.)

I'm pretty quiet on social media right now, but you can follow me there:

* GitHub: <https://github.com/alexwlchan/>
* Instagram: <https://www.instagram.com/alexwlchan/>
Expand Down
95 changes: 46 additions & 49 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,75 +7,74 @@ colors:
---

<style>
h2 {
margin-top: 1em;
}

@media screen and (min-width: 750px) {
img.rounded_corners {
border-radius: 10px;
}
main {
padding-top: calc(1.5 * var(--default-padding));
}

svg[role="separator"] {
display: block;
}
</style>

<p class="fullwidth_img">
{%
picture
filename="profile_green.jpg"
parent="/images"
width="750"
alt="A selfie! I’m smiling at the camera, wearing a green dress, and sitting in front of a large amount of green foliage. It’s a sunny day and shining both on the side of my face and the plants."
class="rounded_corners"
%}
</p>

## Hi, I'm Alex (or Lexie).

I'm a software developer with a particular interest in digital preservation.
I'm also a keen writer, crafter, theatre-goer, and occasional dancer.
img#headshot {
border-radius: 50%;
margin-left: var(--default-padding);
margin-bottom: var(--default-padding);
}

I've put a bunch of things on the Internet, including:
@media screen and (min-width: 500px) {
img#headshot {
float: right;
}
}

* [**My personal writing**](/articles/), which covers a range of topics, from programming to photography, from colour theory to Chinese dictionaries.
I've been writing at this domain for over a decade, and I post new articles several times a month.
@media screen and (max-width: 500px) {
img#headshot {
display: block;
margin-top: var(--default-padding);
margin-left: auto;
margin-right: auto;
}
}
</style>

* **A bunch of [open-source tools and utilities][oss]**.
I've contributed fixes and patches to dozens of projects, and I've shared a few of my own, including my tool for [managing my scanned files](https://github.com/alexwlchan/docstore) and a way to find the [dominant colours in an image](https://github.com/alexwlchan/dominant_colours).
**My name is _Alex Chan_, but I usually go by _Alex_ or _Lexie_. I'm a software developer, writer, and hand crafter from the UK.**

* **My work for the [Flickr Foundation](https://github.com/Flickr-Foundation) and [Wellcome Collection](/projects/#wellcome-collection)**, my current and previous employers.
I've worked on a number of different things, including a [unified catalogue search][search], a cloud-based [preservation storage service][storage], and [a toy for parsing Flickr URLs][flinumeratr].
{%
picture
filename="profile_green_square.jpg"
id="headshot"
parent="/images"
width="230"
alt="A selfie! I’m smiling at the camera, wearing a green dress, and sitting in front of a large amount of green foliage. It’s a sunny day and shining both on the side of my face and the plants."
class="rounded_corners"
%}

* [**Fun and amusing art projects**][fun_stuff], like measuring data [by shelf space in floppy disks](https://howlongismydata.glitch.me/), or controlling a rocket [with the &lt;marquee&gt; tag](https://marquee-rocket.glitch.me/).
I build systems for **digital preservation** -- making sure that digital archives remain safe and accessible into the far future.
Currently I think about photos at <a href="https://www.flickr.org">the Flickr Foundation</a>, and before that I helped build services to store and search the museum and library collections at <a href="https://wellcomecollection.org/">Wellcome Collection</a>.

When I'm not online, I can often be found with needle in hand, working on some cross-stitch or embroidery, or with shoes on feet, tapping away to a funky jazz number at a swing dance class.
I have two left feet, but what I lack in skill I make up for in enthusiasm.
I enjoy **writing**, and I've been posting at this domain since 2012.
I write about a variety of non-fiction topics, with a particular focus on software development.
If you want to know what's on my mind, check out [the articles I've written](/articles/), [the talks I've given](/articles/?tag=talks), and [the lessons I've learned](/til/).

I'm queer, trans, and I loosely describe as a genderfluid shapeshifter (which may mean more to me than anyone else).
My pronouns vary; on the web, either "they" or "she" are safe choices. 🏳️‍🌈
In my free time, I enjoy doing art and simple **hand crafts** to relax.
I've had a lot of fun doing [cross stitch](/articles/?tag=cross-stitch), origami and paper craft, and doodling sketches of implausible sci-fi vehicles.

This site is a one-stop shop for everything I've put online -- it's either here, or linked to from here.
If you're new, you might want to start with [my writing](/articles/) or [my list of projects](/projects/).
I'm **queer** and **trans**.
My pronouns are "they" or "she".

I hope you enjoy it.
This website is a place to share stuff I find interesting or fun.
I hope you like it!

[flinumeratr]: https://www.flickr.org/introducing-flinumeratr-our-first-toy/
[search]: https://stacks.wellcomecollection.org/building-our-new-unified-collections-search-ed399c412b01
[storage]: https://stacks.wellcomecollection.org/building-wellcome-collections-new-archival-storage-service-3f68ff21927e
[oss]: /projects/#personal-tools
[fun_stuff]: /projects/#fun-stuff


{% separator "leaf.svg" %}


## My writing

I write about anything I find interesting or fun – there’s plenty of programming, but lots of other stuff too.
Here are some of my favourites:
## Favourite articles

My [articles](/articles/) cover a variety of non-fiction topics.
Here are a few of my favourites:

{% assign featured_articles = site.posts | where: "index.feature", true %}
{% assign sample_of_articles = featured_articles | sample: 6 %}
Expand Down Expand Up @@ -107,8 +106,6 @@ Here are some of my favourites:
{% endfor %}
</ul>

If you want to read more, I've got [plenty to look at](/articles/).


{% separator "leaf.svg" %}

Expand Down
Loading

1 comment on commit 5964a7d

@alexwlchan
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://alexwlchan.net as production
🚀 Deployed on https://66133fc1a087c7281ae84bfa--alexwlchan.netlify.app

Please sign in to comment.