Skip to content

Commit 6d40b90

Browse files
committed
add big footer on homepage
1 parent 23043e2 commit 6d40b90

File tree

1 file changed

+2
-32
lines changed

1 file changed

+2
-32
lines changed

lib/algora_web/live/home_live.ex

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ defmodule AlgoraWeb.HomeLive do
1010
alias Algora.Accounts.User
1111
alias Algora.Payments.Transaction
1212
alias Algora.Repo
13+
alias AlgoraWeb.Components.Footer
1314
alias AlgoraWeb.Components.Header
1415
alias AlgoraWeb.Components.Wordmarks
1516
alias AlgoraWeb.Data.PlatformStats
@@ -153,38 +154,7 @@ defmodule AlgoraWeb.HomeLive do
153154
</div>
154155
</div>
155156
<!-- New Footer -->
156-
<footer class="border-t">
157-
<div class="mx-auto max-w-7xl px-6 py-12 md:flex md:items-center md:justify-between lg:px-8">
158-
<div class="flex justify-center space-x-6 md:order-2">
159-
<.link
160-
href={AlgoraWeb.Constants.get(:twitter_url)}
161-
class="text-muted-foreground hover:text-foreground"
162-
>
163-
<span class="sr-only">Twitter</span>
164-
<.icon name="tabler-brand-twitter" class="h-6 w-6" />
165-
</.link>
166-
<.link
167-
href={AlgoraWeb.Constants.get(:github_url)}
168-
class="text-muted-foreground hover:text-foreground"
169-
>
170-
<span class="sr-only">GitHub</span>
171-
<.icon name="tabler-brand-github" class="h-6 w-6" />
172-
</.link>
173-
<.link
174-
href={AlgoraWeb.Constants.get(:discord_url)}
175-
class="text-muted-foreground hover:text-foreground"
176-
>
177-
<span class="sr-only">Discord</span>
178-
<.icon name="tabler-brand-discord" class="h-6 w-6" />
179-
</.link>
180-
</div>
181-
<div class="mt-8 md:order-1 md:mt-0">
182-
<p class="text-center text-sm leading-5 text-muted-foreground">
183-
&copy; {DateTime.utc_now().year} Algora, Public Benefit Corporation
184-
</p>
185-
</div>
186-
</div>
187-
</footer>
157+
<Footer.footer />
188158
</div>
189159
</main>
190160
</div>

0 commit comments

Comments
 (0)