Skip to content

Commit 3f36875

Browse files
committed
Replace "Community" with "Course" in docs nav
1 parent b7e4c25 commit 3f36875

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

src/components/docs-sidebar.tsx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,24 +93,21 @@ function TopNav() {
9393
Playground
9494
</TopNavLink>
9595
</li>
96-
<li>
97-
<TopNavLink href="https://github.com/tailwindlabs/tailwindcss/discussions">
96+
<li className="flex items-center gap-3">
97+
<TopNavLink href="/course">
9898
<svg viewBox="0 0 16 16" fill="none">
99-
<path
100-
data-highlight
101-
d="M6.00009 14.5C7.46126 14.5 8.85879 14.2275 10.1446 13.7305C10.3352 13.6569 10.5054 13.5508 10.6492 13.4215C11.1036 13.0128 11.2947 12.3712 11.0339 11.7807C10.768 11.1783 10.3971 10.6327 9.94444 10.167C8.94508 9.13877 7.54718 8.5 6.00009 8.5C3.75222 8.5 1.81932 9.84851 0.966222 11.7807C0.622968 12.5581 1.06286 13.4241 1.85555 13.7305C3.14138 14.2275 4.53891 14.5 6.00009 14.5Z"
102-
/>
103-
<path
104-
data-highlight
105-
d="M8.50009 4C8.50009 5.38071 7.3808 6.5 6.00009 6.5C4.61937 6.5 3.50009 5.38071 3.50009 4C3.50009 2.61929 4.61937 1.5 6.00009 1.5C7.3808 1.5 8.50009 2.61929 8.50009 4Z"
106-
/>
99+
<path data-highlight d="M8 2 1 6l7 4 7-4-7-4Z" />
107100
<path
108101
data-outline
109-
d="M9.94444 10.167C10.5216 9.74744 11.232 9.5 12.0001 9.5C13.4063 9.5 14.6189 10.3293 15.1753 11.5256C15.546 12.3226 14.9303 13.1582 14.0654 13.3151C13.3954 13.4366 12.7051 13.5 12.0001 13.5C11.5431 13.5 11.0923 13.4733 10.6492 13.4215M9.94444 10.167C8.94508 9.13877 7.54718 8.5 6.00009 8.5C3.75222 8.5 1.81932 9.84851 0.966222 11.7807C0.622968 12.5581 1.06286 13.4241 1.85555 13.7305C3.14138 14.2275 4.53891 14.5 6.00009 14.5C7.46126 14.5 8.85879 14.2275 10.1446 13.7305C10.3352 13.6569 10.5054 13.5508 10.6492 13.4215M9.94444 10.167C10.3971 10.6327 10.768 11.1783 11.0339 11.7807C11.2947 12.3712 11.1036 13.0128 10.6492 13.4215M8.50009 4C8.50009 5.38071 7.3808 6.5 6.00009 6.5C4.61937 6.5 3.50009 5.38071 3.50009 4C3.50009 2.61929 4.61937 1.5 6.00009 1.5C7.3808 1.5 8.50009 2.61929 8.50009 4ZM13.5001 6C13.5001 6.82843 12.8285 7.5 12.0001 7.5C11.1717 7.5 10.5001 6.82843 10.5001 6C10.5001 5.17157 11.1717 4.5 12.0001 4.5C12.8285 4.5 13.5001 5.17157 13.5001 6Z"
102+
strokeLinecap="round"
103+
d="M3.5 7.429V13A7.466 7.466 0 0 0 8 14.5a7.466 7.466 0 0 0 4.5-1.5V7.43m-9 0L8 10l4.5-2.571m-9 0-2-1.143m11 1.143L15 6 8 2 1 6l.5.286m0 5.214V6.286"
110104
/>
111105
</svg>
112-
Community
106+
Course
113107
</TopNavLink>
108+
<div className="shrink-0 rounded-full bg-sky-300/20 px-2 font-mono text-[0.6875rem]/4.5 font-medium text-sky-700 uppercase">
109+
New
110+
</div>
114111
</li>
115112
</ul>
116113
);

0 commit comments

Comments
 (0)