Commit graph

50 commits

Author SHA1 Message Date
Sofía Aritz 6ec64b6d15 Add language detection
Check `navigator.language` and suggest going to that language's page.

This JS file is not required for the page to run, and the notices can easily be disabled using the button that is alongside the notice.

The status if the redirect notice is saved in localStorage under the `i18n:no_redirect_notice` key.
2023-04-20 23:02:49 +02:00
Sofía Aritz 86f8ae2021 Extend canary and update the English contact page. 2023-04-13 20:07:29 +02:00
Sofía Aritz 7422b4d113 Remove dependency on Google Fonts
Thanks to the deployment of a Google Fonts binary mirror to my own CDN we can stop using Google Fonts.

Closes #3.
2023-04-13 00:19:45 +02:00
Sofía Aritz dbb43e25ba Update canary 2023-04-13 00:05:24 +02:00
Sofía Aritz 4a1c682d20 Move Nunjucks templates and Markdown files to the src/ folder 2023-03-29 19:36:44 +02:00
Sofía Aritz c3c82b8e5a Add English translation
Only the home and contact pages are translated right now.
2023-03-28 19:30:50 +02:00
Sofía Aritz 8876c53ecb Implement comments
Based on https://berglyd.net/blog/2023/03/mastodon-comments/

Scripts are loaded only on blog posts. DOMPurify comes from the 0.3.1 release (dist/ on their GitHub repo)
2023-03-17 00:41:51 +01:00
Sofía Aritz a4d6b3c3e7 Improve index page 2023-03-15 21:35:44 +01:00
Sofía Aritz d36d83e8ce Update canary
Looks like I didn't push the commit before starting the `11ty` branch, so I remade it.

/shrug
2023-03-13 22:11:37 +01:00
Sofía Aritz 87e7ed9ffd improve(note-taking-experiment): Wording and improve image quality 2023-03-12 17:16:33 +01:00
Sofía Aritz b7c712a633 Add alt text to some images 2023-03-12 15:41:53 +01:00
Sofía Aritz ba33e0e00c post: note taking experiment 2023-03-12 15:29:09 +01:00
Sofía Aritz ba9b759e53 Implement weblog
Missing RSS, comments and tags.
2023-03-12 13:57:29 +01:00
Sofía Aritz 2b63e27bfa Update contact page 2023-03-12 12:24:51 +01:00
Sofía Aritz 49ad1fe76e Add deploy script 2023-03-12 12:20:19 +01:00
Sofía Aritz f5426b1ff0 Change position of certain contact options 2023-03-12 12:10:43 +01:00
Sofía Aritz e342483f41 Fix a few nits 2023-03-12 01:31:06 +01:00
Sofía Aritz 413110898c Move away from Svelte. Use 11ty (#4)
Reviewed-on: https://codeberg.org/sofiaritz/website/pulls/4
2023-03-12 00:27:16 +00:00
Sofía Aritz 07e96cb9ed Add titles and favicon 2023-03-12 01:26:35 +01:00
Sofía Aritz 445ed938a5 Initial 11ty port
All the data from the previous website is now here.

The only thing missing now is integrating the weblog here.
2023-03-12 01:26:35 +01:00
Sofía Aritz 98d9f656e1 Prepare 11ty branch 2023-03-12 01:26:35 +01:00
Sofía Aritz 6edf6db2bd Update .gitignore 2023-03-12 00:12:00 +01:00
Sofía Aritz d6151d5ebc Update canary 2023-03-12 00:05:30 +01:00
Sofía Aritz 36163ae3ae s/Gitea/Forgejo and reduce priority of my Codeberg profile 2023-03-05 16:27:18 +01:00
Sofía Aritz 17a2371162 Update projects
Added "makdown cv" and "note taking" projects
2023-03-05 16:20:23 +01:00
Sofía Aritz 523496cadb Update canary 2023-03-01 23:26:31 +01:00
Sofía Aritz 4bbe5aa0a8 Add canary 2023-02-27 11:58:23 +01:00
Sofía Aritz e343c27699 Add webfinger 2023-02-27 11:33:33 +01:00
Sofía Aritz be2843223f Add rel="me" to Mastodon link 2023-02-22 23:05:05 +00:00
Sofía Aritz 02743fbc62 Make various texts more "professional" 2023-02-19 20:16:34 +01:00
Sofía Aritz 2ddde3bfaf Make presentation more formal 2023-02-19 20:07:56 +01:00
Sofía Aritz cbecbffe8e Improve navbar buttons contrast 2023-01-16 22:10:10 +01:00
Sofía Aritz d3503d28f6 Update contact page to add Matrix 2023-01-16 22:04:29 +01:00
Sofía Aritz 2e64b52d3c Update signed contact page 2023-01-15 04:16:34 +01:00
Sofía Aritz ed0b452457 Add Gitea link and temporarily remove weblog link 2023-01-15 04:14:36 +01:00
Sofía Aritz 5afc7f2d5d Add info about mirror 2023-01-14 21:02:58 +01:00
Sofía Aritz f3ed3c3d58 Use WebP instead of JPEG for background image 2023-01-11 01:02:31 +01:00
Sofía Aritz 086eb5deaa Remove weblog
See https://codeberg.org/sofiaritz/weblog
2023-01-09 23:31:03 +01:00
Sofía Aritz bbbc0c97b4 Remove Google Fonts dep
Closes #3
2023-01-08 21:42:22 +01:00
Sofía Aritz 828d2e0169 Add link to the website 2023-01-08 21:21:07 +01:00
Sofía Aritz 91b632ac2d Add initial support for post translation
- The `Post` component now accepts the props `lang` and `langs` that indicate which languages are supported and which language is that post.
- Posts now accept a `?lang` query param to ask for a specific lang
- If only one lang is supported, a link is created to a LibreTranslate endpoint that contains the post. Translation right now is done just from Spanish to English (though the user can choose other languages in the LibreTranslate UI)
- Added default notice for non-spanish posts about the fact that I'm not native and that grammar/wording issues can be reported on the Codeberg repo
2023-01-08 21:19:30 +01:00
Sofía Aritz 77739d387f Add code styling and improve loading size
- Added Jetbrains Mono font
- Added styling for `code` and `hr` tags
- Added `background.jpg` which is 409KB instead of the old `background.png`'s 4MB
2023-01-06 23:44:39 +01:00
Sofía Aritz f8cb32ba14 Add Mastodon link to index.html 2023-01-06 11:53:23 +01:00
Sofía Aritz 0908765939 Add rel="me" to Mastodon link 2023-01-06 11:50:37 +01:00
Sofía Aritz 717ad4ad3e Only show skeletons on special dates 2023-01-03 10:58:06 +01:00
Sofía Aritz cc2df74d62 Added skeletons 2023-01-03 03:26:50 +01:00
Sofía Aritz ed251ebf38 Add website to projects and add 404 page
- Added Codeberg project to Projects
- Added Not Found page
- Improved responsiveness of the navbar
2023-01-02 21:27:20 +01:00
Sofía Aritz a738f8c290 Add notice about ad-blockers 2023-01-02 03:12:58 +01:00
Sofía Aritz 1739b7337d Improve weblog and nits
- Improved weblog to allow longer posts!
- Renamed `blog` to `weblog`
- Improved some wording
- Change title on each page
- Renamed `feed.xml` to `feed.rss`
2023-01-02 03:05:38 +01:00
Sofía Aritz cce91e6649 Initial commit 2023-01-02 00:14:04 +01:00