Skip to content

Commit

Permalink
🐛 fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnath committed Dec 10, 2023
1 parent 40a54cc commit 4fbae6e
Show file tree
Hide file tree
Showing 7 changed files with 7,625 additions and 7,574 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
15,126 changes: 7,591 additions & 7,535 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"license": "MIT",
"workspaces": [
"workspaces/*"
]
],
"devDependencies": {
"astro": "^4.0.3"
}
}
4 changes: 2 additions & 2 deletions workspaces/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "scottnath",
"license": "MIT",
"devDependencies": {
"storydocker-storybook": "^0.0.17",
"storydocker-utilities": "^0.0.12"
"storydocker-storybook": "^0.0.18",
"storydocker-utilities": "^0.0.13"
}
}
25 changes: 25 additions & 0 deletions workspaces/website/src/components/DopeStripes.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
import DopeStripesHTML from 'scottnath-components/src/dope-stripes/html.js';
import DopeStripesStyles from 'scottnath-components/src/dope-stripes/style.css?inline';
let stripesHTML = '<style>' + DopeStripesStyles + '</style>';
stripesHTML += DopeStripesHTML(['#ffd273', '#ffbf57', '#ffa43b', '#ff8920', '#ff6e05']);
---

<dope-stripes>
<template shadowrootmode="open" set:html={stripesHTML}>
</template>
</dope-stripes>

<style>
dope-stripes {
position: absolute;
width: 100%;
}
dope-stripes::part(stripes) {
--left-width: 7em;
--angle-width: 73px;
--stripe-height: 16px;
--stripe-angle: 20deg;
}
</style>

21 changes: 2 additions & 19 deletions workspaces/website/src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import DopeStripesHTML from 'scottnath-components/src/dope-stripes/html.js';
import DopeStripesStyles from 'scottnath-components/src/dope-stripes/style.css?inline';
import DopeStripes from './DopeStripes.astro';
import HeaderLink from './HeaderLink.astro';
import { SITE_TITLE, SITE_SUBTITLE } from '../consts';
import profilePic from '~/assets/scott-nath-profile-photo.jpeg';
Expand All @@ -9,15 +8,10 @@ import githubLogo from '~/assets/logos/github-inverse.svg';
import linkedinLogo from '~/assets/logos/linkedin.svg';
import mastodonLogo from '~/assets/logos/Mastodon.svg';
let stripesHTML = '<style>' + DopeStripesStyles + '</style>';
stripesHTML += DopeStripesHTML(['#ffd273', '#ffbf57', '#ffa43b', '#ff8920', '#ff6e05']);
---

<header>
<dope-stripes>
<template shadowrootmode="open" set:html={stripesHTML}>
</template>
</dope-stripes>
<DopeStripes id="dope"></DopeStripes>
<div class="content">
<h2>
{SITE_TITLE}
Expand Down Expand Up @@ -50,17 +44,6 @@ stripesHTML += DopeStripesHTML(['#ffd273', '#ffbf57', '#ffa43b', '#ff8920', '#ff
height: 100%;
}
}

dope-stripes {
position: absolute;
width: 100%;
}
dope-stripes::part(stripes) {
--left-width: 7em;
--angle-width: 73px;
--stripe-height: 16px;
--stripe-angle: 20deg;
}
h2 {
margin: 0;
padding-top: 3.3em;
Expand Down
16 changes: 0 additions & 16 deletions workspaces/website/src/pages/_rss.xml.js

This file was deleted.

0 comments on commit 4fbae6e

Please sign in to comment.