Skip to content

Commit 9002ea5

Browse files
committed
Remove password gate; link Amber in footer credits
1 parent 96b3618 commit 9002ea5

3 files changed

Lines changed: 4 additions & 65 deletions

File tree

‎index.css‎

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Xcode × AI developer survey report
22
Look: near-black stage with film grain, soft per-chapter glow, rounded shadcn-style surfaces,
33
floating iOS-style frosted-glass sidebar, centered chapter headers, generous spacing.
4-
Sections: tokens · grain · gate · sidebar · hero · chapter head · cards · controls · parts 1–5 · wall · responsive. */
4+
Sections: tokens · grain · sidebar · hero · chapter head · cards · controls · parts 1–5 · wall · responsive. */
55

66
/* Tokens (shadcn semantics, dark) */
77
:root {
@@ -48,26 +48,6 @@ mark { padding: 0; color: var(--foreground); background: none; font-weight: 600;
4848
/* Film grain over everything (static SVG turbulence) */
4949
body::after { position: fixed; z-index: 60; inset: 0; pointer-events: none; opacity: .36; mix-blend-mode: soft-light; content: ""; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
5050

51-
/* Access gate */
52-
.auth-gate { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--background); transition: opacity .3s, visibility .3s; }
53-
.auth-card { width: min(100%, 420px); padding: 36px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); box-shadow: 0 24px 60px rgb(0 0 0 / .5); }
54-
.auth-eyebrow { margin-bottom: 28px; color: var(--muted-foreground); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-align: center; }
55-
.auth-label { display: grid; gap: 4px; margin-bottom: 18px; font-size: 28px; font-weight: 600; line-height: 1.2; text-align: center; }
56-
.auth-label small { color: var(--muted-foreground); font-size: 13px; font-weight: 400; }
57-
.auth-card input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); outline: 0; color: var(--foreground); background: var(--background); font: inherit; }
58-
.auth-card input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgb(96 165 250 / .22); }
59-
.auth-error { min-height: 20px; margin: 8px 0; color: #fca5a5; font-size: 12px; text-align: center; }
60-
.auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; padding: 0 18px; border: 0; border-radius: var(--radius-sm); color: var(--on-accent); background: var(--foreground); }
61-
.auth-submit:hover { background: #fff; }
62-
.auth-submit-arrow { flex: none; width: 18px; height: 18px; transition: transform .2s; }
63-
.auth-submit:hover .auth-submit-arrow { transform: translateX(3px); }
64-
.auth-submit-copy { display: flex; align-items: baseline; gap: 8px; }
65-
.auth-submit-copy strong { font-weight: 600; }
66-
.auth-submit-copy small { color: #52525b; font-size: 12px; }
67-
html.is-authenticated .auth-gate { visibility: hidden; opacity: 0; pointer-events: none; }
68-
html:not(.is-authenticated) { overflow: hidden; }
69-
html:not(.is-authenticated) .app { visibility: hidden; }
70-
7151
/* Floating frosted-glass sidebar (iOS 18 style) */
7252
.sidebar { position: fixed; z-index: 40; top: 50%; left: var(--G); display: flex; flex-direction: column; gap: 18px; width: var(--side-w); max-height: calc(100vh - 40px); padding: 18px 14px 14px; transform: translate(-16px, -50%); opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .4s ease;
7353
border: 1px solid rgb(255 255 255 / .13); border-radius: 12px;

‎index.html‎

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,10 @@
88
<link rel="preconnect" href="https://fonts.googleapis.com">
99
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap">
11-
<link rel="stylesheet" href="index.css?v=95">
11+
<link rel="stylesheet" href="index.css?v=96">
1212
<link rel="stylesheet" href="vendor/svgmap/svg-map.min.css">
1313
</head>
1414
<body>
15-
<section class="auth-gate">
16-
<form class="auth-card" id="auth-form" novalidate>
17-
<p class="auth-eyebrow">SWIFTGG · DEVELOPER RESEARCH 2026</p>
18-
<label class="auth-label" for="auth-password">
19-
<span>输入密码</span>
20-
<small>Enter your password</small>
21-
</label>
22-
<input id="auth-password" name="password" type="password" autocomplete="current-password" required autofocus>
23-
<p class="auth-error" id="auth-error" role="alert" aria-live="polite"></p>
24-
<button class="auth-submit" type="submit">
25-
<span class="auth-submit-copy"><strong>开启网站</strong><small>Open website</small></span>
26-
<svg class="auth-submit-arrow" viewBox="0 0 20 20" aria-hidden="true"><path d="M4 10h11M11 5.5 15.5 10 11 14.5" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/></svg>
27-
</button>
28-
</form>
29-
</section>
3015
<div class="app" id="top">
3116
<aside class="sidebar">
3217
<a class="brand" href="#top" aria-label="SwiftGG — back to top"><img src="assets/swiftgg-logo-mono.png" alt="SwiftGG"></a>
@@ -45,6 +30,6 @@
4530
</main>
4631
</div>
4732
<script src="vendor/svgmap/svg-map.umd.min.js"></script>
48-
<script src="index.js?v=95"></script>
33+
<script src="index.js?v=96"></script>
4934
</body>
5035
</html>

‎index.js‎

Lines changed: 1 addition & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)