Redesign pre-login pages, add blog and contribute routes#97
Redesign pre-login pages, add blog and contribute routes#97hendriebeats wants to merge 18 commits into
Conversation
| </a> | ||
| </div> | ||
| <img src="{{base}}/static/img/meme.png" class="image" > | ||
| <img src="{{base}}/static/img/meme.png" class="image" /> |
There was a problem hiding this comment.
The / at the end of the tag like that isn't good. At least from what I've read. Never tested it myself.
| <li><a href="https://experiencethehope.com/equipping" target="_blank">Equipping</a></li> | ||
| <li><a href="https://messaging.subsplash.com/25FXCW/auth" target="_blank">Messaging</a></li> | ||
| <li> | ||
| <a href="https://experiencethehope.com/teaching" target="_blank" |
There was a problem hiding this comment.
I don't think I like this formatting...
| <header id="header"> | ||
| <a class="logo" href="{{base}}/"> | ||
| <img class="logo" src="{{base}}/static/img/p215-circle.svg" > | ||
| <img class="logo" src="{{base}}/static/img/p215-circle.svg" /> |
| {% include "profile/form.html" %} | ||
|
|
||
| <br> | ||
| <br /> |
| {% include "footer.html" %} | ||
|
|
||
| {% endblock %} | ||
| {% include "footer.html" %} {% endblock %} |
There was a problem hiding this comment.
I think these should be on seprate lines.
| Take the complexity out of Bible study and delve deeper into the Word | ||
| with others | ||
| </p> | ||
| <img src="{{base}}/static/img/laptop-mockup.png" /> |
| {% extends "base.html" %} {% block content %} | ||
| <header id="header"> | ||
| <img src="{{base}}/static/img/p215-circle.svg" class="logo"> | ||
| <img src="{{base}}/static/img/p215-circle.svg" class="logo" /> |
| <div class="row share" id="share-{{share.token}}"> | ||
| <div>{{ share.groupStudyName }}</div> | ||
| <div | ||
| {% |
There was a problem hiding this comment.
Yeah, I don't like this formatting at all. That's true for pretty much everything on this page.
There was a problem hiding this comment.
I reset the whole "Studies" page to your original
| display: flex; | ||
| background: | ||
| url("/htmx/static/img/background-blue-circles.png") 50%/cover no-repeat, | ||
| background: url("/htmx/static/img/background-blue-circles.png") 50% / cover |
There was a problem hiding this comment.
Umm, I think /htmx is wrong. It's my fault, but still wrong.
There was a problem hiding this comment.
Not sure what you want me to do about this...
There was a problem hiding this comment.
Instead of /htmx/static/img/background-blue-circles.png it should be /static/img/background-blue-circles.png
| @@ -0,0 +1,21 @@ | |||
| module Api.Htmx.BlogArticleHistoryOfOutlining where | |||
There was a problem hiding this comment.
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.
Ok. I'm assuming that's something you'd do
There was a problem hiding this comment.
You can do it. It's nothing crazy. Instead of putting getBlogArticleHistoryOfOutlining and getContribute in different files, you put them in the same file.
There was a problem hiding this comment.
I hear you, but I don't know how to do that... :(
| @@ -1,36 +1,35 @@ | |||
| {% extends "base.html" %} | |||
| {% block content %} | |||
| {% extends "base.html" %} {% block content %} | |||
| @@ -1,5 +1,4 @@ | |||
| {% extends "base.html" %} | |||
| {% block content %} | |||
| {% extends "base.html" %} {% block content %} | |||
There was a problem hiding this comment.
This will break this page.
There was a problem hiding this comment.
I think I reset this
| @@ -1,5 +1,4 @@ | |||
| {% extends "base.html" %} | |||
| {% block content %} | |||
| {% extends "base.html" %} {% block content %} | |||
There was a problem hiding this comment.
This will break this page.
| @@ -1,35 +1,32 @@ | |||
| {% extends "base.html" %} | |||
| {% block content %} | |||
| {% extends "base.html" %} {% block content %} | |||
There was a problem hiding this comment.
This will break this page.
| @@ -1,8 +1,7 @@ | |||
| {% extends "base.html" %} | |||
| {% block content %} | |||
| {% extends "base.html" %} {% block content %} | |||
There was a problem hiding this comment.
This will break this page.
| {% extends "base.html" %} | ||
| {% block content %} | ||
| <script async defer src="https://cdn.jsdelivr.net/npm/altcha/dist/altcha.min.js" type="module"></script> | ||
| {% extends "base.html" %} {% block content %} |
There was a problem hiding this comment.
This will break this page.
| @@ -1,7 +1,6 @@ | |||
| {% extends "base.html" %} | |||
| {% block content %} | |||
| {% extends "base.html" %} {% block content %} | |||
There was a problem hiding this comment.
This will break this page.
| </li> | ||
| <li> | ||
| <strong>Connect with Us</strong>: Reach out via | ||
| <a href="mailto:contact@yourproject.com" target="_blank">email</a> to introduce yourself |
There was a problem hiding this comment.
You can use developer@p215.church for the email here.
| <li> | ||
| <strong>Explore Our Repository</strong>: Visit our | ||
| <a href="https://github.com/HopeCommunityChurch/project-2-15" target="_blank" | ||
| >GitHub page</a |
There was a problem hiding this comment.
Normally you wouldn't call this a github page. There's actually a feature in github called github pages and people will probably think we used that to make a page, which we didn't. You can probably just word it as "visit the repo" or something like that.
|
@hendriebeats From what I can tell, whatever you're using for auto formatting is causing lots of problems. You'll probably have to disable it. |
|
Ok, @boxyoman, I made all the changes except for the ones I'd imagine you'd fix. How does it look now? I'll either remove or dramatically pair down my auto formatter |
|
@hendriebeats Reviewed it again. |
|
OK @boxyoman I think i did it |
|
@boxyoman checking back in on this branch. I see merge conflicts above. Do you have a sense of the best next steps to get this branch (eventually) merged? I'll plan to not use the formatter I was using before. |
@hendriebeats You can try resolving the conflicts. I can then review it again. (It's not impossible it's easy to just restart). |
|
@boxyoman fixed the merge conflicts |
56732c1 to
59af445
Compare
59af445 to
15603b2
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Animate hero heading, subtext, CTA, and image on page load with fadeInUp - Add gradient background to hero section - Add SVG wave dividers between hero/community and community/study-anywhere sections - Add IntersectionObserver scroll-reveal for community, study-anywhere, and custom-study-blocks sections - Set page-level and community section background colours for seamless blending
- Fix translatey typo → translateY in pre-login.css - Remove duplicate @media (max-width: 1130px) block in pre-login.css - Remove shadowed justify-content: center in .page-hero - Remove spurious extra </div> in home.html - Add focusable="false" to decorative wave SVGs - Remove e.stopPropagation() from invite Enter keydown handler
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
df66781 to
b54c548
Compare
…lity - Replace instant translateY hover on .button-3d with a single-press bounce keyframe (presses down, slight recovery, settles) - Add z-index: 0 to .section-content so its z-index: -1 floating box children paint behind content but in front of the section background gradient (previously they fell behind the root stacking context and were invisible)
- Wrap all "BEGIN YOUR JOURNEY", "SIGN UP", and "CREATE A STUDY" buttons on the home page and blog article in <a href="/signup"> so they actually navigate to the signup page - Switch header logo to a <picture> element: shows the full P215.png wordmark on wider screens (≥765 px) and the circle SVG on mobile - Add display:block to .logo to eliminate inline-image baseline gap - Replace floating-box-1.png with updated asset; remove misplaced pre-login-pages/P215.png (now served from /static/img/P215.png)

Overhauls the home page, adds a blog article page, and adds a contribute page — all the public-facing (non-login) pages. Introduces a shared
pre-login.cssstylesheet, a reusable header partial, floating box animations, and scroll-reveal on the home page.Reviewer Q&A
Shared CSS (
pre-login.css)home.cssnow just importspre-login.css— all pre-login page styles live in one file so the home, blog, and contribute pages share layout primitives, typography, and the.button-3dcomponent without duplication.pre-login-header.htmlpartialThe old home page had its own inline
<header>+ mobile nav<dialog>. Extracting it into a partial means the blog and contribute pages get the same header without copy-paste.Floating box animations / scroll-reveal
The seven
floating-box-*.pngimages are decorative elements that animate on afloatkeyframe loop; the JS-driven.revealclass triggersfadeInUpas sections enter the viewport.home.cssreduced to one lineThe old home-specific styles were either deleted (superseded by the new design) or moved into
pre-login.css. The import stub keeps the<link>inhome.htmlworking without a path change.logInfoSH userin new route handlersConsistent with
Home.hsandSignup.hs— the pattern logs the requesting user (orNothing) on each page hit.e.stopPropagation()removed from invite keydown handler (studyGroup.js)It was preventing the
Enterkey event from reaching HTMX's form-submit trigger. Removing it lets the form submit correctly without side effects.base.htmlwhitespace / self-closing tagsFormatting-only change to the
<head>font links — no functional difference.README.mddirenv allowstepsTwo missing setup steps that tripped up new contributors; added to the numbered list.