Hide the homepage technology stack while it is reworked
Mirrored from corpo d100955.
This commit is contained in:
@@ -10,6 +10,13 @@ const canonical = new URL('/', Astro.site);
|
|||||||
// already in the wild. Bump this whenever scripts/og.html changes, so the card is
|
// already in the wild. Bump this whenever scripts/og.html changes, so the card is
|
||||||
// requested under a URL none of them has seen.
|
// requested under a URL none of them has seen.
|
||||||
const socialImage = new URL('/og.png?v=3', Astro.site);
|
const socialImage = new URL('/og.png?v=3', Astro.site);
|
||||||
|
|
||||||
|
// TEMPORARILY HIDDEN: the technology stack, while it is reworked out of sight. Not
|
||||||
|
// rendered at all rather than hidden with CSS, so none of its copy ships in the page
|
||||||
|
// source. The script below only enhances a stack it finds, so with it gone the hero
|
||||||
|
// is the copy alone and the footer is shown from the start. Flip back to true to
|
||||||
|
// restore it.
|
||||||
|
const showTechnologyStack = false;
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
@@ -104,6 +111,7 @@ const socialImage = new URL('/og.png?v=3', Astro.site);
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{showTechnologyStack && (
|
||||||
<div class="technology-stack" data-technology-stack>
|
<div class="technology-stack" data-technology-stack>
|
||||||
<div class="technology-stage">
|
<div class="technology-stage">
|
||||||
<div class="technology-panel">
|
<div class="technology-panel">
|
||||||
@@ -196,6 +204,7 @@ const socialImage = new URL('/og.png?v=3', Astro.site);
|
|||||||
*/}
|
*/}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user