-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8424c66
commit c39464b
Showing
7 changed files
with
70 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import { Button } from "./ui/button"; | ||
import Image from "next/image"; | ||
import devsoc from "@/assets/DEVSOC.svg"; | ||
import Link from "next/link"; | ||
|
||
export default function Banner() { | ||
return ( | ||
<> | ||
<div className="flex h-fit w-full items-center justify-center bg-[#434dba] px-6 py-3 text-center text-white sm:h-14 sm:py-0 md:sticky md:top-0 md:justify-between md:text-left z-50"> | ||
<div className="flex items-center gap-x-2"> | ||
<Image | ||
src={devsoc as HTMLImageElement} | ||
alt="devsoclogo" | ||
height={40} | ||
width={40} | ||
className="md:hidden" | ||
/> | ||
<span className="hidden md:block"> | ||
Master Exams with Papers and gear up to Build Beyond Limits at | ||
DevSOC'25 | ||
</span> | ||
<Link | ||
href="https://devsoc.codechefvit.com/" | ||
className="block md:hidden" | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
> | ||
Register for DevSOC'25 | ||
</Link> | ||
</div> | ||
<div className="hidden md:block"> | ||
<Button className="bg-[#AA7AE7]"> | ||
<Link | ||
className="flex gap-x-2 items-center" | ||
href="https://devsoc.codechefvit.com/" | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
> | ||
<span> | ||
<Image | ||
src={devsoc as HTMLImageElement} | ||
alt="devsoclogo" | ||
height={20} | ||
width={20} | ||
/> | ||
</span> | ||
<span className="font-yerk text-xs">Register</span> | ||
</Link> | ||
</Button> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters