-
Notifications
You must be signed in to change notification settings - Fork 0
Redesign pre-login pages, add blog and contribute routes #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hendriebeats
wants to merge
18
commits into
master
Choose a base branch
from
updated-non-login-pages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ae5e4e5
Home page upgrades
hendriebeats 45d5159
Formatted pages, kept working on Home
hendriebeats 1558f8d
Continued building home
hendriebeats 043742c
Added pages
hendriebeats 9c2922b
Continued building home
hendriebeats 9063c66
Continued building home
hendriebeats 52a771d
Make nav bar reuseable
hendriebeats 8b72716
better readme
hendriebeats 39511a8
made Jon's requested changes
hendriebeats 15603b2
fixed css bugs
hendriebeats 43bbbfc
Fix share icon sizing and menu link alignment in header
hendriebeats b0aa1eb
Merge remote-tracking branch 'origin/master' into updated-non-login-p…
hendriebeats e9c4c25
Add hero animations, wave dividers, and scroll-reveal to home page
hendriebeats b477fa8
Tidy CSS/HTML/JS on non-login pages
hendriebeats 7dc02eb
Allow blog and contribute pages to be viewed by logged-in users
hendriebeats b54c548
Fix extra closing </div> in blog and contribute templates
hendriebeats fce9f9b
Add bounce animation to home page buttons and fix floating box visibi…
hendriebeats 3cf4dcd
Link CTA buttons to signup and polish pre-login header
hendriebeats File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,21 @@ | ||
| module Api.Htmx.BlogArticleHistoryOfOutlining where | ||
|
|
||
| import Prelude hiding ((**)) | ||
| import Api.Htmx.Ginger (basicTemplate) | ||
| import Web.Scotty.Trans hiding (scottyT) | ||
| import Api.Htmx.AuthHelper (getUser) | ||
| import DbHelper (MonadDb) | ||
|
|
||
|
|
||
|
|
||
| getBlogArticleHistoryOfOutlining | ||
| :: (MonadDb env m, MonadLogger m) | ||
| => ActionT m () | ||
| getBlogArticleHistoryOfOutlining = do | ||
| user <- getUser | ||
| logInfoSH user | ||
| basicTemplate | ||
| "blogArticleHistoryOfOutlining.html" | ||
| identity | ||
|
|
||
|
|
||
This file contains hidden or 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,21 @@ | ||
| module Api.Htmx.Contribute where | ||
|
|
||
| import Prelude hiding ((**)) | ||
| import Api.Htmx.Ginger (basicTemplate) | ||
| import Web.Scotty.Trans hiding (scottyT) | ||
| import Api.Htmx.AuthHelper (getUser) | ||
| import DbHelper (MonadDb) | ||
|
|
||
|
|
||
|
|
||
| getContribute | ||
| :: (MonadDb env m, MonadLogger m) | ||
| => ActionT m () | ||
| getContribute = do | ||
| user <- getUser | ||
| logInfoSH user | ||
| basicTemplate | ||
| "contribute.html" | ||
| identity | ||
|
|
||
|
|
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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 hidden or 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,49 +1 @@ | ||
| @import url("../utils/base.css"); | ||
|
|
||
| #homeContent { | ||
| margin-top: 30px; | ||
| .section1 { | ||
| grid-gap: 20px; | ||
| grid-template-columns: 4fr 3fr; | ||
| max-width: 1300px; | ||
| margin: 0 auto; | ||
| padding: 0 50px; | ||
| display: grid; | ||
| @media screen and (max-width: 1350px) { | ||
| grid-template-columns: 1fr; | ||
| max-width: 800px; | ||
| padding: 0 25px; | ||
| } | ||
|
|
||
| .leftText { | ||
| h1 { | ||
| margin-bottom: 0; | ||
| font-weight: 600; | ||
| } | ||
| .description { | ||
| font-size: 1.35em; | ||
| } | ||
| .blueRoundedContainer { | ||
| color: #fff; | ||
| background: linear-gradient(40deg, #0057d1 0% 56%, #7ca8e7 100%); | ||
| border-bottom-right-radius: 25px; | ||
| border-bottom-left-radius: 25px; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| padding: 10px 30px; | ||
| display: flex; | ||
| } | ||
| } | ||
|
|
||
| .rightImage { | ||
| align-self: center; | ||
| @media screen and (max-width: 1350px) { | ||
| display: none; | ||
| } | ||
| img { | ||
| max-width: 100%; | ||
| } | ||
| } | ||
|
|
||
| } | ||
| } | ||
| @import url("./pre-login.css"); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can probably combine these all into one module so we don't need to make a different module for every static page we want to make.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I'm assuming that's something you'd do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do it. It's nothing crazy. Instead of putting
getBlogArticleHistoryOfOutliningandgetContributein different files, you put them in the same file.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hear you, but I don't know how to do that... :(