BS-011 Reconcile accepted homepage composition to approved reference

This commit is contained in:
rob
2026-11-10 16:41:09 +00:00
parent 4f3b75b2b4
commit 33e3413657
27 changed files with 773 additions and 132 deletions
@@ -1,7 +1,8 @@
.footer { border-top: 1px solid var(--site-line); padding-block: 1.75rem; color: var(--site-muted); font-size: .8rem; }
.footerRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.4rem; }
.links { display: flex; gap: 1.5rem; a { color: var(--site-muted); text-decoration: none; } a:hover { color: var(--site-link); } }
.developerSlot { display: inline-flex; border-radius: .2rem; padding: .35rem .6rem; background: #F5F7FA; }
.developerLogo { display: block; width: 95px; height: auto; }
.footer { padding-block: 10px; color: var(--site-muted); font-size: 10px; background: var(--site-bg); }
.footer :global(.container) { width: calc(100% - 112px); max-width: 1280px; padding-inline: 0; }
.footerRow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.links { display: flex; gap: 18px; a { color: var(--site-muted); text-decoration: none; } a:hover { color: var(--site-link); } }
.developerSlot { display: inline-flex; border-radius: 2px; padding: 3px 5px; background: #F5F7FA; }
.developerLogo { display: block; width: 76px; height: auto; }
.copyright { margin: 0; }
@media (max-width: 575.98px) { .footerRow { justify-content: center; } .copyright { flex-basis: 100%; text-align: center; } }
@media (max-width: 767.98px) { .footer :global(.container) { width: calc(100% - 40px); } .footerRow { justify-content: center; } .copyright { flex-basis: 100%; text-align: center; } }
+24 -8
View File
@@ -1,14 +1,30 @@
.header {
padding-block: 1.3rem;
position: relative;
min-height: 67px;
padding: 0;
background: var(--site-bg);
border-bottom: 1px solid var(--site-line);
:global(.navbar-brand) { margin: 0; }
:global(.nav-link) { color: var(--site-text); font-size: .9rem; padding: .75rem 1rem !important; }
border-bottom: 0;
&::after { content: ''; position: absolute; height: 1px; bottom: 0; left: 35px; right: 35px; background: var(--site-line); }
:global(.container) { width: calc(100% - 112px); max-width: 1280px; min-height: 66px; padding-inline: 0; }
:global(.navbar-brand) { margin: 0; padding: 0; }
:global(.nav-link) { color: var(--site-text); font-size: 14px; line-height: 22px; padding: 10px 16px !important; }
:global(.nav-link:hover), :global(.nav-link.active) { color: var(--site-link); }
:global(.navbar-toggler) { border-color: var(--site-line); padding: .65rem; color: var(--site-text); line-height: 1; svg { width: 22px; height: 22px; } margin-left: auto; margin-right: .8rem; }
:global(.navbar-toggler) { border-color: var(--site-line); padding: 9px; color: var(--site-text); line-height: 1; svg { width: 22px; height: 22px; } margin-left: auto; margin-right: 12px; }
}
.navbarCollapse { justify-content: flex-end; margin-right: 24px; }
@media (min-width: 768px) and (max-width: 991.98px) {
.header :global(.container) { width: calc(100% - 64px); }
.header :global(.nav-link) { padding-inline: 9px !important; font-size: 12px; }
.navbarCollapse { margin-right: 12px; }
}
.navbarCollapse { justify-content: flex-end; margin-right: 1.25rem; }
@media (max-width: 767.98px) {
.header { padding-block: 1rem; :global(.navbar-collapse) { order: 5; flex-basis: 100%; } }
.navbarCollapse { margin: .8rem 0 0; }
.header {
padding-block: 10px;
&::after { left: 20px; right: 20px; }
:global(.container) { width: calc(100% - 40px); min-height: 43px; }
:global(.navbar-collapse) { order: 5; flex-basis: 100%; }
:global(.nav-link) { font-size: 15px; }
:global(.navbar-toggler) { padding: 8px; margin-right: 10px; }
}
.navbarCollapse { margin: 12px 0 0; }
}
+1 -1
View File
@@ -2,7 +2,7 @@ import { Link } from "react-router-dom";
import styles from "./Logo.module.scss";
export default function Logo() {
return <Link to="/" className={styles.link} aria-label="BortStack home — temporary text, approved logo pending">
<span className={styles.markPlaceholder} aria-hidden="true">Logo<br />pending</span>
<span className={styles.logo}>Bort<span>Stack</span></span>
<span className={styles.pending}>Logo pending</span>
</Link>;
}
+4 -3
View File
@@ -1,3 +1,4 @@
.link { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--site-text); line-height: 1.15; }
.logo { font-size: 1.7rem; font-weight: 750; letter-spacing: -.055em; span { color: var(--site-link); } }
.pending { margin-top: .3rem; font-size: .58rem; text-transform: uppercase; letter-spacing: .14em; color: var(--site-muted); }
.link { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--site-text); line-height: 1; }
.logo { font-size: 29px; font-weight: 600; letter-spacing: -.045em; span { color: var(--site-link); } }
.markPlaceholder { display: grid; align-content: center; width: 43px; height: 39px; flex-shrink: 0; border: 1px dashed var(--bs-steel-blue); border-radius: 3px; text-align: center; font-size: 8px; line-height: 11px; color: var(--site-muted); letter-spacing: .025em; }
@media (max-width: 767.98px) { .link { gap: 8px; } .logo { font-size: 21px; } .markPlaceholder { width: 29px; height: 32px; font-size: 6px; line-height: 9px; } }
@@ -12,6 +12,7 @@ export default function ThemeToggle() {
setTheme(next);
}
return <button type="button" className="themeToggle" onClick={toggle} aria-label={`Switch to ${theme === "dark" ? "light" : "dark"} mode`}>
{theme === "dark" ? <FiSun aria-hidden="true" /> : <FiMoon aria-hidden="true" />}
<span className={theme === "dark" ? "themeChoice selected" : "themeChoice"}><FiMoon aria-hidden="true" /></span>
<span className={theme === "light" ? "themeChoice selected" : "themeChoice"}><FiSun aria-hidden="true" /></span>
</button>;
}