Skip to content

Commit

Permalink
[Home] Add section of citizen pools #820
Browse files Browse the repository at this point in the history
  • Loading branch information
mellelieuwes committed Jun 5, 2024
1 parent 92e34ff commit c476c46
Show file tree
Hide file tree
Showing 150 changed files with 998 additions and 27,438 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ repos:
hooks:
- id: trailing-whitespace
- id: check-added-large-files
exclude: "core/priv/static/landing_page/img/uu.svg"
- id: check-merge-conflict
- id: no-commit-to-branch
args: [-b, master]
Expand Down
16 changes: 8 additions & 8 deletions core/assets/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,18 @@ module.exports = {
"platform-footer": "62px",
"footer-sm": "64px",
"footer-lg": "96px",
header1: "100px",
"header1-sm": "170px",
"header1-lg": "370px",
header2: "100px",
"header2-sm": "100px",
"header2-lg": "183px",
hero1: "100px",
"hero1-sm": "170px",
"hero1-lg": "360px",
hero2: "100px",
"hero2-sm": "100px",
"hero2-lg": "183px",
logo: "32px",
"logo-sm": "48px",
"lab-day-popup-list": "392px",
"image-header": "375px",
"image-header-sm": "500px",
"image-card": "200px",
"image-card": "212px",
"image-preview": "90px",
"image-preview-sm": "150px",
"image-preview-circle": "120px",
Expand Down Expand Up @@ -249,7 +249,7 @@ module.exports = {
},
maxHeight: {
dropdown: "317px",
header1: "376px",
hero1: "376px",
form: "400px",
mailto: "128px",
"wysiwyg-editor": "960px",
Expand Down
10 changes: 0 additions & 10 deletions core/bundles/next/bundle.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ defmodule Next.Bundle do
def routes do
if include?() do
quote do
scope "/", Next do
pipe_through([:browser])
get("/", Home.LandingPageController, :show)
end

scope "/", Next do
pipe_through([:browser, :redirect_if_user_is_authenticated])
live("/user/signin", Account.SigninPage)
Expand All @@ -23,11 +18,6 @@ defmodule Next.Bundle do
pipe_through([:browser])
delete("/user/session", Account.SessionController, :delete)
end

scope "/", Systems do
pipe_through([:browser, :require_authenticated_user])
live("/next", Console.Page)
end
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions core/bundles/next/config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ config :core,
stripped_menu_builder: Next.Layouts.Stripped.MenuBuilder

config :core, Systems.Account.UserAuth,
researcher_signed_in_page: "/project",
participant_signed_in_page: "/project"
creator_signed_in_page: "/project",
member_signed_in_page: "/"

config :core, :features,
sign_in_with_apple: false,
Expand Down
9 changes: 0 additions & 9 deletions core/bundles/next/lib/home/landing_page_controller.ex

This file was deleted.

5 changes: 0 additions & 5 deletions core/bundles/next/lib/home/landing_page_html.ex

This file was deleted.

Loading

0 comments on commit c476c46

Please sign in to comment.