Skip to content

Commit 9939ddf

Browse files
committed
Implement upgrade page
1 parent 3fbc0f5 commit 9939ddf

File tree

3 files changed

+461
-0
lines changed

3 files changed

+461
-0
lines changed

lib/uptimer_web/components/layouts/app.html.heex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@
2929
<!-- User Authentication -->
3030
<ul class="flex items-center gap-3 sm:gap-4 text-sm">
3131
<%= if @current_user do %>
32+
<li>
33+
<.link
34+
navigate={~p"/upgrade"}
35+
class="text-gray-600 dark:text-gray-300 hover:text-blue-600 dark:hover:text-blue-400 flex items-center transition-colors"
36+
>
37+
<span class="mr-1">
38+
<.icon name="hero-sparkles" class="h-4 w-4" />
39+
</span>
40+
<span class="hidden sm:inline">Upgrade</span>
41+
</.link>
42+
</li>
3243
<li class="hidden sm:flex items-center text-gray-600 dark:text-gray-300">
3344
<span class="mr-2"><.icon name="hero-user-solid" class="h-4 w-4" /></span>
3445
<span class="truncate max-w-[150px]">{@current_user.email}</span>

0 commit comments

Comments
 (0)