Skip to content

Commit 6497246

Browse files
authored
fix(marketing): use app wordmark in header (#13240)
1 parent 33806e7 commit 6497246

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,15 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
7878
<nav class="nav">
7979
<div class="nav-inner">
8080
<a href="/" class="nav-brand" aria-label="T3 Code home">
81-
<span class="nav-brand-name">T3 Code</span>
81+
<svg
82+
class="nav-brand-mark"
83+
viewBox="15.5309 37 94.3941 56.96"
84+
fill="currentColor"
85+
aria-hidden="true"
86+
>
87+
<path d="M33.4509 93V47.56H15.5309V37H64.3309V47.56H46.4109V93H33.4509ZM86.7253 93.96C82.832 93.96 78.9653 93.4533 75.1253 92.44C71.2853 91.3733 68.032 89.88 65.3653 87.96L70.4053 78.04C72.5386 79.5867 75.0186 80.8133 77.8453 81.72C80.672 82.6267 83.5253 83.08 86.4053 83.08C89.6586 83.08 92.2186 82.44 94.0853 81.16C95.952 79.88 96.8853 78.12 96.8853 75.88C96.8853 73.7467 96.0586 72.0667 94.4053 70.84C92.752 69.6133 90.0853 69 86.4053 69H80.4853V60.44L96.0853 42.76L97.5253 47.4H68.1653V37H107.365V45.4L91.8453 63.08L85.2853 59.32H89.0453C95.9253 59.32 101.125 60.8667 104.645 63.96C108.165 67.0533 109.925 71.0267 109.925 75.88C109.925 79.0267 109.099 81.9867 107.445 84.76C105.792 87.48 103.259 89.6933 99.8453 91.4C96.432 93.1067 92.0586 93.96 86.7253 93.96Z" />
88+
</svg>
89+
<span class="nav-brand-name">Code</span>
8290
</a>
8391
<div class="nav-right">
8492
<a class="nav-link" href="/download">Download</a>
@@ -365,7 +373,8 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
365373

366374
.nav-brand {
367375
display: inline-flex;
368-
align-items: center;
376+
align-items: baseline;
377+
gap: 4px;
369378
color: var(--fg);
370379
transition: color 0.2s ease;
371380
}
@@ -374,11 +383,18 @@ const canonicalUrl = new URL(Astro.url.pathname, Astro.site);
374383
color: #fff;
375384
}
376385

386+
.nav-brand-mark {
387+
height: 1cap;
388+
width: auto;
389+
flex: none;
390+
}
391+
377392
.nav-brand-name {
378393
font-size: 16px;
379-
font-weight: 650;
394+
font-weight: 500;
380395
letter-spacing: -0.025em;
381396
line-height: 1;
397+
color: var(--fg-muted);
382398
}
383399

384400
.nav-right {

0 commit comments

Comments
 (0)