chore: dedicated post nav

This commit is contained in:
Cory Dransfeldt 2024-05-29 20:47:22 -07:00
parent d9624ece0d
commit 753ceb8be4
No known key found for this signature in database
5 changed files with 20 additions and 17 deletions

18
package-lock.json generated
View file

@ -1,17 +1,17 @@
{
"name": "coryd.dev",
"version": "17.6.2",
"version": "17.6.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "17.6.2",
"version": "17.6.4",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.4.0",
"@cdransf/select-pagination": "^1.3.1",
"@cdransf/theme-toggle": "^1.3.1",
"@cdransf/theme-toggle": "^1.3.2",
"@daviddarnes/mastodon-post": "^1.3.0",
"@zachleat/webcare-webshare": "^1.0.3",
"minisearch": "^6.3.0",
@ -1125,9 +1125,9 @@
"integrity": "sha512-zwBWlX7V6SXlUe9TkJblZF44+2agHRCaCnG/v+Q2Bcgf2DhOQI4qiMOoNBsr09TpkKvQENOqwT2kOycszBcJtA=="
},
"node_modules/@cdransf/theme-toggle": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@cdransf/theme-toggle/-/theme-toggle-1.3.1.tgz",
"integrity": "sha512-GmL7sDTiReW0CygnG5sJOW0hx9+yic2WRiWvWSNa7buTOskZ9zCG/lrtuMUxIQCDd5DIE2KR/xX8F6BSHIsCFA=="
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@cdransf/theme-toggle/-/theme-toggle-1.3.2.tgz",
"integrity": "sha512-xjsqvMT9Ee2+IDGeLSG31I0yh2Ebd4QqRfPEVn/VLk7BPB44ONj5f600z2Lor7WHfOmRg7L/bWvwWpPmgUAZ4w=="
},
"node_modules/@daviddarnes/mastodon-post": {
"version": "1.3.0",
@ -3124,9 +3124,9 @@
"dev": true
},
"node_modules/electron-to-chromium": {
"version": "1.4.784",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.784.tgz",
"integrity": "sha512-9CZwh+sDrhDAeOEFh8s3PqwduzTyYIeYwZolc1b9ENAUt3ePu7R1sJSCWr/820ISssRxCJUyHI9Wb7j+0Uo1AA==",
"version": "1.4.785",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.785.tgz",
"integrity": "sha512-V94FSLwW6V1JYeYT/pl23zIdwiAbeod7gBjyud2uhuWTa2yV3gZ4IaWt6l0t808y4l6NwOspyR5hiENGrYQqvA==",
"dev": true
},
"node_modules/encodeurl": {

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "17.6.2",
"version": "17.6.4",
"description": "The source for my personal site. Built using 11ty.",
"type": "module",
"scripts": {
@ -23,7 +23,7 @@
"dependencies": {
"@cdransf/api-text": "^1.4.0",
"@cdransf/select-pagination": "^1.3.1",
"@cdransf/theme-toggle": "^1.3.1",
"@cdransf/theme-toggle": "^1.3.2",
"@daviddarnes/mastodon-post": "^1.3.0",
"@zachleat/webcare-webshare": "^1.0.3",
"minisearch": "^6.3.0",

View file

@ -8,6 +8,7 @@ export default async function () {
{ name: 'Speedlify' },
],
menu: [
{ name: 'Posts', url: '/posts', icon: 'article'},
{ name: 'Music', url: '/music', icon: 'headphones' },
{ name: 'Watching', url: '/watching', icon: 'device-tv' },
{ name: 'Books', url: '/books', icon: 'books' },

View file

@ -338,9 +338,10 @@ nav .active svg {
.headphones svg { stroke: var(--brand-music) !important; }
.device-tv svg { stroke: var(--brand-tv) !important; }
.books svg { stroke: var(--brand-books) !important; }
.link svg { stroke: var(--brand-links) !important; }
.info-square svg { stroke: var(--brand-about) !important }
.search svg { stroke: var(--brand-search) !important }
.article svg { stroke: var(--posts) !important }
.link svg { stroke: var(--links) !important; }
.info-square svg { stroke: var(--about) !important }
.search svg { stroke: var(--search) !important }
.news svg { stroke: var(--brand-instapaper) !important; }
.coffee svg { stroke: var(--brand-buy-me-a-coffee) !important; }
.heart-handshake svg { stroke: var(--webrings) !important; }

View file

@ -51,12 +51,13 @@
--brand-music: #1e90ff;
--brand-tv: #ff4500;
--brand-books: #32cd32;
--brand-links: #9370db;
--brand-about: #ff6347;
--brand-search: #4682b4;
--brand-instapaper: var(--text-color);
--brand-buy-me-a-coffee: #40dca5;
--brand-rss: #f26522;
--posts: #008080;
--links: #9370db;
--about: #ff6347;
--search: #4682b4;
--webrings: #da70d6;
--moon: #6a5acd;
--sun: #ffa500;