Skip to content

Commit f3f5a98

Browse files
committed
Add an alert
1 parent a208a8c commit f3f5a98

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="flex items-center justify-center bg-teal-500 p-2 text-center text-sm text-white">
2+
<a href="https://github.com/orgs/NativePHP/discussions/278" onclick="fathom.trackEvent('alert_click');">
3+
Windows support is here! 🔥 Read the full announcement &rightarrow;
4+
</a>
5+
</div>

resources/views/components/layout.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<!-- / Fathom -->
2525
</head>
2626
<body class="min-h-screen font-sans antialiased bg-white dark:bg-gray-900 dark:text-white">
27+
<x-alert />
2728
<x-banner />
2829
{{ $slot }}
2930
<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>

resources/views/welcome.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<!-- / Fathom -->
2121
</head>
2222
<body class="w-full h-screen text-slate-900 bg-gray-50 dark:bg-gray-900 dark:text-white">
23+
<x-alert />
2324
<main id="app" class="flex flex-col items-center justify-center min-h-screen">
2425
<header class="flex flex-col items-center justify-center flex-1 gap-12 text-center md:py-12">
2526
<img src="{{ asset('logo.svg') }}" class="px-12 lg:h-32 dark:hidden">

0 commit comments

Comments
 (0)