Skip to content

Commit

Permalink
Merge pull request #636 from AlmaLinux/newsletter_display_improvements
Browse files Browse the repository at this point in the history
Newsletter display improvements
  • Loading branch information
bennyvasquez authored Sep 13, 2024
2 parents 1fea118 + 602cf93 commit 87ce0fa
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
23 changes: 9 additions & 14 deletions assets/css/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,20 +253,6 @@ padding: 0px !important;
height: 72px;
margin: 15px 0 15px 0;
}
.al-page-index .al-index-newsletter a {
text-decoration: underline !important;
}
.al-page-index .al-index-newsletter .al-newsletter-input {
background-color: white;
}
.al-page-index .al-index-newsletter .al-newsletter-button {
background: #86da2f;
color: #000518;
}
.al-page-index .al-index-newsletter .al-newsletter-button:hover {
color: #000518;
background: #79cb24;
}
.al-page-index .al-index-press {
background: #0e3b5c;
}
Expand Down Expand Up @@ -1073,6 +1059,15 @@ a {
max-height:300px;
max-width: 100%;
height: auto;
float:right;
}
@media (max-width: 1000px){
.newsletter-img {
float:left;
}
}
.newsletter-div {
max-width: 650px;
}
.navbar-nav .dropdown-menu ul {
padding:0;
Expand Down
2 changes: 1 addition & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
"Can I really port an entire fleet of servers from CentOS to AlmaLinux OS with a single command?": "Can I really port an entire fleet of servers from CentOS to AlmaLinux OS with a single command?",
"If you are using CentOS 7 or 8 and need help upgrading and migrating, check out": "If you are using CentOS 7 or 8 and need help upgrading and migrating, check out",
"ELevate.": "ELevate.",
"AlmaLinux Mailing lists": "AlmaLinux Mailing lists",
"Membership Committee": "Membership Committee",
"Run the most recent version of the OS and software you need.": "Run the most recent version of the OS and software you need.",
"and you can add/edit/interact with package metadata at": "and you can add/edit/interact with package metadata at",
Expand Down Expand Up @@ -632,6 +631,7 @@
"Upgrade from 8.x to 9.x within the same distribution": "Upgrade from 8.x to 9.x within the same distribution",
"Migration to Oracle Linux 9 is available with the": "Migration to Oracle Linux 9 is available with the",
"Subscribe to our newsletter mailing list and never miss out on the latest in AlmaLinux OS news, and sign up for any other updates on lists.almalinux.org!": "Subscribe to our newsletter mailing list and never miss out on the latest in AlmaLinux OS news, and sign up for any other updates on lists.almalinux.org!",
"AlmaLinux Newsletter Signup": "AlmaLinux Newsletter Signup",
"Certification": "Certification",
"Read More": "Read More",
"Announcing the new Certification Program, run by the Certification SIG.": "Announcing the new Certification Program, run by the Certification SIG.",
Expand Down
10 changes: 7 additions & 3 deletions layouts/partials/common/newsletter.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
<div class="container al-py-lg" style="max-width:90%;">
<div class="row">
<div class="col-lg-6">
<img class="newsletter-img" src="/images/newslettersignup.png" alt="The migration paths when using ELevate" height="300">
<img class="newsletter-img" src="/images/newslettersignup.png" alt="The migration paths when using ELevate">
</div>
<div class="col-lg-6">
<h2 class="mb-2">
{{ i18n "Stay updated!" }}
</h2>
<h6 class="mb-4">
{{ i18n "Subscribe to our newsletter mailing list and never miss out on the latest in AlmaLinux OS news, and sign up for any other updates on lists.almalinux.org!" }}
<p class="newsletter-div">{{ i18n "Subscribe to our newsletter mailing list and never miss out on the latest in AlmaLinux OS news, and sign up for any other updates on lists.almalinux.org!" }}</p>
</h6>
<a href="https://lists.almalinux.org/mailman3/lists/?all-lists">{{ i18n "AlmaLinux Mailing lists" }}</a>
<div class="pt-1" >
<a href="https://lists.almalinux.org/mailman3/lists/newsletters.lists.almalinux.org/" class="btn btn-primary al-community-cta">
{{ i18n "AlmaLinux Newsletter Signup" }}
</a>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 87ce0fa

Please sign in to comment.