diff --git a/src/components/MusicPlayer.astro b/src/components/MusicPlayer.astro index e2d2fe2..17c53d7 100644 --- a/src/components/MusicPlayer.astro +++ b/src/components/MusicPlayer.astro @@ -22,11 +22,7 @@ const hero = lb.nowPlaying ?? lb.recentTracks[0] ?? null; ---
-
- - - -
+
{hero ? ( diff --git a/src/components/RecentPosts.astro b/src/components/RecentPosts.astro index 0aa2a82..adcaa05 100644 --- a/src/components/RecentPosts.astro +++ b/src/components/RecentPosts.astro @@ -115,6 +115,17 @@ const fmtDate = (d: Date) => background-color: var(--bg-surface-hover); } + @media (max-width: 600px) { + .post-link { + grid-template-columns: 1fr; + gap: var(--space-3); + } + + .post-thumb { + aspect-ratio: 16 / 9; + } + } + .thumb-img { width: 100%; height: 100%; diff --git a/src/config/theme.ts b/src/config/theme.ts index c3af65e..ca5309a 100644 --- a/src/config/theme.ts +++ b/src/config/theme.ts @@ -178,10 +178,10 @@ const theme: ThemeConfig = { }, radius: { - sm: "0.375rem", - md: "0.5rem", - lg: "0.75rem", - full: "9999px", + sm: "0", + md: "0", + lg: "0", + full: "0", }, typography: { diff --git a/src/data/repos.json b/src/data/repos.json index ef04f49..785e7b5 100644 --- a/src/data/repos.json +++ b/src/data/repos.json @@ -2,73 +2,95 @@ { "name": "Profile-Readme-WakaTime", "owner": "avinal", - "description": "Generate coding activity graph tracked by WakaTime to embed in Readme(s) and webpages.", + "description": "Generate coding activity graph tracked by WakaTime to embed in Readme(s) and webpages. 90+ stars, 500+ active users worldwide.", "url": "https://github.com/avinal/Profile-Readme-WakaTime", - "stars": 86, - "forks": 30, + "stars": 91, + "forks": 43, "languages": [ { "name": "Python", "color": "#3572A5" }, { "name": "Shell", "color": "#89e051" } ] }, { - "name": "builds", - "owner": "shipwright-io", - "description": "Shipwright - a framework for building container images on Kubernetes.", - "url": "https://github.com/shipwright-io/builds", - "stars": 550, - "forks": 110, + "name": "resume", + "owner": "avinal", + "description": "Compact and minimal LaTeX resume template with custom commands, XeLaTeX support, and Roboto fonts. 76 stars.", + "url": "https://github.com/avinal/resume", + "stars": 76, + "forks": 29, + "languages": [ + { "name": "TeX", "color": "#3D6117" } + ] + }, + { + "name": "Blowfish", + "owner": "avinal", + "description": "C++ implementation of Blowfish and Blowfish 2 symmetric block cipher with tests and APIs. Drop-in replacement for DES or IDEA.", + "url": "https://github.com/avinal/blowfish", + "stars": 8, + "forks": 6, + "languages": [ + { "name": "C++", "color": "#f34b7d" }, + { "name": "CMake", "color": "#DA3434" } + ] + }, + { + "name": "memodav", + "owner": "avinal", + "description": "Bidirectional task sync between Memos and CalDAV. Write tasks in Memos, check them off in any CalDAV client.", + "url": "https://github.com/avinal/memodav", + "stars": 0, + "forks": 0, "languages": [ { "name": "Go", "color": "#00ADD8" }, { "name": "Shell", "color": "#89e051" } ] }, { - "name": "cmake-tutorial", + "name": "xeus-basic", "owner": "avinal", - "description": "A comprehensive guide to learning CMake — from basics to advanced packaging.", - "url": "https://github.com/avinal/cmake-tutorial", - "stars": 12, - "forks": 5, + "description": "Jupyter Kernel for the BASIC language built using the Xeus Framework, C, and C++. Run BASIC programs in Jupyter Notebook.", + "url": "https://github.com/avinal/xeus-basic", + "stars": 1, + "forks": 2, + "languages": [ + { "name": "C", "color": "#555555" }, + { "name": "C++", "color": "#f34b7d" } + ] + }, + { + "name": "badger2040-boilerplate", + "owner": "avinal", + "description": "Boilerplate project for developing Badger 2040 C++ programs with Pimoroni libraries, Pico SDK, and devcontainer support.", + "url": "https://github.com/avinal/badger2040-boilerplate", + "stars": 6, + "forks": 0, "languages": [ { "name": "CMake", "color": "#DA3434" }, { "name": "C++", "color": "#f34b7d" } ] }, { - "name": "avinal.github.io", + "name": "The-Icosian-Game", "owner": "avinal", - "description": "Personal website and blog — built with Astro, minimal HTML & CSS.", - "url": "https://github.com/avinal/avinal.github.io", - "stars": 5, - "forks": 2, + "description": "Icosian Game developed from scratch in the JACK programming language (Nand2Tetris).", + "url": "https://github.com/avinal/The-Icosian-Game", + "stars": 1, + "forks": 0, "languages": [ - { "name": "Astro", "color": "#ff5a03" }, - { "name": "TypeScript", "color": "#3178c6" } + { "name": "JACK", "color": "#2c2c2c" } ] }, { - "name": "fossology", - "owner": "fossology", - "description": "Open source license compliance software system and toolkit.", - "url": "https://github.com/fossology/fossology", - "stars": 1100, - "forks": 500, - "languages": [ - { "name": "PHP", "color": "#4F5D95" }, - { "name": "C++", "color": "#f34b7d" } - ] - }, - { - "name": "dotfiles", + "name": "FITS-Image", "owner": "avinal", - "description": "My personal configuration files — Neovim, Zsh, Tmux, and more.", - "url": "https://github.com/avinal/dotfiles", - "stars": 3, - "forks": 1, + "description": "Extract images from FITS astronomy files using Boost.GIL and CFITSIO. Supports BITPIX 8, 16, and 32.", + "url": "https://github.com/avinal/FITS-Image", + "stars": 0, + "forks": 0, "languages": [ - { "name": "Shell", "color": "#89e051" }, - { "name": "Lua", "color": "#000080" } + { "name": "C++", "color": "#f34b7d" }, + { "name": "CMake", "color": "#DA3434" } ] } ] diff --git a/src/pages/posts/[category].astro b/src/pages/posts/[category].astro index f701232..2093aeb 100644 --- a/src/pages/posts/[category].astro +++ b/src/pages/posts/[category].astro @@ -243,10 +243,14 @@ const excerpt = (body?: string, len = 140) => { @media (max-width: 600px) { .post-row { - grid-template-columns: 100px 1fr; + grid-template-columns: 1fr; gap: var(--space-3); } + .post-thumb { + aspect-ratio: 16 / 9; + } + .post-title { font-size: var(--text-base); } diff --git a/src/pages/posts/index.astro b/src/pages/posts/index.astro index fc0808c..7d14cbe 100644 --- a/src/pages/posts/index.astro +++ b/src/pages/posts/index.astro @@ -212,10 +212,14 @@ const excerpt = (body?: string, len = 140) => { @media (max-width: 600px) { .post-row { - grid-template-columns: 100px 1fr; + grid-template-columns: 1fr; gap: var(--space-3); } + .post-thumb { + aspect-ratio: 16 / 9; + } + .post-title { font-size: var(--text-base); } diff --git a/src/styles/global.css b/src/styles/global.css index af72cdd..1fd80c0 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -415,7 +415,7 @@ font-weight: 600; color: white; background: var(--accent); - border-radius: 0 0 var(--radius-md) var(--radius-md); + border-radius: 0; text-decoration: none; transition: top var(--duration-fast) var(--ease-out); }