Skip to content

Commit

Permalink
chore: rename mobileAboutHeader to aboutHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
stevekaplan123 committed Dec 16, 2024
1 parent ad7f00c commit 1aff615
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions static/css/static.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
margin: 0 0 60px 0;
height: auto;
}
.interface-hebrew h1.mobileAboutHeader {
.interface-hebrew h1.aboutHeader {
padding-top: 5px;
}
.interface-english h1.mobileAboutHeader {
.interface-english h1.aboutHeader {
padding-top: 2px;
}
#aboutSidebar.mobileAbout h1, h1.mobileAboutHeader {
#aboutSidebar.mobileAbout h1, h1.aboutHeader {
--english-font: var(--english-sans-serif-font-family);
--hebrew-font: var(--hebrew-sans-serif-font-family);
font-style: normal;
Expand Down Expand Up @@ -3520,7 +3520,7 @@ form.globalUpdateForm + div.notificationsList {
margin-right: 20px;
}
}
.interface-hebrew h1.mobileAboutHeader, .interface-hebrew #aboutSidebar h1 {
.interface-hebrew h1.aboutHeader, .interface-hebrew #aboutSidebar h1 {
text-align: right;
}
nav#aboutSidebar h1 {
Expand Down Expand Up @@ -3617,11 +3617,11 @@ nav#aboutSidebar h1 {
margin: 0;
padding-top: 55px;
}
h1.mobileAboutHeader {
h1.aboutHeader {
margin: 40px 0 40px 0;
padding-top: 0;
}
div#productsPageContent h1.mobileAboutHeader {
div#productsPageContent h1.aboutHeader {
margin: revert;
}
.interface-english #aboutSidebar li {
Expand Down
4 changes: 2 additions & 2 deletions static/js/StaticPages.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2912,7 +2912,7 @@ const JobsPageHeader = ({ jobsAreAvailable }) => {
return (
<>
<header>
<h1 className="mobileAboutHeader">
<h1 className="aboutHeader">
<span className="int-en">Jobs at Sefaria</span>
<span className="int-he">משרות פנויות בספריא</span>
</h1>
Expand Down Expand Up @@ -3435,7 +3435,7 @@ const ProductsPage = memo(() => {

return (
<>
<h1 className="mobileAboutHeader">
<h1 className="aboutHeader">
<span className="int-en">Sefaria's Products</span>
<span className="int-he">המוצרים של ספריא</span>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion static/js/UpdatesPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class UpdatesPanel extends Component {
<div className="content">
<div className="sidebarLayout">
<div className="contentInner">
<h1 className="mobileAboutHeader"><InterfaceText>Updates</InterfaceText></h1>
<h1 className="aboutHeader"><InterfaceText>Updates</InterfaceText></h1>

{Sefaria.is_moderator?<NewUpdateForm handleSubmit={this.handleSubmit} key={this.state.submitCount} error={this.state.error}/>:""}

Expand Down
2 changes: 1 addition & 1 deletion templates/metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


<div class="inner">
<h1 class="mobileAboutHeader">
<h1 class="aboutHeader">
<span class="int-en">Metrics</span>
<span class="int-he">מדדים</span>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion templates/static/en/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% endif %}
<main id="aboutPage" class="biReady container static">
<div class="inner">
<header><h1 class="mobileAboutHeader"><span class="int-en">What is Sefaria?</span></h1></header>
<header><h1 class="aboutHeader"><span class="int-en">What is Sefaria?</span></h1></header>
<section class="about section">

<p class="first">
Expand Down
2 changes: 1 addition & 1 deletion templates/static/he/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% endif %}
<main id="aboutPage" class="biReady container static sans-serif">
<div class="inner">
<header><h1 class="mobileAboutHeader"><span class="int-he">מהי ספריא</span></h1></header>
<header><h1 class="aboutHeader"><span class="int-he">מהי ספריא</span></h1></header>
<section class="about section">
<p class="first">
<span class="int-he">אנו עַם הספר. במשך אלפי שנים מתקיימים התרבות, המסורת והערכים שלנו באמצעות הטקסטים שלנו.
Expand Down
2 changes: 1 addition & 1 deletion templates/static/link-to-annual-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% endif %}
<main id="annualReport" class="container biReady static">
<div class="inner">
<h1 class="mobileAboutHeader"><span class="int-en">Annual Report</span>
<h1 class="aboutHeader"><span class="int-en">Annual Report</span>
<span class="int-he">דו"ח שנתי</span></h1>
<div class="annualReport"><a href="/annualreport">Open the Current Annual Report (PDF)</a></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/static/privacy-policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div id="" class="container doc legal static">

<div class="inner">
<h1 class="mobileAboutHeader"><span class="int-en">Privacy Policy</span><span class="int-he">מדיניות פרטיות</span></h1>
<h1 class="aboutHeader"><span class="int-en">Privacy Policy</span><span class="int-he">מדיניות פרטיות</span></h1>
<iframe src="https://docs.google.com/document/d/e/2PACX-1vTItZ7aXzScKUIzMgWP8GaiWjjKPDAXGDUVpvLG8vv-xb42MaGGQMjctIQwKKT5pAuSHSFCKyHfdm53/pub?embedded=true"></iframe> </div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/static/supporters.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% endif %}
<div id="supportersPage" class="container static biReady">
<div class="inner">
<h1 class="mobileAboutHeader">
<h1 class="aboutHeader">
<span class="int-en">Our Supporters</span>
<span class="int-he">התומכים שלנו</span>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion templates/static/team.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<main id="teamPage" class="container static sans-serif">
<div class="inner">
<header>
<h1 class="mobileAboutHeader">
<h1 class="aboutHeader">
<span class="int-en">Team</span>
<span class="int-he">צוות ספריא</span>
</h1>
Expand Down
2 changes: 1 addition & 1 deletion templates/static/terms.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endif %}
<div id="" class="container doc legal static">
<div class="inner">
<h1 class="mobileAboutHeader"><span class="int-en">Terms of Use</span><span class="int-he">תנאי שימוש</span></h1>
<h1 class="aboutHeader"><span class="int-en">Terms of Use</span><span class="int-he">תנאי שימוש</span></h1>
<iframe src="https://docs.google.com/document/d/e/2PACX-1vQHQfHUVMNugNyPyJRucHa9cEU9VUdFD8DAcLFAsUmBORodDmIO2YG85-m01OtF3FUlIgmaSxW_YWSc/pub?embedded=true"></iframe>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/static/testimonials.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
{% endif %}
<div id="testimonialsPage" class="biReady container static">
<div class="inner">
<h1 class="mobileAboutHeader">
<h1 class="aboutHeader">
<span>Sefaria’s Impact – Reflections and Insights from Users</span>
</h1>

Expand Down

0 comments on commit 1aff615

Please sign in to comment.