-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from spryker-community/feature/hackweek-banner
Adds hackweek banner
- Loading branch information
Showing
5 changed files
with
38 additions
and
6 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
src/components/ui/banners/AnnouncementBannerHackWeek.astro
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,31 @@ | ||
--- | ||
import { Image } from "astro:assets"; | ||
import hackWeek from '/src/images/banner/HackWeek-Banner_1200x90.jpg'; | ||
const { url } = Astro.props; | ||
interface Props { | ||
url: string; | ||
} | ||
--- | ||
|
||
<astro-banner> | ||
<div | ||
class="z-50 w-full transform" | ||
role="region" | ||
aria-label="Informational Banner" | ||
> | ||
<div | ||
class="py-8 text-center shadow-sm" | ||
> | ||
<div class="inline-flex items-center mx-auto max-w-screen-xl px-4 sm:px-8 lg:px-10"> | ||
<a | ||
class="cursor-pointer" | ||
href={url} | ||
target="_blank" | ||
><Image class="rounded" src={hackWeek} alt="HackWeek" width="1152" height="86" loading="eager" /></a> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</astro-banner> | ||
|
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
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