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 donation gif component 4439 #4650

Merged
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1d46e41
leadership info change
bphan002 May 1, 2023
1a90fc7
profile picture add
bphan002 May 2, 2023
3c7c62c
Merge branch 'update-project-profile-4566' into gh-pages
bphan002 May 2, 2023
3afd7b7
Merge branch 'hackforla:gh-pages' into gh-pages
bphan002 May 9, 2023
3db366d
test
bphan002 May 10, 2023
16f897f
made component
bphan002 May 10, 2023
fd5532b
component for donate-card
bphan002 May 11, 2023
80d959f
refactor of css
bphan002 May 18, 2023
6d8df74
change h3 title
bphan002 May 19, 2023
3dd5c98
_donate.scss clean up
bphan002 May 19, 2023
be3d2fa
spacing in scss
bphan002 May 19, 2023
5a856b5
Update contributor and language data
HackforLABot May 10, 2023
ccb852d
Update contributor and language data
HackforLABot May 11, 2023
defd99b
Updated Project Profile with New Member (#4640)
vanyanv May 11, 2023
c449dfc
Update wins-data.json via Google Apps Script (#4641)
elizabethhonest May 11, 2023
317242d
Update contributor and language data
HackforLABot May 12, 2023
a215965
Update contributor and language data
HackforLABot May 13, 2023
e7f69cd
Fixed sdg image grid firefox (#4603)
EdASalazar May 14, 2023
5ca910d
Update meeting data
HackforLABot May 14, 2023
1180aec
Update contributor and language data
HackforLABot May 14, 2023
ff6a3b5
Update wins-data.json via Google Apps Script (#4658)
elizabethhonest May 14, 2023
b29d1e8
Refactor privacy policy page 4527 (#4613)
drakenguyen4000 May 15, 2023
f9aa6bb
Update Project Profile: HackforLA.org Website - Chris Menke added (#4…
matthewmpan May 15, 2023
74e9009
Restore old dropdown scss to wins page (#4608)
Jaretzbalba May 15, 2023
2cea6be
Delete donate.yml (#4644)
jenny-alexander May 15, 2023
ac3644d
moved paragraph tags to new component file (#4657)
pdimaano May 15, 2023
d95a76e
Update contributor and language data
HackforLABot May 15, 2023
2409c70
Update img Tag Refactor on Website
JessicaLucindaCheng May 15, 2023
2a3f857
Update meeting data
HackforLABot May 16, 2023
ac44bbb
Update contributor and language data
HackforLABot May 16, 2023
3dc5a18
Update wins-data.json via Google Apps Script (#4681)
elizabethhonest May 17, 2023
dd84504
updated slack link (#4677)
93Belen May 17, 2023
6c79fbd
remove cathy cai from leadership variable (#4667)
rdhmdhl May 17, 2023
74b8396
removed two profiles (#4666)
93Belen May 17, 2023
0b31d37
Update labels within pre-work-template---ex.md file (#4656)
arfgit May 17, 2023
8d6e634
Update contributor and language data
HackforLABot May 17, 2023
e47088e
Delete solidarity-pana.svg (#4665)
Mayank2808sharma May 17, 2023
3d1173f
Update wins-data.json via Google Apps Script (#4684)
elizabethhonest May 17, 2023
9d08f8b
Updated Label in External Resource Markdown File (#4674)
ldietz08 May 17, 2023
26ef9fd
Update meeting data
HackforLABot May 18, 2023
85618ba
Update contributor and language data
HackforLABot May 18, 2023
28f3ef1
Update wins-data.json via Google Apps Script (#4690)
elizabethhonest May 18, 2023
7b53ed1
Create New Code of Conduct Page (#4600)
bootcamp-brian May 18, 2023
44f0f68
Fix Languages /Technologies Filters for Projects 4587 (#4668)
t-will-gillis May 18, 2023
75617ca
Updated labels from Missing Series (#4686)
imvan2 May 18, 2023
6abe8e5
Design Systems Project Status: On-Hold (#4691)
93Belen May 19, 2023
ee95650
Update contributor and language data
HackforLABot May 19, 2023
45b5460
access merge conflict resolve
bphan002 May 20, 2023
69aaac3
profile picture add
bphan002 May 2, 2023
7d40baf
merge conflict resolve
bphan002 May 20, 2023
da4452d
merge conflict fix
bphan002 May 20, 2023
d7893b2
component for donate-card
bphan002 May 11, 2023
5b01c78
change h3 title
bphan002 May 19, 2023
e3f36e8
merge conflict fix
bphan002 May 20, 2023
4b4052d
css refactor
bphan002 May 20, 2023
e4364d1
css refactor
bphan002 May 20, 2023
f25fd9d
fix 1 css lint issue
bphan002 May 20, 2023
5752d78
remove access the data
bphan002 May 24, 2023
c2fe3a6
Merge branch 'hackforla:gh-pages' into create-donation-gif-component-…
bphan002 May 24, 2023
9b52b69
css fix
bphan002 May 25, 2023
a7b5221
scss format fix
bphan002 May 25, 2023
09e3bcb
add italics to donation
bphan002 May 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions _includes/donate-card.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
<div class="page-card card-primary page-card-lg page-card--donate">
<h3 class="title6 donate-title ">Provide In-Kind Software & Services</h3>
{% include donation/in-kind.html %}
</div>
<div class="page-card card-primary page-card-lg page-card--donate donation-grid">
<div class="donation-body">
<h3 class="title6 donate-title">Make a donation to Hack for LA</h3>
<ol>
<li>
Please follow this link to the Code for America
<a href="https://www.codeforamerica.org/donate" target="_blank" rel="noopener noreferrer">donation
form</a>
</li>
<li>
To make a donation please select <strong>Hack for LA</strong> under the brigades
listed.
</li>
</ol>
</div>
<img
class="donation-gif"
src="/assets/images/about/hfla-donate.gif"
alt=""
/>
<p id='donation-footer'>*100% of proceeds go to Hack for LA when option is selected.</p>
</div>
<div class="page-card card-primary page-card-lg page-card--donate">
<h3 class="title6 donate-title">Make a Donation</h3>
{% include donation/donate-gif-text.html %}
</div>
21 changes: 21 additions & 0 deletions _includes/donation/donate-gif-text.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<div class="donation-grid">
<div class="donation-body">
<p>Hack for LA takes donations through Code for America.</p>
<ol>
<li>
Please follow this link to the Code for America
<a href="https://www.codeforamerica.org/donate" target="_blank" rel="noopener noreferrer">donation form</a>
</li>
<li>
To make a donation please select <strong>Hack for LA</strong> under the brigades
listed.
</li>
</ol>
</div>
<img
class="donation-gif"
src="/assets/images/about/hfla-donate.gif"
alt=""
/>
<p id='donation-footer'>*100% of proceeds go to Hack for LA when option is selected.</p>
</div>
68 changes: 67 additions & 1 deletion _sass/components/_donate-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
.circle-full-container {
display: flex;
flex-direction: column;
padding: 1em 2em;
justify-content: center;
align-items: center;
padding: 0;
Expand Down Expand Up @@ -73,4 +72,71 @@
flex-direction: column;
justify-content: center;
align-items: center;
}

.donation-gif {
box-shadow: 0px 2px 4px 0px #00000040;
}

.donation-grid {
display: flex;
flex-direction: column;
align-items: center;
p {
margin-top: 20px;
}
}

.donation-body {
p {
padding-left: 23px;
}
}

@media #{$bp-tablet-up} {
.donation-grid{
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 50% 50%;
padding: 20px;
text-align: left;
align-items: flex-start;
font-size:18px;

.donation-body {
grid-column: 1 / span 1;
grid-row: 1 / span 1;
margin-top: 15%;

ol {
padding-left: 55px;
max-width: 480px;
line-height: 24px;
}

li {
padding: 5px 0;
font-size: 1.125rem;
}
}

.donation-footer {
font-size:15px;
}

.donation-gif {
grid-column: 2 / span 1;
grid-row: 1 / span 2;
margin: auto;
width: 318px;
padding-bottom: 20px;
}

p {
margin-top: 10px;
padding: 0 32px 0 36px;
grid-row: 2 / span 3;
grid-column: 1 / span 1;
}
}
}
78 changes: 6 additions & 72 deletions _sass/components/_donate.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*--------
| Mobile
----------*/
.donate-title {
text-align: center;
}

.donate-wrapper {
min-height: 100vh;
Expand All @@ -12,16 +15,13 @@
align-items: center;
padding: 4rem 1rem;
height: fit-content;

.donate-banner-text {
display: flex;
flex-direction: column;
align-items: center;

.title1 {
padding-bottom: 28px;
}

p {
font-size: 18px;
max-width: 300px;
Expand All @@ -31,79 +31,13 @@
}
@media #{$bp-mobile-up} {
font-size: 16px;
text-align: left;
text-align: left;
padding-left:0px;
}
}
}
}

.page-card--donate{
padding: 32px;

.donate-title {
text-align: center;
}
.donation-gif {
box-shadow: 0px 2px 4px 0px #00000040;
}
}

.donation-grid{
display: flex;
flex-direction: column;
align-items: center;

p {
margin-top: 20px;
}
}


@media #{$bp-tablet-up} {
.donation-grid{
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 50% 50%;
padding: 20px;
text-align: left;
align-items: flex-start;

.donation-body {
grid-column: 1 / span 1;
grid-row: 1 / span 1;
margin-top: 15%;
padding: 0 32px 0 16px;

h3 {
text-align: left;
}

ol {
padding-left: 30px;
max-width: 480px;
line-height: 24px;
}

li {
padding: 5px 0;
font-size: 1.125rem;
}
}

.donation-gif {
grid-column: 2 / span 1;
grid-row: 1 / span 2;
margin: auto;
width: 318px;
padding-bottom: 20px;
}

p {
margin-top: 10px;
padding: 0 32px 0 36px;
font-size: 15px;
grid-row: 2 / span 3;
grid-column: 1 / span 1;
}
}
}
}