Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/marketing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"preview": "astro preview"
},
"dependencies": {
"@fontsource-variable/inter": "^5.3.0",
"@t3tools/shared": "workspace:*",
"astro": "^7.3.5",
"sharp": "0.35.4"
Expand Down
93 changes: 0 additions & 93 deletions apps/marketing/public/fonts/dm-sans-OFL.txt

This file was deleted.

93 changes: 0 additions & 93 deletions apps/marketing/public/fonts/jetbrains-mono-OFL.txt

This file was deleted.

Binary file not shown.
Binary file removed apps/marketing/src/assets/fonts/dm-sans-latin.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
66 changes: 20 additions & 46 deletions apps/marketing/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import { getImage, Image } from "astro:assets";
import appIcon from "../assets/icon.webp";
import socialCard from "../assets/social-card.webp";
import dmSansLatinUrl from "../assets/fonts/dm-sans-latin.woff2?url";
import "../styles/fonts.css";
import "@fontsource-variable/inter";
import {
ANDROID_PLAY_STORE_URL,
GITHUB_REPOSITORY_URL,
Expand Down Expand Up @@ -58,13 +57,6 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
<meta name="twitter:description" content={description} />
<meta name="twitter:image" content={socialImageUrl} />
<meta name="twitter:image:alt" content={socialImageAlt} />
<link
rel="preload"
href={dmSansLatinUrl}
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link rel="icon" href="/favicon.ico" sizes="48x48" />
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
Expand Down Expand Up @@ -153,22 +145,21 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);

<style is:global>
:root {
--bg: #09090b;
--bg-elev: #0c0c0e;
--bg-card: #111113;
--fg: #fafafa;
--fg-muted: #a1a1aa;
--fg-dim: #71717a;
--fg-faint: #52525b;
--bg: #000;
--bg-elev: #0a0a0a;
--bg-card: #0d0d0d;
--fg: #f5f5f5;
--fg-muted: #a3a3a3;
--fg-dim: #737373;
--fg-faint: #525252;
--border: rgba(255, 255, 255, 0.08);
--border-strong: rgba(255, 255, 255, 0.14);
--accent-h: 250;
--accent-h: 264;
--accent: oklch(0.68 0.17 var(--accent-h));
--accent-dim: oklch(0.68 0.17 var(--accent-h) / 0.15);
--ok: oklch(0.72 0.16 150);
--warn: oklch(0.76 0.15 75);
--font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
--font-sans: -apple-system, BlinkMacSystemFont, "Inter Variable", "Segoe UI", system-ui, sans-serif;
--font-mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
--radius: 12px;
--radius-sm: 8px;
--radius-lg: 16px;
Expand All @@ -189,25 +180,13 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
background: var(--bg);
color: var(--fg);
font-family: var(--font-sans);
font-feature-settings: "ss01", "ss02";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100vh;
overflow-x: hidden;
line-height: 1.5;
}

body::after {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
opacity: 0.035;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
background-repeat: repeat;
background-size: 256px 256px;
z-index: 9999;
}

a {
color: inherit;
Expand Down Expand Up @@ -238,8 +217,8 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
}

.display {
font-weight: 500;
letter-spacing: -0.035em;
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.05;
}

Expand All @@ -265,14 +244,14 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
}

.btn-primary {
background: var(--fg);
color: #09090b;
background: oklch(0.571 0.21 264);
color: #fff;
font-weight: 600;
}

.btn-primary:hover {
transform: translateY(-1px);
background: #fff;
background: oklch(0.62 0.2 264);
}

.btn-primary:active {
Expand Down Expand Up @@ -301,7 +280,7 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
position: relative;
border: 1px solid var(--border);
border-radius: var(--radius);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
background: var(--bg-card);
overflow: hidden;
}

Expand Down Expand Up @@ -419,21 +398,16 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
align-items: center;
gap: 7px;
height: 36px;
padding: 0 14px;
border: 1px solid var(--border);
border-radius: 999px;
background: rgba(255, 255, 255, 0.02);
padding: 0 10px;
color: var(--fg-muted);
font-size: 13px;
letter-spacing: -0.01em;
white-space: nowrap;
transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
transition: color 0.18s ease;
}

.nav-stars:hover {
color: var(--fg);
border-color: var(--border-strong);
background: rgba(255, 255, 255, 0.04);
}

.nav-stars strong {
Expand Down Expand Up @@ -492,7 +466,7 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);

.footer-links a {
font-size: 13px;
color: var(--fg-dim);
color: var(--fg-muted);
transition: color 0.2s ease;
}

Expand Down
2 changes: 1 addition & 1 deletion apps/marketing/src/lib/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export const ANDROID_PLAY_STORE_URL =
"https://play.google.com/store/apps/details?id=com.t3tools.t3code";

export const MARKETING_STATS = {
githubStars: "24k+",
githubStars: "31k+",
users: "500,000",
} as const;
Loading
Loading