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

Fix homepage on mobile #11004

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
04ae066
Added logging for calls to mautic_proxy
roansong Jul 5, 2022
be8f483
Wrapped DB call in try-except
roansong Jul 5, 2022
2ff0b0f
Merge pull request #1 from roansong/mautic-logging
giliomeejg Jul 5, 2022
968a8a1
Merge branch 'gitcoinco:master' into master
giliomeejg Jul 13, 2022
93ff763
Merge branch 'gitcoinco:master' into master
giliomeejg Jul 29, 2022
82d44bd
Merge branch 'gitcoinco:master' into master
giliomeejg Aug 23, 2022
b47cbe2
Merge branch 'gitcoinco:master' into master
giliomeejg Aug 29, 2022
2339999
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 3, 2022
9040205
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 6, 2022
db02e98
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 6, 2022
5e79960
fix(Home): GR15 Image should be loaded via CDN.
giliomeejg Sep 6, 2022
eb86edf
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 6, 2022
12813aa
func(Bottom nav): Add Passport to the footer nav.
giliomeejg Sep 6, 2022
2377cc9
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 8, 2022
48b4d74
func(Passport): Redirect gitcoin.co/passport to new landing page
giliomeejg Sep 8, 2022
4ff78b8
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 14, 2022
844cf66
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 15, 2022
3634fd8
fix(Loading image): Loading image size can be reduced by 50% as it ap…
giliomeejg Sep 15, 2022
004ac76
Merge branch 'gitcoinco:master' into master
giliomeejg Sep 20, 2022
d4c3a15
func(GR15): Temporary (1-2 weeks). Thank you banner for participatin…
giliomeejg Sep 22, 2022
43d24ae
fix(Styling): Use smaller padding for mobile devices.
giliomeejg Sep 22, 2022
409ae20
Merge branch 'gitcoinco:master' into master
giliomeejg Oct 12, 2022
b7987b0
func(Home): Change banner to highlight protocol & grants for desktop.
giliomeejg Oct 12, 2022
d2fb0dc
func(Banner): Add responsiveness for mobile.
giliomeejg Oct 12, 2022
4812dcd
fix(Nav): Main nav was sitting under the banner images.
giliomeejg Oct 17, 2022
f70c417
Merge branch 'gitcoinco:master' into master
giliomeejg Oct 19, 2022
f2c1e63
func(Blog): Wordpress is becoming unreliable (rate limiting issues) i…
giliomeejg Oct 19, 2022
d18a726
func(Blog): Wordpress is becoming unreliable (rate limiting issues) i…
giliomeejg Oct 19, 2022
6d5efb9
Merge branch 'master' of github.com:giliomeejg/gitcoin-web
giliomeejg Oct 19, 2022
ed8510b
Merge branch 'gitcoinco:master' into master
giliomeejg Oct 22, 2022
f3f2be7
fix(Home banner): Mobile nav sat under the protocol image, instead of…
giliomeejg Oct 22, 2022
96f23b6
undo
giliomeejg Oct 22, 2022
105e058
Merge branch 'gitcoinco:master' into master
giliomeejg Oct 31, 2022
805f000
func(Text): Small text change requested by ceresstation.
giliomeejg Oct 31, 2022
9d1580b
Merge branch 'gitcoinco:master' into master
giliomeejg Nov 15, 2022
e72aba4
func(Grants): Remove navigational items for grant creation, as we're …
giliomeejg Nov 15, 2022
bf41ba9
func(Grants): Replace grant creation page with notification of new pr…
giliomeejg Nov 15, 2022
3a4bae7
func(Grants): Small text change to sunsetting cGrants.
giliomeejg Nov 15, 2022
c5a109a
func(Grants): Change more info links.
giliomeejg Nov 15, 2022
564ebd2
func(Grants): Small text change.
giliomeejg Nov 15, 2022
09a86a1
fix(Grants): Amend tests for new content.
giliomeejg Nov 17, 2022
bb4edd0
fix(Grants): Breaking test.
giliomeejg Nov 17, 2022
8400459
Merge branch 'gitcoinco:master' into master
giliomeejg Nov 28, 2022
f4134ed
fix(New grant): Remove new.scss that's causing a bundling error.
giliomeejg Dec 1, 2022
274b078
fix(Grants sunset): Remove unused .css that's throwing a bundle error.
giliomeejg Dec 1, 2022
f4b7a92
Merge branch 'gitcoinco:master' into master
giliomeejg Dec 1, 2022
6f60b7b
Merge branch 'gitcoinco:master' into master
giliomeejg Dec 5, 2022
2fd2fa5
Merge branch 'gitcoinco:master' into master
giliomeejg Dec 8, 2022
4622ade
Merge branch 'gitcoinco:master' into master
giliomeejg Dec 21, 2022
969dd1c
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 11, 2023
952e04a
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 17, 2023
4e56f0d
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 17, 2023
5b4912d
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 18, 2023
443ada5
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 24, 2023
5bb9d1d
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 26, 2023
7355746
Merge branch 'gitcoinco:master' into master
giliomeejg Jan 28, 2023
66b9a0b
fix(Home): Was not displaying correctly on mobiles due to recent chan…
giliomeejg Jan 28, 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
58 changes: 56 additions & 2 deletions app/retail/templates/home/protocol-grants/protocol-grants.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@
#protocol-grants .grants .text {
top: 100px;
}
#protocol-grants .text {
width: 100%;
}
}
@media only screen and (max-width: 780px) {
#protocol-grants .grants .text {
Expand All @@ -181,16 +184,67 @@
}
}

@media only screen and (max-width: 400px) {
#protocol-grants .protocol-img {
--reducedWidth: 50;
background-size: calc(235px * (var(--reducedWidth) / 100))
calc(122px * (var(--reducedWidth) / 100));
width: calc(235px * (var(--reducedWidth) / 100));
height: calc(122px * (var(--reducedWidth) / 100));
margin-left: calc(0px - 117px * (var(--reducedWidth) / 100));
}

#protocol-grants .grants-img {
--reducedWidth: 50;
background-size: calc(217px * (var(--reducedWidth) / 100))
calc(217px * (var(--reducedWidth) / 100));
width: calc(217px * (var(--reducedWidth) / 100));
height: calc(217px * (var(--reducedWidth) / 100));
left: 50%;
top: -27px;
margin-left: calc(0px - 108px * (var(--reducedWidth) / 100));
}
#protocol-grants .circle {
--reducedWidth: 30;
background-size: calc(480px * (var(--reducedWidth) / 100))
calc(480px * (var(--reducedWidth) / 100));
width: calc(480px * (var(--reducedWidth) / 100));
height: calc(480px * (var(--reducedWidth) / 100));
margin-left: calc(0px - (240px * (var(--reducedWidth) / 100)));
margin-top: calc(0px - (240px * (var(--reducedWidth) / 100)));
}

#protocol-grants .grants .text { top: 95px; }


}

p.round-text a { text-decoration: underline; }
</style>

<section>
<div class="container" id="protocol-grants">
<div class="row bg-light protocol">
<div class="text p-sm-5 pl-2 pr-2 pb-2 pt-5">
<h1 class="font-weight-bold">Gitcoin Alpha Round <span style="font-size: 26px;">(17-31Jan)</span></h1>
<h1 class="font-weight-bold">
Gitcoin Alpha Round <span style="font-size: 26px">(17-31Jan)</span>
</h1>
<p class="round-text">
We invite you to participate in our Gitcoin Program Alpha Round, a set of 3 Quadratic Funding grants rounds that will allocate a $1M total matching pool to <a href="https://grant-explorer.gitcoin.co/#/round/1/0xd95a1969c41112cee9a2c931e849bcef36a16f4c">Open Source</a>, <a href="https://grant-explorer.gitcoin.co/#/round/1/0xe575282b376e3c9886779a841a2510f1dd8c2ce4">Ethereum Infrastructure</a>, and <a href="https://grant-explorer.gitcoin.co/#/round/1/0x1b165fe4da6bc58ab8370ddc763d367d29f50ef0">Climate Solutions</a>.
We invite you to participate in our Gitcoin Program Alpha Round, a set
of 3 Quadratic Funding grants rounds that will allocate a $1M total
matching pool to
<a
href="https://grant-explorer.gitcoin.co/#/round/1/0xd95a1969c41112cee9a2c931e849bcef36a16f4c"
>Open Source</a
>,
<a
href="https://grant-explorer.gitcoin.co/#/round/1/0xe575282b376e3c9886779a841a2510f1dd8c2ce4"
>Ethereum Infrastructure</a
>, and
<a
href="https://grant-explorer.gitcoin.co/#/round/1/0x1b165fe4da6bc58ab8370ddc763d367d29f50ef0"
>Climate Solutions</a
>.
</p>

<a
Expand Down