Skip to content

Commit

Permalink
Merge pull request #18 from nblackburn/feature/nav-tweaks
Browse files Browse the repository at this point in the history
Nav tweaks
  • Loading branch information
nblackburn authored Oct 27, 2022
2 parents a0c7045 + 84e1a51 commit 09de9d5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 21 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nblackburn/website",
"private": true,
"version": "1.5.1",
"version": "1.5.2",
"scripts": {
"start": "astro dev",
"build": "astro build",
Expand All @@ -18,10 +18,10 @@
"prettier": "^2.7.1"
},
"dependencies": {
"@astrojs/image": "^0.10.0",
"@astrojs/image": "^0.11.0",
"@astrojs/vue": "^1.2.1",
"@fontsource/nunito-sans": "^4.5.10",
"astro": "^1.5.2",
"astro": "^1.6.0",
"astro-vanilla-extract": "^1.1.0",
"date-fns": "^2.29.3",
"sharp": ">=0.31.0",
Expand Down
10 changes: 7 additions & 3 deletions src/components/navLink.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ export const navLink = style({
textDecoration: 'none',
borderRadius: '9999px',
justifyContent: 'center',
border: `2px transparent solid`,
padding: `0.75rem ${sizes.small}`,
transition: 'border 0.2s ease-in-out',
border: `2px ${vars.colors.silverChalice} solid`,
selectors: {
'&:hover': {
borderColor: primaryAccent
borderColor: vars.colors.silverChalice
}
},
'@media': {
'(prefers-color-scheme: dark)': {
borderColor: vars.colors.eerieBlack
selectors: {
'&:hover': {
borderColor: vars.colors.eerieBlack
}
}
}
}
});
Expand Down
45 changes: 30 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ __metadata:
languageName: node
linkType: hard

"@astrojs/compiler@npm:^0.27.1":
version: 0.27.2
resolution: "@astrojs/compiler@npm:0.27.2"
checksum: 10e823c4c89e63414c4479f966ed2026f5f0c005d741668d4293d09de49a671946481405e1917f6e1c9f574a846993ac18ae4e6367a72b39d0712b0743d91b43
"@astrojs/compiler@npm:^0.28.0":
version: 0.28.1
resolution: "@astrojs/compiler@npm:0.28.1"
checksum: a8db586e24db7999c40c36bee9629c8fb6f5ce21788b0ed8508dd1217ba8905b19a8a4e444dcce4e5b885dfa384ffb997ec8fe0347751d5b8cfdaaf28aba5abf
languageName: node
linkType: hard

"@astrojs/image@npm:^0.10.0":
version: 0.10.0
resolution: "@astrojs/image@npm:0.10.0"
"@astrojs/image@npm:^0.11.0":
version: 0.11.0
resolution: "@astrojs/image@npm:0.11.0"
dependencies:
"@altano/tiny-async-pool": ^1.0.2
http-cache-semantics: ^4.1.0
Expand All @@ -52,7 +52,7 @@ __metadata:
peerDependenciesMeta:
sharp:
optional: true
checksum: 3c32b1662a1a0c54cce0a2e3d08da66639ba7c9a41980a397c058e5ca7856c08bcbfb5e8dc0940e6cb2e5b26621f2ea4b8bddd8f612693045e29a67c691547e5
checksum: 1b3ec3ed2e54844b0c88d03184c86d747c70bc8311dbf43b36969790426859b89490a3b85e45b2ac04379cdd44f6e36cf156160ca5bde0a97322884041566fbc
languageName: node
linkType: hard

Expand Down Expand Up @@ -875,12 +875,12 @@ __metadata:
version: 0.0.0-use.local
resolution: "@nblackburn/website@workspace:."
dependencies:
"@astrojs/image": ^0.10.0
"@astrojs/image": ^0.11.0
"@astrojs/vue": ^1.2.1
"@commitlint/cli": ^17.1.2
"@commitlint/config-conventional": ^17.1.0
"@fontsource/nunito-sans": ^4.5.10
astro: ^1.5.2
astro: ^1.6.0
astro-vanilla-extract: ^1.1.0
date-fns: ^2.29.3
husky: ^8.0.1
Expand Down Expand Up @@ -1676,11 +1676,11 @@ __metadata:
languageName: node
linkType: hard

"astro@npm:^1.5.2":
version: 1.5.2
resolution: "astro@npm:1.5.2"
"astro@npm:^1.6.0":
version: 1.6.0
resolution: "astro@npm:1.6.0"
dependencies:
"@astrojs/compiler": ^0.27.1
"@astrojs/compiler": ^0.28.0
"@astrojs/language-server": ^0.26.2
"@astrojs/markdown-remark": ^1.1.3
"@astrojs/telemetry": ^1.0.1
Expand Down Expand Up @@ -1739,11 +1739,12 @@ __metadata:
unist-util-visit: ^4.1.0
vfile: ^5.3.2
vite: ~3.1.3
vitefu: ^0.1.0
yargs-parser: ^21.0.1
zod: ^3.17.3
bin:
astro: astro.js
checksum: 0893ee9880203ce0ff577c3ee66647912c56487ecfceb01d16dab857a023d14ddf39c2d0dd32fddd9ed2b0d1afa09291033ec13a028cea7ee9cba3476b806f23
checksum: b40576315a710475bb4dcd3582fa636f4cc337db182bc999d7a46cc8513bcfc1fd47d54d2af386797832ba17bdbe800f84ec394ccd24f99720c1f32ecab4c1b1
languageName: node
linkType: hard

Expand Down Expand Up @@ -7380,6 +7381,20 @@ __metadata:
languageName: node
linkType: hard

"vitefu@npm:^0.1.0":
version: 0.1.0
resolution: "vitefu@npm:0.1.0"
dependencies:
import-meta-resolve: ^2.1.0
peerDependencies:
vite: ^3.0.0
peerDependenciesMeta:
vite:
optional: true
checksum: c897e80eb33b1d843d8f95c12c51a02e2471cd1b04780f4384320f2bec6456508a8177042b5a2fc1a2adf8fe15c56b17ee6d788faa6795871c484d0d85ce0f4d
languageName: node
linkType: hard

"vscode-css-languageservice@npm:^6.0.1":
version: 6.1.1
resolution: "vscode-css-languageservice@npm:6.1.1"
Expand Down

0 comments on commit 09de9d5

Please sign in to comment.