Skip to content

Commit

Permalink
Merge pull request #706 from arXiv/develop
Browse files Browse the repository at this point in the history
deploy donate button instead of donate link
  • Loading branch information
kyokukou authored Aug 22, 2024
2 parents 1cc6207 + e802d74 commit 6191535
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 33 deletions.
42 changes: 37 additions & 5 deletions browse/static/css/arXiv.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ em.boxed {
font-weight: normal;
font-family: 'Lucida Grande', helvetica, arial, verdana, sans-serif;
color: #fff;
display:flex;
align-items:center;
gap: 1em;
}
#support-ack-url {
max-width: 400px;
Expand All @@ -191,6 +194,20 @@ em.boxed {
#support-ack-url a:hover {
color: #1e8bc3;
}
#support-ack .btn-header-donate {
background-color: white;
border: 1px solid #b31b1b;
padding: .2em 1em 0 1em;
border-radius: .5em;
color: #b31b1b;
height: 1.5em;
font-size: 1.25em;
transition: all .5s ease-in-out;
}
#support-ack .btn-header-donate:hover {
background-color: #fb595a;
color: black;
}

/*
* Local icon in place of Cornell Search Navigation
Expand Down Expand Up @@ -700,18 +717,33 @@ footer .sorry-app-links .a11y-main-link {
background-color: black;
}
/*style overrides for forum minimal banner homepage news with forum logo*/
.columns .column.banner-minimal.forum {
border: 1px solid grey;
border-radius: 1em;
padding: .5em;
margin: 1em;
}
.columns .column.banner-minimal.forum a {
border-color: #c4d82e;
background-color: #000;
border-color: transparent;
background-color: transparent;
color: #c4d82e;
font-size: 1.35em;
text-decoration: underline;
box-shadow: none;
margin: 0;
padding: 0;
}
.columns .column.banner-minimal.forum a:hover {
border-color: #c4d82e;
background-color: #f3f6dd;
color: #000;
border-color: transparent;
background-color: transparent;
color: #fff;
text-decoration: none;
}
.columns .column.banner-minimal.forum p {
font-size: 1.25em;
margin: 0;
font-style: italic;
color: #ababab;
}
.forum-logo {
width: 200px;
Expand Down
7 changes: 4 additions & 3 deletions browse/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
<div class="column banner-minimal forum">
<!-- /from July 7 at 1:00 AM to Sept 2 at 1:00 AM -->
{%- if rd_int >= 202407110100 and rd_int <= 202409020100 -%}
<p>Grab your spot at the free arXiv Accessibility Forum</p>
<a href="https://accessibility2024.arxiv.org/schedule" target="_blank">Forum Schedule</a>
<p>arXiv's Accessibility Forum starts next month!</p>
<a href="https://cornell.ca1.qualtrics.com/jfe/form/SV_eEZ1d27LF2fVM7Y" target="_blank">Sign Up</a>

<!-- /from Sept 2 at 1:00 AM to Sept 13 at 11:30PM -->
{%- elif rd_int > 202409020100 and rd_int <= 202409032330 -%}
Expand Down Expand Up @@ -76,7 +76,8 @@
{%- endif -%}

<div class="column" id="support-ack">
<span id="support-ack-url">We gratefully acknowledge support from the Simons Foundation, <a href="https://info.arxiv.org/about/ourmembers.html">member institutions</a>, and all contributors. <a href="https://info.arxiv.org/about/donate.html">Donate</a></span>
<span id="support-ack-url">We gratefully acknowledge support from the Simons Foundation, <a href="https://info.arxiv.org/about/ourmembers.html">member institutions</a>, and all contributors.</span>
<a href="https://info.arxiv.org/about/donate.html" class="btn-header-donate">Donate</a>
</div>
</div>

Expand Down
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ types-python-dateutil = "^2.8.19.12"
lxml = "^4.9.2"
xmltodict = "^0.13.0"

arxiv-base = {git = "https://github.com/arXiv/arxiv-base.git", rev = "ed47e450"}
arxiv-base = {git = "https://github.com/arXiv/arxiv-base.git", rev = "f8a4cc4"}

flask = "^3.0.2"
google-cloud-compute = "^1.14.1"
Expand Down
8 changes: 4 additions & 4 deletions script/sync_prod_to_gcp/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bleach==3.3.0
boto3==1.23.10
botocore==1.26.10
cachetools==4.2.4
certifi==2022.9.24
certifi==2024.7.4
charset-normalizer==2.0.12
click==8.0.4
Flask==2.0.3
Expand All @@ -22,10 +22,10 @@ googleapis-common-protos==1.56.3
grpc-google-iam-v1==0.12.6
grpcio==1.59.0
grpcio-status==1.48.2
idna==3.4
idna==3.7
importlib-metadata==4.8.3
itsdangerous==2.0.1
Jinja2==3.1.3
Jinja2==3.1.4
jmespath==0.10.0
jsonschema==4.0.0
lmdb==1.4.1
Expand Down Expand Up @@ -56,5 +56,5 @@ typing_extensions==4.1.1
urllib3==1.26.12
uWSGI==2.0.21
webencodings==0.5.1
Werkzeug==2.3.8
Werkzeug==3.0.3
zipp==3.19.1

0 comments on commit 6191535

Please sign in to comment.