diff --git a/apps/marketing/src/layouts/Layout.astro b/apps/marketing/src/layouts/Layout.astro index e60637cbfd..6f58efd490 100644 --- a/apps/marketing/src/layouts/Layout.astro +++ b/apps/marketing/src/layouts/Layout.astro @@ -1,4 +1,6 @@ --- +import { GITHUB_REPOSITORY_URL, MARKETING_STATS } from "../lib/site"; + interface Props { title?: string; description?: string; @@ -36,17 +38,18 @@ const {
@@ -62,7 +65,7 @@ const { © {new Date().getFullYear()} T3 Tools Inc · MIT licensed @@ -329,23 +332,12 @@ const { gap: 8px; } - .nav-gh { - display: inline-flex; - align-items: center; - gap: 6px; - padding: 7px 12px; - border: 1px solid var(--border); - border-radius: 8px; - color: var(--fg-muted); - font-family: var(--font-mono); - font-size: 12px; - transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; - } - - .nav-gh:hover { - color: var(--fg); - background: rgba(255, 255, 255, 0.04); - border-color: var(--border-strong); + .nav-action { + width: 112px; + height: 38px; + padding: 0 12px; + font-size: 13px; + line-height: 1; } .main { @@ -407,4 +399,22 @@ const { padding-right: 20px; } } + + @media (max-width: 420px) { + .nav-inner { + gap: 12px; + } + + .nav-right { + gap: 6px; + } + + .nav-action { + width: 98px; + height: 36px; + gap: 6px; + padding: 0 8px; + font-size: 12px; + } + } diff --git a/apps/marketing/src/lib/site.ts b/apps/marketing/src/lib/site.ts new file mode 100644 index 0000000000..40a8370f3e --- /dev/null +++ b/apps/marketing/src/lib/site.ts @@ -0,0 +1,6 @@ +export const GITHUB_REPOSITORY_URL = "https://github.com/pingdotgg/t3code"; + +export const MARKETING_STATS = { + githubStars: "12k+", + users: "100,000+", +} as const; diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro index 0b76f35089..36ebf76485 100644 --- a/apps/marketing/src/pages/index.astro +++ b/apps/marketing/src/pages/index.astro @@ -1,5 +1,6 @@ --- import Layout from "../layouts/Layout.astro"; +import { GITHUB_REPOSITORY_URL, MARKETING_STATS } from "../lib/site"; import { tweets } from "../lib/tweets"; const desktopEndorsementRows = [ @@ -35,6 +36,17 @@ const mobileEndorsementRows = [- T3 Code is as open as they come. We built this app to be modifiable, - customizable, and forkable. Go nuts - that's the whole point. -
Change the UI, add an agent, or ship your own build.