Skip to content

Commit cc0ea00

Browse files
committed
Merge branch 'remove-black-friday-banner'
2 parents fd2f9e3 + 49c661a commit cc0ea00

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

src/components/header.tsx

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export function Header(props: React.PropsWithChildren) {
124124
<Logo className="h-5 text-black dark:text-white" />
125125
</Link>
126126
<VersionPicker />
127-
<BlackFriday />
128127
</div>
129128
<div className="flex items-center gap-6 max-md:hidden">
130129
<SearchButton className="inline-flex items-center gap-1 rounded-full bg-gray-950/2 px-2 py-1 inset-ring inset-ring-gray-950/8 dark:bg-white/5 dark:inset-ring-white/2">
@@ -274,36 +273,3 @@ export function Header(props: React.PropsWithChildren) {
274273
</div>
275274
);
276275
}
277-
278-
function BlackFriday() {
279-
return (
280-
<Link
281-
href="https://tailwindcss.com/plus/black-friday"
282-
className="hidden items-center gap-2 rounded-full bg-gray-950 px-2.5 py-0.5 text-xs leading-5 text-white -outline-offset-1 hover:bg-gray-800 min-[71rem]:flex dark:bg-white/10 dark:hover:bg-white/20"
283-
>
284-
<svg viewBox="0 0 16 16" className="size-4 fill-sky-400">
285-
<path d="M15 3.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5zm1 9a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5v-9A1.5 1.5 0 0 1 1.5 2h13A1.5 1.5 0 0 1 16 3.5z"></path>
286-
<path d="M7 9.5v4H6v-4zM7 2.5v1H6v-1zM2.5 7v1h-2V7zM15.5 7v1h-5V7zM6 6a1 1 0 1 0-1 1h1zm1 2H5a2 2 0 1 1 2-2z"></path>
287-
<path d="M6.586 4.586A2 2 0 1 1 8 8H6V6c0-.511.196-1.024.586-1.414M7 7h1a1 1 0 1 0-1-1z"></path>
288-
<path d="M6.5 7c.794 0 1.492.4 2.035 1.004.54.602.952 1.429 1.199 2.369a.5.5 0 0 1-.967.254c-.216-.825-.566-1.498-.977-1.955C7.381 8.217 6.935 8 6.5 8s-.882.217-1.292.672c-.41.457-.759 1.13-.975 1.955a.5.5 0 0 1-.967-.254c.247-.94.658-1.767 1.2-2.37C5.007 7.402 5.705 7 6.498 7"></path>
289-
</svg>
290-
<div className="flex items-center gap-x-2">
291-
Black Friday
292-
<svg width="2" height="2" fill="currentColor" aria-hidden="true" className="text-gray-400">
293-
<circle cx="1" cy="1" r="1" />
294-
</svg>
295-
Get Tailwind Plus for up to 33% off
296-
<svg width="3" height="6" className="ml-1 overflow-visible text-gray-300 dark:text-gray-400" aria-hidden="true">
297-
<path
298-
d="M0 0L3 3L0 6"
299-
fill="none"
300-
stroke="currentColor"
301-
strokeWidth="1.5"
302-
strokeLinecap="round"
303-
strokeLinejoin="round"
304-
/>
305-
</svg>
306-
</div>
307-
</Link>
308-
);
309-
}

0 commit comments

Comments
 (0)