From 753ceb8be4ab8337de0f03e168ace6cbe40d4f07 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 29 May 2024 20:47:22 -0700 Subject: [PATCH] chore: dedicated post nav --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- src/_data/nav.js | 1 + src/assets/styles/base/index.css | 7 ++++--- src/assets/styles/defaults/vars.css | 7 ++++--- 5 files changed, 20 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08c1bc6b..17ebb82e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index 0648fe92..01360a25 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/_data/nav.js b/src/_data/nav.js index 0a3ca9b7..eca21f83 100644 --- a/src/_data/nav.js +++ b/src/_data/nav.js @@ -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' }, diff --git a/src/assets/styles/base/index.css b/src/assets/styles/base/index.css index 112451e2..d09ebc43 100644 --- a/src/assets/styles/base/index.css +++ b/src/assets/styles/base/index.css @@ -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; } diff --git a/src/assets/styles/defaults/vars.css b/src/assets/styles/defaults/vars.css index 78fdf0bd..7770936c 100644 --- a/src/assets/styles/defaults/vars.css +++ b/src/assets/styles/defaults/vars.css @@ -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;