Skip to content

Commit

Permalink
Site: Add deprecation banner (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbouchenoire authored Nov 6, 2023
1 parent a149d75 commit 819127d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/site/src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,32 @@ export function Header({ className, ...props }: ComponentProps<"header">) {
</button>
</div>
</div>
<div className="mt-6 lg:mt-8">
<div className="bg-primary-500/10 dark:bg-primary-400/20 flex gap-2 rounded-lg p-5 pl-4 text-sm sm:gap-3">
<svg
className="text-primary-500 dark:text-primary-400 flex-none"
height="24"
role="presentation"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
clipRule="evenodd"
d="M3.773 15.986 10.276 4.93c.774-1.315 2.675-1.315 3.448 0l6.503 11.055C21.011 17.319 20.05 19 18.503 19H5.497c-1.547 0-2.508-1.68-1.724-3.014ZM12 8a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V9a1 1 0 0 1 1-1Zm-1 8a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z"
fill="currentColor"
fillRule="evenodd"
/>
</svg>
<div>
<small className="text-primary-500 dark:text-primary-400 text-2xs font-semibold uppercase leading-none tracking-widest">
Deprecation notice
</small>
<p className="mt-2 leading-relaxed text-zinc-700 dark:text-zinc-100">
This project is archived and no longer maintained.
</p>
</div>
</div>
</div>
</header>
)
}

1 comment on commit 819127d

@vercel
Copy link

@vercel vercel bot commented on 819127d Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.