Skip to content
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

Create Give Page #220

Merged
merged 11 commits into from
Feb 9, 2024
Merged

Create Give Page #220

merged 11 commits into from
Feb 9, 2024

Conversation

JSn1nj4
Copy link

@JSn1nj4 JSn1nj4 commented Jan 27, 2024

I'm not sure how everyone feels about grabbing text snippets from the third-party sites to fill the gaps a bit, but I wanted to do it at least for this screenshot.

It's the ones outlined in red:
image

If something like that is iffy, I'll go ahead and remove those blurbs for now.

Closes #161

@JSn1nj4 JSn1nj4 added the enhancement New feature or request label Jan 27, 2024
@JSn1nj4 JSn1nj4 self-assigned this Jan 27, 2024
@JSn1nj4 JSn1nj4 marked this pull request as ready for review January 27, 2024 04:19
@allella
Copy link
Member

allella commented Jan 27, 2024

Thanks.

We;ll probably adjust the copy on the HG Labs page, but what we have is fine for now.

I'll ping the other folks involved for feedback on the text snippets as they relate to their orgs.

@JSn1nj4
Copy link
Author

JSn1nj4 commented Jan 27, 2024

If that creates an unnecessary bottleneck, I can just remove that and adding blurbs can become a smaller PR.

@ThorntonMatthewD
Copy link
Collaborator

The page looks oustanding! I think this will make for a solid platform to build off of moving forward. Thank you so much for putting this together!

127 0 0 1_8000_give

resources/sass/give.scss Outdated Show resolved Hide resolved
To @zach2825's point, this is highly specific to the Give page, so better to nest this.
This uses Blade components and moves the new row/column styles into the primary sheet so they can be used elsewhere.

Added a note for what can be done later when a wider selection of max columns per row is necessary.
Copy link
Author

@JSn1nj4 JSn1nj4 Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to find this again. But with this syntax, Blade components can automatically accept classes from the outer markup, like in give.blade.php where you'll find these lines:

<x-flex-row class="w-100">

In these cases, the default and external classes will combine.

(edit: realizing late that it might've made more sense to attach this to the other component template...)

margin-top: calc(var(--gap) / 4);
}

@at-root {
Copy link
Author

@JSn1nj4 JSn1nj4 Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will allow the default .flex-row-column styles to apply only to the column while also applying the width calculation as it relates to the parent row selector.

I also forgot to account for mobile devices previously, but this is at least a bit friendlier to them.

@allella
Copy link
Member

allella commented Feb 8, 2024

@JSn1nj4 no rush, but I figured to check in and see if we're feeling comfortable, or close to comfortable, about the state of this PR after the comments from Matt, Bogdan, and Zach.

It doesn't seem the organizers of the initiatives had much feedback on changing the existing text, so we can go live and always change the verbiage later once it's live people feel more compelled to share their feedback.

@JSn1nj4
Copy link
Author

JSn1nj4 commented Feb 8, 2024

I think it's good to go.

@allella
Copy link
Member

allella commented Feb 8, 2024

@JSn1nj4 I see we have some default HTML title and meta descriptions in resources/views/give.blade.php

Let's update those to
Title
Tech Giving Opportunities around Greenville, SC

Meta Description
Contribute time or money to local Upstate, SC tech, maker, and tinker non-profits or open-source projects through with these HackGreenville partners.

@JSn1nj4
Copy link
Author

JSn1nj4 commented Feb 8, 2024

@allella those are updated.

I also brought back the summary paragraph that I originally had commented out on the page as a placeholder. Figured the meta description would make a good page summary.

Does that sound alright?

@allella allella merged commit b4b22c8 into hackgvl:develop Feb 9, 2024
1 check passed
@JSn1nj4 JSn1nj4 deleted the feature/161-give-page branch February 9, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a /give "Give" Page to Highlight Donations and Volunteer Opportunities
5 participants