Skip to content

Commit

Permalink
make Welcome page page more responsible
Browse files Browse the repository at this point in the history
  • Loading branch information
DKurilo committed Oct 18, 2022
1 parent 679423e commit 240b5e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions IHP/IDE/CodeGen/ApplicationGenerator.hs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ 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=\"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"
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 240b5e8

Please sign in to comment.