Skip to content

Commit 38a9de6

Browse files
committed
misc
1 parent 9ad6340 commit 38a9de6

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

lib/algora_web/components/banner.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ defmodule AlgoraWeb.Components.Banner do
99

1010
def banner(assigns) do
1111
~H"""
12-
<div class="group flex items-center gap-x-6 bg-emerald-600 px-6 py-2.5 sm:px-3.5 sm:before:flex-1">
12+
<div class="group flex items-center gap-x-6 bg-emerald-600 px-6 py-1.5 sm:px-3.5 sm:before:flex-1 whitespace-nowrap">
1313
<p class="text-sm/6 text-foreground">
1414
<.link
1515
href={Constants.get(:github_repo_url)}
1616
rel="noopener"
1717
target="_blank"
18-
class="font-medium"
18+
class="font-semibold"
1919
>
2020
<strong class="font-semibold">🎉 Algora is now open source!</strong><svg
2121
viewBox="0 0 2 2"

lib/algora_web/components/header.ex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule AlgoraWeb.Components.Header do
2121
<header class="absolute inset-x-0 top-0 z-50">
2222
<AlgoraWeb.Components.Banner.banner />
2323
<nav
24-
class="-mt-4 mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8"
24+
class="-mt-3 mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8"
2525
aria-label="Global"
2626
>
2727
<div class="flex">
@@ -68,8 +68,9 @@ defmodule AlgoraWeb.Components.Header do
6868
<span class="hidden xl:block text-foreground/80 group-hover:text-foreground">
6969
Star
7070
</span>
71-
<span class="font-semibold text-foreground/90 group-hover:text-foreground">
71+
<span class="font-semibold text-amber-300 flex items-center gap-1">
7272
{Algora.Stargazer.count()}
73+
<.icon name="tabler-star-filled" class="h-3 w-3 shrink-0" />
7374
</span>
7475
</div>
7576
</div>
@@ -129,8 +130,9 @@ defmodule AlgoraWeb.Components.Header do
129130
class="mr-2 h-5 shrink-0 justify-start text-foreground/80 group-hover:text-foreground transition"
130131
/>
131132
<span class="mr-1">Star</span>
132-
<span class="font-semibold text-foreground/80 group-hover:text-foreground">
133+
<span class="font-semibold text-amber-300 flex items-center gap-1">
133134
{Algora.Stargazer.count()}
135+
<.icon name="tabler-star-filled" class="h-3 w-3 shrink-0" />
134136
</span>
135137
</.button>
136138
<.button navigate={~p"/auth/signup"} class="w-full">

lib/algora_web/components/layouts/user.html.heex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@
8585
class="mr-2 h-5 shrink-0 justify-start text-foreground/80 group-hover:text-foreground transition"
8686
/>
8787
<span class="mr-1">Star</span>
88-
<span class="font-semibold text-foreground/80 group-hover:text-foreground">
88+
<span class="font-semibold text-amber-300 flex items-center gap-1">
8989
{Algora.Stargazer.count()}
90+
<.icon name="tabler-star-filled" class="h-3 w-3 shrink-0" />
9091
</span>
9192
</.button>
9293
<.button :if={!@current_user.handle} navigate={~p"/auth/signup"} class="w-full">
@@ -241,8 +242,9 @@
241242
<div class="flex w-full items-center justify-center gap-x-1">
242243
<AlgoraWeb.Components.Logos.github class="mr-0.5 h-5 shrink-0 justify-start text-gray-300 transition" />
243244
<span class="hidden sm:block">Star</span>
244-
<span class="font-semibold text-gray-300">
245+
<span class="font-semibold text-amber-300 flex items-center gap-1">
245246
{Algora.Stargazer.count()}
247+
<.icon name="tabler-star-filled" class="h-3 w-3 shrink-0" />
246248
</span>
247249
</div>
248250
</div>

lib/algora_web/live/home_live.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ defmodule AlgoraWeb.HomeLive do
186186
<main class="bg-black relative overflow-hidden">
187187
<section class="relative isolate min-h-[100svh] bg-gradient-to-b from-background to-black">
188188
<.pattern />
189-
<div class="mx-auto max-w-7xl pt-24 pb-12 xl:pt-20">
189+
<div class="mx-auto max-w-7xl pt-24 pb-12 xl:pt-24">
190190
<div class="mx-auto lg:mx-0 lg:flex lg:max-w-none">
191191
<div class={
192192
classes([

0 commit comments

Comments
 (0)