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port" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<meta
|
| 7 |
+
name="description"
|
| 8 |
+
content="Sweep AI is a student-built roadmap for data analysis, reporting and helpful AI models."
|
| 9 |
+
/>
|
| 10 |
+
<title>Sweep AI β Making data easier to understand</title>
|
| 11 |
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
| 12 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
| 13 |
+
<link
|
| 14 |
+
href="https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap"
|
| 15 |
+
rel="stylesheet"
|
| 16 |
+
/>
|
| 17 |
+
<style>
|
| 18 |
+
:root {
|
| 19 |
+
--ink: #172019;
|
| 20 |
+
--muted: #6f7c72;
|
| 21 |
+
--paper: #f4f7f1;
|
| 22 |
+
--card: #ffffff;
|
| 23 |
+
--lime: #d9f568;
|
| 24 |
+
--sage: #dfeadd;
|
| 25 |
+
--line: #d8e2d8;
|
| 26 |
+
--forest: #193c2a;
|
| 27 |
+
--blue: #dcecff;
|
| 28 |
+
--shadow: 0 20px 60px rgba(23, 32, 25, 0.08);
|
| 29 |
+
--radius: 22px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
* { box-sizing: border-box; scroll-behavior: smooth; }
|
| 33 |
+
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Space Grotesk", Arial, sans-serif; }
|
| 34 |
+
body.modal-open { overflow: hidden; }
|
| 35 |
+
button, input { font: inherit; }
|
| 36 |
+
button, a { -webkit-tap-highlight-color: transparent; }
|
| 37 |
+
button { cursor: pointer; }
|
| 38 |
+
a { color: inherit; text-decoration: none; }
|
| 39 |
+
.site-shell { overflow: hidden; }
|
| 40 |
+
.section-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
|
| 41 |
+
|
| 42 |
+
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 78px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(216, 226, 216, 0.9); background: rgba(244, 247, 241, 0.86); backdrop-filter: blur(18px); }
|
| 43 |
+
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
|
| 44 |
+
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--ink); border-radius: 12px; background: var(--lime); color: var(--ink); font-weight: 700; }
|
| 45 |
+
.brand strong, .brand small { display: block; }
|
| 46 |
+
.brand strong { font-size: 0.96rem; letter-spacing: -0.04em; }
|
| 47 |
+
.brand small { margin-top: 2px; color: var(--muted); font-family: "DM Mono", monospace; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.04em; }
|
| 48 |
+
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 12px; color: var(--muted); font-size: 0.78rem; }
|
| 49 |
+
.main-nav a, .mobile-nav a { transition: color 0.2s ease; }
|
| 50 |
+
.main-nav a:hover, .mobile-nav a:hover { color: var(--ink); }
|
| 51 |
+
.header-actions { display: flex; align-items: center; gap: 13px; }
|
| 52 |
+
.text-button { border: 0; background: transparent; color: var(--ink); font-size: 0.78rem; }
|
| 53 |
+
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 0 17px; border: 1px solid transparent; border-radius: 10px; font-size: 0.76rem; font-weight: 600; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
|
| 54 |
+
.button:hover { transform: translateY(-2px); }
|
| 55 |
+
.button span { font-size: 1rem; line-height: 0; }
|
| 56 |
+
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
|
| 57 |
+
.button-dark:hover { background: var(--forest); border-color: var(--forest); }
|
| 58 |
+
.button-lime { background: var(--lime); color: var(--ink); }
|
| 59 |
+
.button-lime:hover { background: #c9e953; }
|
| 60 |
+
.button-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
|
| 61 |
+
.button-ghost:hover { border-color: var(--ink); background: var(--card); }
|
| 62 |
+
.menu-button { display: none; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); }
|
| 63 |
+
.menu-button span { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--ink); }
|
| 64 |
+
.mobile-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: grid; gap: 4px; padding: 18px 24px 22px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
|
| 65 |
+
.mobile-nav[hidden] { display: none; }
|
| 66 |
+
.mobile-nav a { padding: 11px 0; color: var(--muted); }
|
| 67 |
+
.mobile-nav .button { margin-top: 8px; }
|
| 68 |
+
|
| 69 |
+
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); align-items: center; gap: 60px; min-height: 680px; padding-top: 90px; padding-bottom: 90px; }
|
| 70 |
+
.kicker, .eyebrow { color: var(--muted); font-family: "DM Mono", monospace; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; }
|
| 71 |
+
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; }
|
| 72 |
+
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: #55ae7a; box-shadow: 0 0 0 4px #d7f0df; }
|
| 73 |
+
h1, h2, h3, p { margin-top: 0; }
|
| 74 |
+
h1, h2 { letter-spacing: -0.08em; }
|
| 75 |
+
h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(3.8rem, 8vw, 7.8rem); line-height: 0.88; }
|
| 76 |
+
h1 em, h2 em { color: #4b996d; font-style: normal; }
|
| 77 |
+
.hero-lede { max-width: 530px; margin-bottom: 27px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
|
| 78 |
+
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
|
| 79 |
+
.hero-note { max-width: 470px; margin: 28px 0 0; color: var(--muted); font-size: 0.73rem; line-height: 1.55; }
|
| 80 |
+
.hero-art { position: relative; min-height: 480px; border: 1px solid var(--line); border-radius: 42% 58% 52% 48% / 46% 42% 58% 54%; background: radial-gradient(circle at 50% 48%, rgba(217, 245, 104, 0.65) 0 8%, transparent 9%), linear-gradient(135deg, #deeddc, #cfe7f1 53%, #e1f17c); box-shadow: var(--shadow); transform: rotate(3deg); }
|
| 81 |
+
.hero-art::before, .hero-art::after { position: absolute; content: ""; border: 1px solid rgba(23, 32, 25, 0.18); border-radius: 50%; }
|
| 82 |
+
.hero-art::before { inset: 13% 8%; transform: rotate(-19deg); }
|
| 83 |
+
.hero-art::after { inset: 5% 20%; transform: rotate(31deg); }
|
| 84 |
+
.orbit { position: absolute; inset: 18% 14%; border: 1px solid rgba(23, 32, 25, 0.3); border-radius: 50%; }
|
| 85 |
+
.orbit-one { transform: rotate(54deg) scaleY(0.42); }
|
| 86 |
+
.orbit-two { transform: rotate(-27deg) scaleY(0.72); }
|
| 87 |
+
.orbit-three { inset: 29% 5%; transform: rotate(4deg) scaleY(0.25); }
|
| 88 |
+
.data-core { position: absolute; top: 50%; left: 50%; display: grid; width: 142px; height: 142px; place-content: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--ink); color: var(--lime); text-align: center; transform: translate(-50%, -50%) rotate(-3deg); box-shadow: 0 12px 30px rgba(23, 32, 25, 0.22); }
|
| 89 |
+
.core-letter { display: block; font-size: 3.8rem; font-weight: 700; line-height: 0.8; letter-spacing: -0.12em; }
|
| 90 |
+
.core-label { margin-top: 13px; font-family: "DM Mono", monospace; font-size: 0.54rem; line-height: 1.4; letter-spacing: 0.12em; }
|
| 91 |
+
.data-chip { position: absolute; padding: 8px 10px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); font-family: "DM Mono", monospace; font-size: 0.58rem; box-shadow: 4px 4px 0 rgba(23, 32, 25, 0.14); }
|
| 92 |
+
.chip-one { top: 19%; left: 12%; }
|
| 93 |
+
.chip-two { right: 8%; top: 39%; background: var(--lime); }
|
| 94 |
+
.chip-three { bottom: 16%; left: 28%; }
|
| 95 |
+
.signal { position: absolute; display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
|
| 96 |
+
.signal-one { top: 16%; right: 24%; }
|
| 97 |
+
.signal-two { bottom: 24%; right: 17%; background: #4b996d; }
|
| 98 |
+
.signal-three { bottom: 16%; left: 15%; background: #779de1; }
|
| 99 |
+
|
| 100 |
+
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 140px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
|
| 101 |
+
.proof-strip div { display: flex; align-items: center; gap: 16px; padding: 22px 18px; border-right: 1px solid var(--line); }
|
| 102 |
+
.proof-strip div:first-child { padding-left: 0; }
|
| 103 |
+
.proof-strip div:last-child { border-right: 0; }
|
| 104 |
+
.proof-strip strong { color: #4b996d; font-family: "DM Mono", monospace; font-size: 0.65rem; }
|
| 105 |
+
.proof-strip span { font-size: 0.82rem; }
|
| 106 |
+
|
| 107 |
+
.intro-section, .models-section, .roadmap-section, .about-section { padding-bottom: 145px; }
|
| 108 |
+
.section-heading { margin-bottom: 54px; }
|
| 109 |
+
.section-heading .eyebrow { margin-bottom: 18px; }
|
| 110 |
+
.section-heading h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(2.8rem, 5.5vw, 5.8rem); line-height: 0.91; }
|
| 111 |
+
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
|
| 112 |
+
.large-copy { max-width: 480px; font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -0.05em; }
|
| 113 |
+
.feature-list { border-top: 1px solid var(--line); }
|
| 114 |
+
.feature-item { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
|
| 115 |
+
.feature-number { color: #4b996d; font-family: "DM Mono", monospace; font-size: 0.68rem; }
|
| 116 |
+
.feature-item h3 { margin-bottom: 7px; font-size: 1.02rem; }
|
| 117 |
+
.feature-item p { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
|
| 118 |
+
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
|
| 119 |
+
.heading-aside { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 0.83rem; line-height: 1.6; }
|
| 120 |
+
|
| 121 |
+
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
|
| 122 |
+
.model-card { min-height: 330px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 rgba(23, 32, 25, 0.08); }
|
| 123 |
+
.model-card-light { background: var(--card); }
|
| 124 |
+
.model-card-dark { background: var(--ink); color: var(--paper); }
|
| 125 |
+
.model-card-lime { background: var(--lime); }
|
| 126 |
+
.model-card-outline { background: transparent; }
|
| 127 |
+
.model-topline, .model-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: "DM Mono", monospace; font-size: 0.6rem; text-transform: uppercase; }
|
| 128 |
+
.model-index { opacity: 0.65; }
|
| 129 |
+
.status-pill { padding: 6px 8px; border: 1px solid currentColor; border-radius: 20px; font-size: 0.53rem; opacity: 0.75; }
|
| 130 |
+
.model-card h3 { margin: 60px 0 14px; font-size: 1.8rem; letter-spacing: -0.07em; }
|
| 131 |
+
.model-description { max-width: 230px; margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
|
| 132 |
+
.model-card-dark .model-description { color: #aebdb0; }
|
| 133 |
+
.model-footer { margin-top: auto; padding-top: 24px; border-top: 1px solid currentColor; opacity: 0.75; }
|
| 134 |
+
.quality-banner { display: flex; align-items: center; gap: 17px; margin-top: 18px; padding: 20px 22px; border-radius: 14px; background: var(--sage); }
|
| 135 |
+
.quality-icon { display: grid; width: 33px; height: 33px; flex-shrink: 0; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); }
|
| 136 |
+
.quality-banner p { margin: 0; color: #48604d; font-size: 0.78rem; line-height: 1.55; }
|
| 137 |
+
.quality-banner strong { color: var(--ink); }
|
| 138 |
+
|
| 139 |
+
.roadmap { position: relative; display: grid; gap: 0; }
|
| 140 |
+
.roadmap-line { position: absolute; top: 10px; bottom: 10px; left: 20px; width: 1px; background: var(--line); }
|
| 141 |
+
.roadmap-item { position: relative; display: grid; grid-template-columns: 52px 190px 1fr; gap: 28px; padding: 0 0 60px; }
|
| 142 |
+
.roadmap-item:last-child { padding-bottom: 0; }
|
| 143 |
+
.roadmap-marker { z-index: 1; display: grid; width: 41px; height: 41px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); font-family: "DM Mono", monospace; font-size: 0.64rem; }
|
| 144 |
+
.roadmap-current .roadmap-marker { background: var(--lime); }
|
| 145 |
+
.roadmap-date { padding-top: 11px; font-family: "DM Mono", monospace; font-size: 0.68rem; text-transform: uppercase; }
|
| 146 |
+
.roadmap-date span { display: block; margin-top: 7px; color: #4b996d; font-size: 0.57rem; }
|
| 147 |
+
.roadmap-content { max-width: 540px; padding: 9px 0 0; border-top: 1px solid var(--line); }
|
| 148 |
+
.roadmap-content h3 { margin-bottom: 9px; font-size: 1.35rem; letter-spacing: -0.05em; }
|
| 149 |
+
.roadmap-content p { margin-bottom: 15px; color: var(--muted); font-size: 0.79rem; line-height: 1.6; }
|
| 150 |
+
.roadmap-tag { display: inline-block; padding: 7px 9px; border-radius: 5px; background: var(--blue); color: #3e6794; font-family: "DM Mono", monospace; font-size: 0.58rem; text-transform: uppercase; }
|
| 151 |
+
|
| 152 |
+
.about-card { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; padding: 70px; border-radius: 32px; background: var(--forest); color: var(--paper); }
|
| 153 |
+
.about-stamp { display: grid; width: 220px; height: 220px; place-items: center; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); font-family: "DM Mono", monospace; font-size: 0.82rem; line-height: 1.5; text-align: center; letter-spacing: 0.12em; transform: rotate(-13deg); }
|
| 154 |
+
.about-copy .eyebrow { color: #a4c5ab; }
|
| 155 |
+
.about-copy h2 { max-width: 610px; margin-bottom: 20px; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 0.93; }
|
| 156 |
+
.about-copy h2 em { color: var(--lime); }
|
| 157 |
+
.about-copy p:not(.eyebrow):not(.about-disclaimer) { max-width: 560px; color: #c0d2c2; font-size: 0.86rem; line-height: 1.7; }
|
| 158 |
+
.about-disclaimer { max-width: 520px; margin: 26px 0; padding-left: 13px; border-left: 2px solid var(--lime); color: #a4c5ab; font-size: 0.7rem; line-height: 1.6; }
|
| 159 |
+
.join-section { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding-bottom: 110px; }
|
| 160 |
+
.join-section h2 { margin: 11px 0 0; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 0.92; }
|
| 161 |
+
.join-section > div:last-child { max-width: 330px; }
|
| 162 |
+
.join-section p { color: var(--muted); font-size: 0.82rem; line-height: 1.6; }
|
| 163 |
+
.join-section .button { margin-top: 8px; }
|
| 164 |
+
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--muted); }
|
| 165 |
+
.site-footer p, .back-top { margin: 0; font-family: "DM Mono", monospace; font-size: 0.59rem; text-transform: uppercase; }
|
| 166 |
+
.back-top:hover { color: var(--ink); }
|
| 167 |
+
|
| 168 |
+
.modal[hidden] { display: none; }
|
| 169 |
+
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; background: rgba(13, 22, 15, 0.58); }
|
| 170 |
+
.modal-card { position: relative; width: min(460px, 100%); padding: 35px; border-radius: 22px; background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24); }
|
| 171 |
+
.modal-close { position: absolute; top: 16px; right: 17px; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font-size: 1.1rem; }
|
| 172 |
+
.modal-close:hover { border-color: var(--ink); }
|
| 173 |
+
.modal-card h2 { margin: 14px 0 9px; font-size: 2.5rem; line-height: 0.95; }
|
| 174 |
+
.modal-intro, .modal-footnote { color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
|
| 175 |
+
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 25px 0 20px; padding: 4px; border-radius: 9px; background: var(--sage); }
|
| 176 |
+
.auth-tab { padding: 10px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 0.76rem; }
|
| 177 |
+
.auth-tab.selected { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(23, 32, 25, 0.08); }
|
| 178 |
+
.auth-form { display: grid; gap: 14px; }
|
| 179 |
+
.auth-form[hidden] { display: none; }
|
| 180 |
+
.auth-form label { display: grid; gap: 7px; color: var(--muted); font-size: 0.72rem; }
|
| 181 |
+
.auth-form input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: var(--paper); color: var(--ink); }
|
| 182 |
+
.auth-form input:focus { border-color: var(--ink); }
|
| 183 |
+
.full-width { width: 100%; margin-top: 4px; }
|
| 184 |
+
.form-message { min-height: 20px; margin: 13px 0 0; color: #a33737; font-size: 0.72rem; }
|
| 185 |
+
.modal-footnote { margin-bottom: 0; font-size: 0.68rem; }
|
| 186 |
+
|
| 187 |
+
@media (max-width: 950px) {
|
| 188 |
+
.main-nav { gap: 15px; }
|
| 189 |
+
.hero { grid-template-columns: 1fr; gap: 35px; padding-top: 65px; }
|
| 190 |
+
.hero-art { width: min(650px, 100%); min-height: 430px; margin: 0 auto; }
|
| 191 |
+
.model-grid { grid-template-columns: repeat(2, 1fr); }
|
| 192 |
+
.about-card { grid-template-columns: 1fr; gap: 40px; padding: 45px; }
|
| 193 |
+
.about-stamp { width: 165px; height: 165px; font-size: 0.66rem; }
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
@media (max-width: 700px) {
|
| 197 |
+
.site-header { min-height: 67px; padding: 0 18px; }
|
| 198 |
+
.main-nav, .header-actions .text-button { display: none; }
|
| 199 |
+
.menu-button { display: block; }
|
| 200 |
+
.header-actions { margin-left: auto; }
|
| 201 |
+
.site-header:has(.menu-button:hover) .mobile-nav,
|
| 202 |
+
.site-header:has(.menu-button:focus-visible) .mobile-nav { display: grid; }
|
| 203 |
+
.section-wrap { width: min(100% - 32px, 1180px); }
|
| 204 |
+
.hero { min-height: auto; padding-top: 55px; padding-bottom: 65px; }
|
| 205 |
+
h1 { font-size: clamp(3.6rem, 18vw, 6.2rem); }
|
| 206 |
+
.hero-art { min-height: 340px; border-radius: 39% 61% 55% 45% / 45% 43% 57% 55%; }
|
| 207 |
+
.data-core { width: 110px; height: 110px; }
|
| 208 |
+
.core-letter { font-size: 3rem; }
|
| 209 |
+
.proof-strip { grid-template-columns: 1fr 1fr; margin-bottom: 90px; }
|
| 210 |
+
.proof-strip div, .proof-strip div:first-child { padding: 16px 10px; }
|
| 211 |
+
.proof-strip div:nth-child(2) { border-right: 0; }
|
| 212 |
+
.proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
|
| 213 |
+
.section-heading, .split-heading { display: block; margin-bottom: 35px; }
|
| 214 |
+
.heading-aside { margin-top: 18px; }
|
| 215 |
+
.intro-grid { grid-template-columns: 1fr; gap: 35px; }
|
| 216 |
+
.intro-section, .models-section, .roadmap-section, .about-section { padding-bottom: 95px; }
|
| 217 |
+
.model-grid { grid-template-columns: 1fr; }
|
| 218 |
+
.model-card { min-height: 260px; }
|
| 219 |
+
.model-card h3 { margin-top: 35px; }
|
| 220 |
+
.roadmap-item { grid-template-columns: 44px 1fr; gap: 16px; }
|
| 221 |
+
.roadmap-date { grid-column: 2; grid-row: 1; padding-top: 8px; }
|
| 222 |
+
.roadmap-content { grid-column: 2; grid-row: 2; }
|
| 223 |
+
.roadmap-line { left: 20px; }
|
| 224 |
+
.join-section, .site-footer { display: block; }
|
| 225 |
+
.join-section > div:last-child { margin-top: 28px; }
|
| 226 |
+
.site-footer .brand { margin-bottom: 18px; }
|
| 227 |
+
.site-footer .back-top { display: inline-block; margin-top: 16px; }
|
| 228 |
+
.modal-card { padding: 30px 22px; }
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
@media (max-width: 430px) {
|
| 232 |
+
.header-actions .button { padding: 0 11px; font-size: 0.68rem; }
|
| 233 |
+
.hero-actions .button { width: 100%; }
|
| 234 |
+
.hero-art { min-height: 290px; }
|
| 235 |
+
.chip-one { left: 8%; }
|
| 236 |
+
.chip-two { right: 4%; }
|
| 237 |
+
.chip-three { left: 17%; }
|
| 238 |
+
}
|
| 239 |
+
</style>
|
| 240 |
+
</head>
|
| 241 |
+
|
| 242 |
+
<body>
|
| 243 |
+
<div class="site-shell">
|
| 244 |
+
<header class="site-header" id="top">
|
| 245 |
+
<a class="brand" href="#top" aria-label="Sweep AI home">
|
| 246 |
+
<span class="brand-mark">S</span>
|
| 247 |
+
<span>
|
| 248 |
+
<strong>Sweep AI</strong>
|
| 249 |
+
<small>data, understood</small>
|
| 250 |
+
</span>
|
| 251 |
+
</a>
|
| 252 |
+
|
| 253 |
+
<nav class="main-nav" aria-label="Main navigation">
|
| 254 |
+
<a href="#why-sweep">Why Sweep</a>
|
| 255 |
+
<a href="#models">Models</a>
|
| 256 |
+
<a href="#roadmap">Roadmap</a>
|
| 257 |
+
<a href="#about">About</a>
|
| 258 |
+
</nav>
|
| 259 |
+
|
| 260 |
+
<div class="header-actions">
|
| 261 |
+
<button class="text-button" id="loginButton" type="button">Log in</button>
|
| 262 |
+
<button class="button button-dark" id="signupButton" type="button">Sign up <span>β</span></button>
|
| 263 |
+
<button class="menu-button" id="menuButton" type="button" aria-expanded="false" aria-controls="mobileNav">
|
| 264 |
+
<span></span><span></span>
|
| 265 |
+
</button>
|
| 266 |
+
</div>
|
| 267 |
+
|
| 268 |
+
<nav class="mobile-nav" id="mobileNav" aria-label="Mobile navigation" hidden>
|
| 269 |
+
<a href="#why-sweep">Why Sweep</a>
|
| 270 |
+
<a href="#models">Models</a>
|
| 271 |
+
<a href="#roadmap">Roadmap</a>
|
| 272 |
+
<a href="#about">About</a>
|
| 273 |
+
<button class="button button-dark" id="mobileSignupButton" type="button">Sign up β</button>
|
| 274 |
+
</nav>
|
| 275 |
+
</header>
|
| 276 |
+
|
| 277 |
+
<main>
|
| 278 |
+
<section class="hero section-wrap">
|
| 279 |
+
<div class="hero-copy">
|
| 280 |
+
<p class="kicker"><span class="kicker-dot"></span> An independent student project</p>
|
| 281 |
+
<h1>Helping big data make more <em>sense.</em></h1>
|
| 282 |
+
<p class="hero-lede">
|
| 283 |
+
Sweep AI is a growing family of models designed to look at data, analyse patterns and turn complex information into clear reports.
|
| 284 |
+
</p>
|
| 285 |
+
<div class="hero-actions">
|
| 286 |
+
<a class="button button-lime" href="#roadmap">See the roadmap <span>β</span></a>
|
| 287 |
+
<button class="button button-ghost" id="heroSignupButton" type="button">Join the build <span>β</span></button>
|
| 288 |
+
</div>
|
| 289 |
+
<p class="hero-note">Built by a Year 7 student with a big curiosity about what computers can help people understand.</p>
|
| 290 |
+
</div>
|
| 291 |
+
|
| 292 |
+
<div class="hero-art" aria-label="Abstract Sweep AI data visualisation" role="img">
|
| 293 |
+
<div class="orbit orbit-one"></div>
|
| 294 |
+
<div class="orbit orbit-two"></div>
|
| 295 |
+
<div class="orbit orbit-three"></div>
|
| 296 |
+
<div class="data-core">
|
| 297 |
+
<span class="core-letter">S</span>
|
| 298 |
+
<span class="core-label">SWEEP<br />AI</span>
|
| 299 |
+
</div>
|
| 300 |
+
<span class="data-chip chip-one">LOOK</span>
|
| 301 |
+
<span class="data-chip chip-two">ANALYSE</span>
|
| 302 |
+
<span class="data-chip chip-three">REPORT</span>
|
| 303 |
+
<span class="signal signal-one"></span>
|
| 304 |
+
<span class="signal signal-two"></span>
|
| 305 |
+
<span class="signal signal-three"></span>
|
| 306 |
+
</div>
|
| 307 |
+
</section>
|
| 308 |
+
|
| 309 |
+
<section class="proof-strip section-wrap" aria-label="Sweep AI capabilities">
|
| 310 |
+
<div><strong>01</strong><span>Look at data</span></div>
|
| 311 |
+
<div><strong>02</strong><span>Analyse patterns</span></div>
|
| 312 |
+
<div><strong>03</strong><span>Report clearly</span></div>
|
| 313 |
+
<div><strong>04</strong><span>Improve over time</span></div>
|
| 314 |
+
</section>
|
| 315 |
+
|
| 316 |
+
<section class="intro-section section-wrap" id="why-sweep">
|
| 317 |
+
<div class="section-heading">
|
| 318 |
+
<p class="eyebrow">01 / Why Sweep</p>
|
| 319 |
+
<h2>Not just another chatbot. A direction for useful models.</h2>
|
| 320 |
+
</div>
|
| 321 |
+
<div class="intro-grid">
|
| 322 |
+
<p class="large-copy">
|
| 323 |
+
The idea behind Sweep is simple: make models that can help people work through large databases without making the information feel impossible to use.
|
| 324 |
+
</p>
|
| 325 |
+
<div class="feature-list">
|
| 326 |
+
<article class="feature-item">
|
| 327 |
+
<span class="feature-number">01</span>
|
| 328 |
+
<div><h3>See the signal</h3><p>Find useful information inside large, messy collections of data.</p></div>
|
| 329 |
+
</article>
|
| 330 |
+
<article class="feature-item">
|
| 331 |
+
<span class="feature-number">02</span>
|
| 332 |
+
<div><h3>Explain the result</h3><p>Turn analysis into reports that are easier for people to read and act on.</p></div>
|
| 333 |
+
</article>
|
| 334 |
+
<article class="feature-item">
|
| 335 |
+
<span class="feature-number">03</span>
|
| 336 |
+
<div><h3>Keep getting better</h3><p>As the models become more advanced, the goal is to produce higher-quality results.</p></div>
|
| 337 |
+
</article>
|
| 338 |
+
</div>
|
| 339 |
+
</div>
|
| 340 |
+
</section>
|
| 341 |
+
|
| 342 |
+
<section class="models-section section-wrap" id="models">
|
| 343 |
+
<div class="section-heading split-heading">
|
| 344 |
+
<div><p class="eyebrow">02 / The model family</p><h2>Different stages.<br /><em>One clear purpose.</em></h2></div>
|
| 345 |
+
<p class="heading-aside">Every release is a step toward models that can look at more data, reason about it more carefully and create better reports.</p>
|
| 346 |
+
</div>
|
| 347 |
+
|
| 348 |
+
<div class="model-grid">
|
| 349 |
+
<article class="model-card model-card-light">
|
| 350 |
+
<div class="model-topline"><span class="model-index">01</span><span class="status-pill">In progress</span></div>
|
| 351 |
+
<h3>Sweep.1</h3>
|
| 352 |
+
<p class="model-description">The first preview: a starting point for looking at data and explaining what it finds.</p>
|
| 353 |
+
<div class="model-footer"><span>Preview</span><span>Jan 2027</span></div>
|
| 354 |
+
</article>
|
| 355 |
+
<article class="model-card model-card-dark">
|
| 356 |
+
<div class="model-topline"><span class="model-index">02</span><span class="status-pill">Lightweight</span></div>
|
| 357 |
+
<h3>Sweep Lite</h3>
|
| 358 |
+
<p class="model-description">A smaller, quicker version for straightforward analysis and useful summaries.</p>
|
| 359 |
+
<div class="model-footer"><span>Release target</span><span>Mar 2027</span></div>
|
| 360 |
+
</article>
|
| 361 |
+
<article class="model-card model-card-lime">
|
| 362 |
+
<div class="model-topline"><span class="model-index">03</span><span class="status-pill">Desktop SaaS</span></div>
|
| 363 |
+
<h3>Sweep Latest</h3>
|
| 364 |
+
<p class="model-description">A more capable model that runs on your computer, built for deeper analysis and reporting.</p>
|
| 365 |
+
<div class="model-footer"><span>Release target</span><span>Late Jun 2027</span></div>
|
| 366 |
+
</article>
|
| 367 |
+
<article class="model-card model-card-outline">
|
| 368 |
+
<div class="model-topline"><span class="model-index">04</span><span class="status-pill">Desktop SaaS</span></div>
|
| 369 |
+
<h3>Sweep Ultra</h3>
|
| 370 |
+
<p class="model-description">The long-term, highest-capability goal: a SaaS model that runs on your computer for the best quality results.</p>
|
| 371 |
+
<div class="model-footer"><span>Release target</span><span>Late Oct 2027</span></div>
|
| 372 |
+
</article>
|
| 373 |
+
</div>
|
| 374 |
+
|
| 375 |
+
<div class="quality-banner"><span class="quality-icon">β¦</span><p><strong>The principle:</strong> as the models get more advanced, the aim is to deliver better-quality results β with clear limits, careful testing and people still in control.</p></div>
|
| 376 |
+
</section>
|
| 377 |
+
|
| 378 |
+
<section class="roadmap-section section-wrap" id="roadmap">
|
| 379 |
+
<div class="section-heading split-heading">
|
| 380 |
+
<div><p class="eyebrow">03 / Roadmap</p><h2>A vertical path<br /><em>from idea to impact.</em></h2></div>
|
| 381 |
+
<p class="heading-aside">The dates are targets, not promises. Building good models takes testing, learning and time.</p>
|
| 382 |
+
</div>
|
| 383 |
+
|
| 384 |
+
<div class="roadmap">
|
| 385 |
+
<div class="roadmap-line"></div>
|
| 386 |
+
<article class="roadmap-item roadmap-current">
|
| 387 |
+
<div class="roadmap-marker">01</div>
|
| 388 |
+
<div class="roadmap-date">January 2027 <span>next milestone</span></div>
|
| 389 |
+
<div class="roadmap-content"><h3>Finish building Sweep.1 preview</h3><p>The first public preview focused on looking at data, finding patterns and creating simple explanations.</p><span class="roadmap-tag">Preview release</span></div>
|
| 390 |
+
</article>
|
| 391 |
+
<article class="roadmap-item">
|
| 392 |
+
<div class="roadmap-marker">02</div>
|
| 393 |
+
<div class="roadmap-date">March 2027 <span>lightweight release</span></div>
|
| 394 |
+
<div class="roadmap-content"><h3>Release Sweep Lite</h3><p>A faster, lighter model for useful summaries and everyday data questions.</p><span class="roadmap-tag">Small + useful</span></div>
|
| 395 |
+
</article>
|
| 396 |
+
<article class="roadmap-item">
|
| 397 |
+
<div class="roadmap-marker">03</div>
|
| 398 |
+
<div class="roadmap-date">Late June 2027 <span>deeper analysis</span></div>
|
| 399 |
+
<div class="roadmap-content"><h3>Launch Sweep Latest</h3><p>A desktop SaaS model that runs on your computer and aims to give stronger analysis and reporting.</p><span class="roadmap-tag">Runs on your computer</span></div>
|
| 400 |
+
</article>
|
| 401 |
+
<article class="roadmap-item">
|
| 402 |
+
<div class="roadmap-marker">04</div>
|
| 403 |
+
<div class="roadmap-date">Late October 2027 <span>long-term goal</span></div>
|
| 404 |
+
<div class="roadmap-content"><h3>Build Sweep Ultra</h3><p>The most advanced planned model: a computer-running SaaS experience for the highest-quality results Sweep can reach.</p><span class="roadmap-tag">Highest capability</span></div>
|
| 405 |
+
</article>
|
| 406 |
+
</div>
|
| 407 |
+
</section>
|
| 408 |
+
|
| 409 |
+
<section class="about-section section-wrap" id="about">
|
| 410 |
+
<div class="about-card">
|
| 411 |
+
<div class="about-stamp">MADE<br />WITH<br />CURIOSITY</div>
|
| 412 |
+
<div class="about-copy">
|
| 413 |
+
<p class="eyebrow">04 / The person behind it</p>
|
| 414 |
+
<h2>Iβm a Year 7 student building toward something <em>useful.</em></h2>
|
| 415 |
+
<p>Iβm trying to make models that can help with big databases by looking at data, analysing it and reporting what matters. Sweep is still being built, so this website is a place to share the idea, the roadmap and the progress.</p>
|
| 416 |
+
<p class="about-disclaimer">Sweep is an independent learning project. The release dates and capabilities shown here are goals for the future, not currently available products.</p>
|
| 417 |
+
<button class="button button-dark" id="aboutSignupButton" type="button">Follow the journey <span>β</span></button>
|
| 418 |
+
</div>
|
| 419 |
+
</div>
|
| 420 |
+
</section>
|
| 421 |
+
|
| 422 |
+
<section class="join-section section-wrap">
|
| 423 |
+
<div><p class="eyebrow">Stay close to the build</p><h2>Want to see where Sweep goes?</h2></div>
|
| 424 |
+
<div><p>Sign up for this prototype so you can save an account and be ready for future updates.</p><button class="button button-lime" id="joinSignupButton" type="button">Create an account <span>β</span></button></div>
|
| 425 |
+
</section>
|
| 426 |
+
</main>
|
| 427 |
+
|
| 428 |
+
<footer class="site-footer section-wrap">
|
| 429 |
+
<a class="brand" href="#top"><span class="brand-mark">S</span><span><strong>Sweep AI</strong><small>student-built intelligence</small></span></a>
|
| 430 |
+
<p>Β© 2026 Sweep AI Β· An educational prototype</p>
|
| 431 |
+
<a class="back-top" href="#top">Back to top β</a>
|
| 432 |
+
</footer>
|
| 433 |
+
</div>
|
| 434 |
+
|
| 435 |
+
<div class="modal" id="authModal" hidden aria-hidden="true">
|
| 436 |
+
<div class="modal-card" role="dialog" aria-modal="true" aria-labelledby="authTitle">
|
| 437 |
+
<button class="modal-close" type="button" data-close="authModal" aria-label="Close">Γ</button>
|
| 438 |
+
<p class="eyebrow">Sweep AI community</p>
|
| 439 |
+
<h2 id="authTitle">Welcome back.</h2>
|
| 440 |
+
<p class="modal-intro" id="authIntro">Log in to keep your place in the Sweep journey.</p>
|
| 441 |
+
<div class="auth-tabs"><button class="auth-tab selected" id="loginTab" type="button">Log in</button><button class="auth-tab" id="signupTab" type="button">Sign up</button></div>
|
| 442 |
+
<form class="auth-form" id="loginForm">
|
| 443 |
+
<label>Email address<input id="loginEmail" type="email" required placeholder="you@example.com" /></label>
|
| 444 |
+
<label>Password<input id="loginPassword" type="password" required placeholder="Your password" /></label>
|
| 445 |
+
<button class="button button-dark full-width" type="submit">Log in <span>β</span></button>
|
| 446 |
+
</form>
|
| 447 |
+
<form class="auth-form" id="signupForm" hidden>
|
| 448 |
+
<label>Your name<input id="signupName" type="text" required placeholder="Your name" /></label>
|
| 449 |
+
<label>Email address<input id="signupEmail" type="email" required placeholder="you@example.com" /></label>
|
| 450 |
+
<label>Password<input id="signupPassword" type="password" minlength="6" required placeholder="At least 6 characters" /></label>
|
| 451 |
+
<button class="button button-dark full-width" type="submit">Create account <span>β</span></button>
|
| 452 |
+
</form>
|
| 453 |
+
<p class="form-message" id="authMessage" role="status"></p>
|
| 454 |
+
<p class="modal-footnote">This prototype stores demo account details in your browser only. Never use a real password here.</p>
|
| 455 |
+
</div>
|
| 456 |
+
</div>
|
| 457 |
+
|
| 458 |
+
<script>
|
| 459 |
+
const USERS_KEY = "sweep_ai_users";
|
| 460 |
+
const SESSION_KEY = "sweep_ai_session";
|
| 461 |
+
const $ = selector => document.querySelector(selector);
|
| 462 |
+
const $$ = selector => document.querySelectorAll(selector);
|
| 463 |
+
|
| 464 |
+
let currentUser = JSON.parse(localStorage.getItem(SESSION_KEY) || "null");
|
| 465 |
+
|
| 466 |
+
function getUsers() {
|
| 467 |
+
return JSON.parse(localStorage.getItem(USERS_KEY) || "[]");
|
| 468 |
+
}
|
| 469 |
+
|
| 470 |
+
function saveUsers(users) {
|
| 471 |
+
localStorage.setItem(USERS_KEY, JSON.stringify(users));
|
| 472 |
+
}
|
| 473 |
+
|
| 474 |
+
async function hashPassword(password) {
|
| 475 |
+
if (window.crypto && crypto.subtle) {
|
| 476 |
+
const data = new TextEncoder().encode(password);
|
| 477 |
+
const digest = await crypto.subtle.digest("SHA-256", data);
|
| 478 |
+
return Array.from(new Uint8Array(digest))
|
| 479 |
+
.map(byte => byte.toString(16).padStart(2, "0"))
|
| 480 |
+
.join("");
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
return btoa(unescape(encodeURIComponent(password)));
|
| 484 |
+
}
|
| 485 |
+
|
| 486 |
+
function makeId() {
|
| 487 |
+
if (window.crypto && crypto.randomUUID) return crypto.randomUUID();
|
| 488 |
+
return "user-" + Date.now() + "-" + Math.random().toString(16).slice(2);
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
function openModal() {
|
| 492 |
+
const modal = $("#authModal");
|
| 493 |
+
modal.hidden = false;
|
| 494 |
+
modal.setAttribute("aria-hidden", "false");
|
| 495 |
+
document.body.classList.add("modal-open");
|
| 496 |
+
setTimeout(() => $("#loginEmail").focus(), 40);
|
| 497 |
+
}
|
| 498 |
+
|
| 499 |
+
function closeModal() {
|
| 500 |
+
const modal = $("#authModal");
|
| 501 |
+
modal.hidden = true;
|
| 502 |
+
modal.setAttribute("aria-hidden", "true");
|
| 503 |
+
document.body.classList.remove("modal-open");
|
| 504 |
+
}
|
| 505 |
+
|
| 506 |
+
function setAuthMode(mode, message = "") {
|
| 507 |
+
const loginMode = mode === "login";
|
| 508 |
+
$("#loginForm").hidden = !loginMode;
|
| 509 |
+
$("#signupForm").hidden = loginMode;
|
| 510 |
+
$("#loginTab").classList.toggle("selected", loginMode);
|
| 511 |
+
$("#signupTab").classList.toggle("selected", !loginMode);
|
| 512 |
+
$("#authTitle").textContent = loginMode ? "Welcome back." : "Join the build.";
|
| 513 |
+
$("#authIntro").textContent = loginMode
|
| 514 |
+
? "Log in to keep your place in the Sweep journey."
|
| 515 |
+
: "Create an account to follow the Sweep AI roadmap.";
|
| 516 |
+
$("#authMessage").textContent = message;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
function setSession(user) {
|
| 520 |
+
currentUser = { id: user.id, name: user.name, email: user.email };
|
| 521 |
+
localStorage.setItem(SESSION_KEY, JSON.stringify(currentUser));
|
| 522 |
+
updateAuthButtons();
|
| 523 |
+
}
|
| 524 |
+
|
| 525 |
+
function updateAuthButtons() {
|
| 526 |
+
const label = currentUser ? `Hi, ${currentUser.name.split(" ")[0]}` : "Log in";
|
| 527 |
+
$("#loginButton").textContent = label;
|
| 528 |
+
$("#signupButton").textContent = currentUser ? "Log out β" : "Sign up β";
|
| 529 |
+
$("#mobileSignupButton").textContent = currentUser ? "Log out β" : "Sign up β";
|
| 530 |
+
}
|
| 531 |
+
|
| 532 |
+
function handleAuthAction() {
|
| 533 |
+
if (!currentUser) {
|
| 534 |
+
setAuthMode("login");
|
| 535 |
+
openModal();
|
| 536 |
+
return;
|
| 537 |
+
}
|
| 538 |
+
|
| 539 |
+
currentUser = null;
|
| 540 |
+
localStorage.removeItem(SESSION_KEY);
|
| 541 |
+
updateAuthButtons();
|
| 542 |
+
setAuthMode("login", "You have been logged out of this prototype.");
|
| 543 |
+
}
|
| 544 |
+
|
| 545 |
+
function openSignup() {
|
| 546 |
+
if (currentUser) {
|
| 547 |
+
handleAuthAction();
|
| 548 |
+
return;
|
| 549 |
+
}
|
| 550 |
+
|
| 551 |
+
setAuthMode("signup");
|
| 552 |
+
openModal();
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
$("#loginButton").addEventListener("click", () => {
|
| 556 |
+
if (currentUser) {
|
| 557 |
+
document.querySelector("#about").scrollIntoView({ behavior: "smooth" });
|
| 558 |
+
return;
|
| 559 |
+
}
|
| 560 |
+
setAuthMode("login");
|
| 561 |
+
openModal();
|
| 562 |
+
});
|
| 563 |
+
|
| 564 |
+
["#signupButton", "#mobileSignupButton", "#heroSignupButton", "#aboutSignupButton", "#joinSignupButton"].forEach(selector => {
|
| 565 |
+
$(selector).addEventListener("click", openSignup);
|
| 566 |
+
});
|
| 567 |
+
|
| 568 |
+
$("#loginTab").addEventListener("click", () => setAuthMode("login"));
|
| 569 |
+
$("#signupTab").addEventListener("click", () => setAuthMode("signup"));
|
| 570 |
+
$("[data-close=authModal]").addEventListener("click", closeModal);
|
| 571 |
+
$("#authModal").addEventListener("click", event => {
|
| 572 |
+
if (event.target === $("#authModal")) closeModal();
|
| 573 |
+
});
|
| 574 |
+
|
| 575 |
+
$("#loginForm").addEventListener("submit", async event => {
|
| 576 |
+
event.preventDefault();
|
| 577 |
+
const email = $("#loginEmail").value.trim().toLowerCase();
|
| 578 |
+
const password = $("#loginPassword").value;
|
| 579 |
+
const user = getUsers().find(item => item.email === email);
|
| 580 |
+
|
| 581 |
+
if (!user) {
|
| 582 |
+
$("#authMessage").textContent = "No demo account was found with that email.";
|
| 583 |
+
return;
|
| 584 |
+
}
|
| 585 |
+
|
| 586 |
+
if (await hashPassword(password) !== user.passwordHash) {
|
| 587 |
+
$("#authMessage").textContent = "That password does not match this demo account.";
|
| 588 |
+
return;
|
| 589 |
+
}
|
| 590 |
+
|
| 591 |
+
setSession(user);
|
| 592 |
+
$("#loginForm").reset();
|
| 593 |
+
closeModal();
|
| 594 |
+
});
|
| 595 |
+
|
| 596 |
+
$("#signupForm").addEventListener("submit", async event => {
|
| 597 |
+
event.preventDefault();
|
| 598 |
+
const name = $("#signupName").value.trim();
|
| 599 |
+
const email = $("#signupEmail").value.trim().toLowerCase();
|
| 600 |
+
const password = $("#signupPassword").value;
|
| 601 |
+
|
| 602 |
+
if (password.length < 6) {
|
| 603 |
+
$("#authMessage").textContent = "Use at least 6 characters for this demo password.";
|
| 604 |
+
return;
|
| 605 |
+
}
|
| 606 |
+
|
| 607 |
+
const users = getUsers();
|
| 608 |
+
if (users.some(user => user.email === email)) {
|
| 609 |
+
$("#authMessage").textContent = "An account with that email already exists.";
|
| 610 |
+
return;
|
| 611 |
+
}
|
| 612 |
+
|
| 613 |
+
const user = { id: makeId(), name, email, passwordHash: await hashPassword(password) };
|
| 614 |
+
users.push(user);
|
| 615 |
+
saveUsers(users);
|
| 616 |
+
setSession(user);
|
| 617 |
+
$("#signupForm").reset();
|
| 618 |
+
closeModal();
|
| 619 |
+
});
|
| 620 |
+
|
| 621 |
+
$("#menuButton").addEventListener("click", () => {
|
| 622 |
+
const menu = $("#mobileNav");
|
| 623 |
+
const isOpen = !menu.hidden;
|
| 624 |
+
menu.hidden = isOpen;
|
| 625 |
+
$("#menuButton").setAttribute("aria-expanded", String(!isOpen));
|
| 626 |
+
});
|
| 627 |
+
|
| 628 |
+
$$(".mobile-nav a").forEach(link => {
|
| 629 |
+
link.addEventListener("click", () => {
|
| 630 |
+
$("#mobileNav").hidden = true;
|
| 631 |
+
$("#menuButton").setAttribute("aria-expanded", "false");
|
| 632 |
+
});
|
| 633 |
+
});
|
| 634 |
+
|
| 635 |
+
document.addEventListener("keydown", event => {
|
| 636 |
+
if (event.key === "Escape" && !$("#authModal").hidden) closeModal();
|
| 637 |
+
});
|
| 638 |
+
|
| 639 |
+
updateAuthButtons();
|
| 640 |
+
</script>
|
| 641 |
+
</body>
|
| 642 |
</html>
|