Skip to content

Commit a3a6076

Browse files
committed
Revert "Add Black Friday banner"
This reverts commit 8632d98.
1 parent 9bd3f6b commit a3a6076

File tree

1 file changed

+1
-40
lines changed

1 file changed

+1
-40
lines changed

src/components/Header.js

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -44,45 +44,6 @@ function Featured() {
4444
)
4545
}
4646

47-
function BlackFriday() {
48-
return (
49-
<Link
50-
href="https://tailwindui.com/all-access"
51-
className="ml-3 text-xs leading-5 font-medium text-white dark:text-sky-400 bg-slate-900 rounded-full py-1 px-3 hidden xl:flex items-center hover:bg-slate-700"
52-
>
53-
<strong className="font-semibold">Black Friday Deal</strong>
54-
<svg
55-
width="2"
56-
height="2"
57-
fill="currentColor"
58-
aria-hidden="true"
59-
className="ml-2 text-slate-400 dark:text-sky-400/70"
60-
>
61-
<circle cx="1" cy="1" r="1" />
62-
</svg>
63-
<span className="ml-2">
64-
Get Tailwind UI + Refactoring UI{' '}
65-
<span className="hidden min-[1320px]:inline">together</span> for over 30% off
66-
</span>
67-
<svg
68-
width="3"
69-
height="6"
70-
className="ml-3 overflow-visible text-slate-300 dark:text-sky-400"
71-
aria-hidden="true"
72-
>
73-
<path
74-
d="M0 0L3 3L0 6"
75-
fill="none"
76-
stroke="currentColor"
77-
strokeWidth="1.5"
78-
strokeLinecap="round"
79-
strokeLinejoin="round"
80-
/>
81-
</svg>
82-
</Link>
83-
)
84-
}
85-
8647
export function NavPopover({ display = 'md:hidden', className, ...props }) {
8748
let [isOpen, setIsOpen] = useState(false)
8849

@@ -258,7 +219,7 @@ export function Header({ hasNav = false, navIsOpen, onNavToggle, title, section
258219
<Logo className="w-auto h-5" />
259220
</Link>
260221
<VersionSwitcher />
261-
<BlackFriday />
222+
<Featured />
262223
<div className="relative hidden lg:flex items-center ml-auto">
263224
<nav className="text-sm leading-6 font-semibold text-slate-700 dark:text-slate-200">
264225
<ul className="flex space-x-8">

0 commit comments

Comments
 (0)