-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: overhaul the front page
- Loading branch information
1 parent
3832da2
commit 798e342
Showing
9 changed files
with
164 additions
and
126 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
elixir 1.14.0 | ||
elixir 1.15.0 | ||
nodejs 18.12.0 | ||
erlang 25.1.2 | ||
erlang 26.0.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
defmodule AshHqWeb.Components.Feature do | ||
@moduledoc "A feature in the home page feature exposè" | ||
use Surface.Component | ||
|
||
import AshHqWeb.Tails | ||
|
||
prop name, :string, required: true | ||
prop class, :string, default: nil | ||
|
||
slot icon | ||
slot description | ||
|
||
def render(assigns) do | ||
~F""" | ||
<div class="flex flex-col items-center"> | ||
<div class={classes(["w-16 h-16 text-primary-light-600 dark:text-primary-dark-400", @class])}> | ||
<#slot {@icon} /> | ||
</div> | ||
<div class="font-bold text-3xl mt-4"> | ||
{@name} | ||
</div> | ||
<div class="text-xl mt-4"> | ||
<#slot {@description} /> | ||
</div> | ||
</div> | ||
""" | ||
end | ||
end |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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