Skip to content

Commit

Permalink
Merge pull request #1555 from DKurilo/bugfix/1547-responsive-welcome
Browse files Browse the repository at this point in the history
make Welcome page page more responsible
  • Loading branch information
mpscholten authored Oct 18, 2022
2 parents 85c5123 + 4ba5db7 commit 743c37e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions IHP/IDE/CodeGen/ApplicationGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ generateGenericApplication applicationName =
<>"\n"
<>"instance View WelcomeView where\n"
<>" html WelcomeView = [hsx|\n"
<>" <div style=\"background-color: #657b83; padding-top: 2rem; padding-bottom: 2rem; color:hsla(196, 13%, 96%, 1); border-radius: 4px\">\n"
<>" <div style=\"max-width: 800px; margin-left: auto; margin-right: auto; padding: 1rem\">\n"
<>" <div style=\"background-color: #657b83; padding: 2rem; color:hsla(196, 13%, 96%, 1); border-radius: 4px\">\n"
<>" <div style=\"max-width: 800px; margin-left: auto; margin-right: auto\">\n"
<>" <h1 style=\"margin-bottom: 2rem; font-size: 2rem; font-weight: 300; border-bottom: 1px solid white; padding-bottom: 0.25rem; border-color: hsla(196, 13%, 60%, 1)\">\n"
<>" IHP\n"
<>" </h1>\n"
Expand Down Expand Up @@ -198,7 +198,7 @@ generateGenericApplication applicationName =
<>" </div>\n"
<>"\n"
<>" <div style=\"max-width: 800px; margin-left: auto; margin-right: auto; margin-top: 4rem\">\n"
<>" <img src=\"/ihp-welcome-icon.svg\" alt=\"/ihp-welcome-icon\">\n"
<>" <img src=\"/ihp-welcome-icon.svg\" alt=\"/ihp-welcome-icon\" style=\"width:100%;\">\n"
<>" <p style=\"color: hsla(196, 13%, 50%, 1); margin-top: 4rem\">\n"
<>" You can modify this start page by making changes to \"./Web/View/Static/Welcome.hs\".\n"
<>" </p>\n"
Expand Down
2 changes: 1 addition & 1 deletion IHP/Welcome/Controller.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ instance Controller WelcomeController where

view :: H.Html
view = [hsx|
<div style="background-color: #657b83; padding-top: 2rem; padding-bottom: 2rem; color:hsla(196, 13%, 96%, 1)">
<div style="background-color: #657b83; padding: 2rem; color:hsla(196, 13%, 96%, 1)">
<div style="max-width: 800px; margin-left: auto; margin-right: auto">
<h1 style="margin-bottom: 2rem; font-size: 2rem; font-weight: 300; border-bottom: 1px solid white; padding-bottom: 0.25rem; border-color: hsla(196, 13%, 60%, 1)">λ IHP</h1>

Expand Down

0 comments on commit 743c37e

Please sign in to comment.