-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from sgobotta/feature/migrate-to-phoenix-livev…
…iew-0.18.11 feature/migrate to phoenix liveview 0.18.11
- Loading branch information
Showing
77 changed files
with
407 additions
and
297 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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
erlang 23.3.4 | ||
elixir 1.12.3-otp-23 | ||
erlang 25.2.1 | ||
elixir 1.14.3-otp-25 | ||
nodejs 16.13.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
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,6 +1,6 @@ | ||
@layer components { | ||
.dashboard-container { | ||
@apply p-4 mb-16; | ||
@apply p-4 mb-28; | ||
} | ||
|
||
.l-centered { | ||
|
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,23 +1,29 @@ | ||
progress { | ||
border-radius: 7px; | ||
width: 100%; | ||
height: 8px; | ||
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
progress::-webkit-progress-bar { | ||
background-color: lightgrey; | ||
border-radius: 7px; | ||
} | ||
|
||
progress::-webkit-progress-value { | ||
background-color: black; | ||
border-radius: 12px; | ||
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4); | ||
} | ||
|
||
::-moz-progress-bar { | ||
background-color: black; | ||
border-radius: 7px; | ||
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4); | ||
@layer components { | ||
progress { | ||
@apply rounded-lg w-full h-2 shadow-lg; | ||
} | ||
progress { | ||
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
progress::-webkit-progress-bar { | ||
@apply bg-gray-300 rounded-lg; | ||
} | ||
progress::-webkit-progress-bar { | ||
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
progress::-webkit-progress-value { | ||
@apply bg-sky-500 rounded-lg shadow-lg; | ||
} | ||
progress::-webkit-progress-value { | ||
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4); | ||
} | ||
|
||
::-moz-progress-bar { | ||
@apply bg-sky-500 rounded-lg shadow-lg; | ||
} | ||
::-moz-progress-bar { | ||
box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.4); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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
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,19 @@ | ||
defmodule ExCommerceWeb.Components.IconComponent do | ||
@moduledoc """ | ||
Wrapper for the Heroicons library | ||
""" | ||
use Phoenix.Component | ||
|
||
attr :rest, :global, | ||
doc: "the arbitrary HTML attributes for the svg container", | ||
include: ~w(fill stroke stroke-width) | ||
|
||
attr :name, :atom, required: true | ||
attr :outline, :boolean, default: true | ||
attr :solid, :boolean, default: false | ||
attr :mini, :boolean, default: false | ||
|
||
def render_icon(assigns) do | ||
apply(Heroicons, assigns.name, [assigns]) | ||
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
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
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
Oops, something went wrong.