Skip to content

Commit 2b7e981

Browse files
authored
Merge branch 'main' into feat/marketing-grok
2 parents b8cea9e + ecb35f7 commit 2b7e981

62 files changed

Lines changed: 3819 additions & 607 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/marketing/src/components/LegalPage.astro‎

Lines changed: 414 additions & 0 deletions
Large diffs are not rendered by default.

‎apps/marketing/src/layouts/Layout.astro‎

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ import { GITHUB_REPOSITORY_URL, MARKETING_STATS } from "../lib/site";
44
interface Props {
55
title?: string;
66
description?: string;
7+
pageClass?: string;
78
}
89
910
const {
1011
title = "T3 Code",
1112
description = "T3 Code — The open-source control plane for coding agents.",
13+
pageClass,
1214
} = Astro.props;
1315
---
1416

@@ -30,7 +32,7 @@ const {
3032
<title>{title}</title>
3133
</head>
3234
<body>
33-
<div class="page">
35+
<div class:list={["page", pageClass]}>
3436
<nav class="nav">
3537
<div class="nav-inner">
3638
<a href="/" class="nav-brand" aria-label="T3 Code home">
@@ -67,6 +69,9 @@ const {
6769
<a href={GITHUB_REPOSITORY_URL} target="_blank" rel="noopener noreferrer">GitHub</a>
6870
<a href="https://discord.gg/jn4EGJjrvv" target="_blank" rel="noopener noreferrer">Discord</a>
6971
<a href="/download">Download</a>
72+
<a href="/terms-of-service">Terms</a>
73+
<a href="/privacy-policy">Privacy</a>
74+
<a href="/security-policy">Security</a>
7075
</div>
7176
</div>
7277
</footer>
@@ -279,7 +284,7 @@ const {
279284
min-height: 100vh;
280285
display: flex;
281286
flex-direction: column;
282-
overflow-x: hidden;
287+
overflow-x: clip;
283288
}
284289

285290
.nav {
@@ -402,6 +407,8 @@ const {
402407

403408
.footer-links {
404409
display: flex;
410+
flex-wrap: wrap;
411+
justify-content: flex-end;
405412
gap: 20px;
406413
}
407414

@@ -421,6 +428,28 @@ const {
421428
padding-left: 20px;
422429
padding-right: 20px;
423430
}
431+
432+
.legal-document-page .nav {
433+
display: none;
434+
}
435+
436+
.footer {
437+
padding-bottom: max(32px, env(safe-area-inset-bottom));
438+
}
439+
440+
.footer-inner {
441+
align-items: flex-start;
442+
flex-direction: column;
443+
gap: 28px;
444+
}
445+
446+
.footer-links {
447+
display: grid;
448+
grid-template-columns: repeat(3, minmax(0, 1fr));
449+
width: 100%;
450+
gap: 14px 20px;
451+
justify-content: initial;
452+
}
424453
}
425454

426455
@media (max-width: 420px) {
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
---
2+
import Layout from "../layouts/Layout.astro";
3+
4+
const documents = [
5+
{
6+
number: "01",
7+
title: "Privacy Policy",
8+
description: "How T3 Code handles information, connected services, and your privacy choices.",
9+
href: "/privacy-policy",
10+
},
11+
{
12+
number: "02",
13+
title: "Terms of Service",
14+
description: "The terms that govern your use of T3 Code and T3 Tools-operated services.",
15+
href: "/terms-of-service",
16+
},
17+
{
18+
number: "03",
19+
title: "Security Policy",
20+
description: "Our security practices, responsible disclosure process, and shared responsibilities.",
21+
href: "/security-policy",
22+
},
23+
] as const;
24+
---
25+
26+
<Layout
27+
title="Legal — T3 Code"
28+
description="Privacy, terms, and security documents for T3 Code."
29+
pageClass="legal-document-page"
30+
>
31+
<div class="legal-index">
32+
<header class="legal-index-hero">
33+
<p class="eyebrow">T3 Tools, Inc. / Legal</p>
34+
<h1>Legal</h1>
35+
<p>Policies and terms for T3 Code, collected in one place.</p>
36+
</header>
37+
38+
<nav class="document-list" aria-label="Legal documents">
39+
{documents.map((document) => (
40+
<a href={document.href} class="document-card">
41+
<span class="document-number">{document.number}</span>
42+
<span class="document-copy">
43+
<strong>{document.title}</strong>
44+
<span>{document.description}</span>
45+
</span>
46+
<span class="document-arrow" aria-hidden="true">&#8599;</span>
47+
</a>
48+
))}
49+
</nav>
50+
</div>
51+
</Layout>
52+
53+
<style>
54+
.legal-index {
55+
width: min(960px, calc(100% - 64px));
56+
margin: 0 auto;
57+
padding: clamp(72px, 10vw, 132px) 0 112px;
58+
}
59+
60+
.legal-index-hero {
61+
max-width: 680px;
62+
animation: fade-in 0.7s ease-out both;
63+
}
64+
65+
.legal-index h1 {
66+
margin-top: 18px;
67+
font-size: clamp(4rem, 10vw, 7.4rem);
68+
font-weight: 500;
69+
letter-spacing: -0.04em;
70+
line-height: 0.9;
71+
}
72+
73+
.legal-index-hero > p:last-child {
74+
margin-top: 30px;
75+
color: var(--fg-muted);
76+
font-size: clamp(1.05rem, 2vw, 1.3rem);
77+
line-height: 1.65;
78+
}
79+
80+
.document-list {
81+
display: grid;
82+
margin-top: clamp(64px, 9vw, 96px);
83+
border-top: 1px solid var(--border);
84+
}
85+
86+
.document-card {
87+
display: grid;
88+
grid-template-columns: 42px minmax(0, 1fr) auto;
89+
gap: 24px;
90+
align-items: center;
91+
padding: 30px 8px;
92+
border-bottom: 1px solid var(--border);
93+
transition: background-color 0.18s ease, padding 0.18s ease;
94+
}
95+
96+
.document-number {
97+
color: var(--accent);
98+
font-family: var(--font-mono);
99+
font-size: 0.7rem;
100+
letter-spacing: 0.1em;
101+
}
102+
103+
.document-copy {
104+
display: grid;
105+
gap: 7px;
106+
}
107+
108+
.document-copy strong {
109+
color: var(--fg);
110+
font-size: 1.2rem;
111+
font-weight: 500;
112+
letter-spacing: -0.02em;
113+
}
114+
115+
.document-copy > span {
116+
color: var(--fg-dim);
117+
font-size: 0.9rem;
118+
line-height: 1.55;
119+
}
120+
121+
.document-arrow {
122+
color: var(--fg-dim);
123+
font-size: 1.25rem;
124+
transition: color 0.18s ease, transform 0.18s ease;
125+
}
126+
127+
@media (hover: hover) and (pointer: fine) {
128+
.document-card:hover {
129+
padding-left: 16px;
130+
padding-right: 16px;
131+
background: rgba(255, 255, 255, 0.025);
132+
}
133+
134+
.document-card:hover .document-arrow {
135+
color: var(--fg);
136+
transform: translate(2px, -2px);
137+
}
138+
}
139+
140+
@media (max-width: 820px) {
141+
.legal-index {
142+
width: min(100% - 40px, 720px);
143+
padding-top: 56px;
144+
padding-bottom: 80px;
145+
}
146+
147+
.document-card {
148+
grid-template-columns: 30px minmax(0, 1fr) auto;
149+
gap: 14px;
150+
padding: 24px 4px;
151+
}
152+
}
153+
154+
@media (max-width: 420px) {
155+
.legal-index {
156+
width: calc(100% - 32px);
157+
padding-top: 42px;
158+
}
159+
160+
.legal-index h1 {
161+
font-size: 4.4rem;
162+
}
163+
164+
.document-copy strong {
165+
font-size: 1.08rem;
166+
}
167+
168+
.document-copy > span {
169+
font-size: 0.84rem;
170+
}
171+
}
172+
</style>

0 commit comments

Comments
 (0)