Skip to content

Commit

Permalink
Merge pull request #1313 from kpodemski/newsletter-form
Browse files Browse the repository at this point in the history
Start of the PrestaShop project newsletter
  • Loading branch information
kpodemski authored Oct 21, 2024
2 parents d07dab8 + 00f0ba7 commit ec88ee2
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
layout: post
title: "PrestaShop Project Newsletter Launch: Stay Informed!"
subtitle: "Subscribe to our newsletter to stay up-to-date with the latest news and updates from the PrestaShop Project."
date: 2024-10-21
authors: [ PrestaShop ]
icon: icon-envelope
---

At PrestaShop, we are always looking for ways to strengthen our relationship with the community. In line with this, we are thrilled to announce the launch of the PrestaShop Project Newsletter, a new initiative designed to bring you technical insights, exclusive updates, and educational content like never before.

The launch of this newsletter is happening now, and the timing is no coincidence! With the [PrestaShop Developer Conference](https://events.prestashop.com/prestashop-developer-conference/) just around the corner on November 6, 2024, we want to highlight our commitment to the technical community. Whether you are a developer, a contributor, or simply interested in the future of PrestaShop, this newsletter is an opportunity to stay ahead of the curve.

## Why Subscribe to the PrestaShop Project Newsletter?

The PrestaShop Project Newsletter will keep you updated on all technical things in the PrestaShop ecosystem. Here's what you can expect when you sign up:

**1. Exclusive technical insights and updates**

Stay informed about the latest advancements, features, and technical improvements in PrestaShop software. Our newsletter will be your go-to source for deep dives into updates, best practices, and behind-the-scenes information that will help you make the most of the platform.

**2. Regular software releases and new features**

Learn about the details of new versions, releases, and enhancements that can improve your online store's performance, security, and functionality.

**3. Community projects, events and more**

Discover the latest community-driven projects, get details on upcoming events, and enjoy exclusive content that gives you a broader perspective on what’s happening in the PrestaShop ecosystem.

<style>
#prizes-for-our-newsletter-subscribers { margin-top: 0; border-bottom: 1px solid #000; }
</style>
<div class="newsletter-prizes-announcement" style="padding: 10px; background: #a2e2ef;">
<div style="padding: 30px 20px; background: #a2e2ef; border: 10px solid white;">
<h2 id="prizes-for-our-newsletter-subscribers">Prizes for Our Newsletter Subscribers! 🏆</h2>

To celebrate the launch, PrestaShop SA is offering 6 exciting prizes* for those who subscribe before the Developer Conference. The prize winners will be announced during the PrestaShop Developer Conference on November 6, 2024. The prizes include:

- 2 vouchers for 100 EUR, valid on the PrestaShop Marketplace
- 2 vouchers for a **free annual subscription** to PrestaShop Academy
- 2 vouchers for **25% off training sessions** at PrestaShop Academy.
</div>
</div>

<a href="javascript:void(0);" onclick="toggleTerms()">* Show terms and conditions</a>

<div id="terms" style="display: none;">
This offer is organized by PrestaShop SA.

Participants who have registered with a valid email address for the PrestaShop Project Newsletter between October 21st and November 5th are eligible for the contest.

The PrestaShop team will randomly select 6 winners and announce them during the PrestaShop Developer Conference on November 6, 2024. The draws are not cumulative. In the days following the draw, the winners will also be notified using the email address they provided when registering for the newsletter.

The prizes are awarded in the form of:
- 2 vouchers for 100 EUR valid on the PrestaShop Marketplace, usable until 21/04/2025
- 2 vouchers for free annual subscription on the PrestaShop Academy, usable until 21/04/2025
- 2 vouchers for 25% off for training sessions on the PrestaShop Academy, usable until 21/04/2025

The voucher is received as is and may not be exchanged, taken back, or subject to any financial consideration.

PrestaShop S.A. processes your personal data for the purposes of managing this contest in accordance with our legitimate interests. This information will be retained for the duration of the contest, and may be revealed in the event of victory during the PrestaShop Developer Conference. To learn more about the management of your data, please consult the PrestaShop Privacy Policy.
</div>

<script>
function toggleTerms() {
var x = document.getElementById("terms");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>

## Be a Part of the Journey

Subscribe to the PrestaShop Project Newsletter for expert insights and technical updates. Stay informed and ahead with the latest innovations in ecommerce.

<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "4323170",
formId: "94e069e0-99ec-4c38-964a-82a27750044e"
});
</script>
18 changes: 18 additions & 0 deletions content/newsletter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: page
title: PrestaShop Project Newsletter
hidden: true
---

To stay up-to-date with regular updates on the PrestaShop Project, software releases as well as features, upcoming events and technical news, subscribe to our newsletter!

<hr>

<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "4323170",
formId: "94e069e0-99ec-4c38-964a-82a27750044e"
});
</script>
61 changes: 61 additions & 0 deletions themes/build/layouts/partials/author/post-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,64 @@ <h5>About the author</h5>
</div>
</div>
</div>


<div class="newsletter-section">
<div class="newsletter-text">
<p>Want to stay up-to-date with the PrestaShop project and the technical development of PrestaShop?</p>
</div>

<div class="subscribe-btn-container">
<a id="subscribe-button" class="btn btn-lg btn-success">Subscribe to our newsletter</a>
</div>

<div id="subscription-form" class="subscription-form">
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
hbspt.forms.create({
region: "na1",
portalId: "4323170",
formId: "94e069e0-99ec-4c38-964a-82a27750044e"
});
</script>
</div>
</div>

<script>
document.getElementById('subscribe-button').addEventListener('click', function () {
var formDiv = document.getElementById('subscription-form');
formDiv.style.display = (formDiv.style.display === 'none' || formDiv.style.display === '') ? 'block' : 'none';
});
</script>

<style>
.newsletter-section {
border-top: 1px solid #e8e8e8;
padding: 20px;
margin: 0 auto;
text-align: center;
display: flex; flex-direction: column;
}

.newsletter-text {
margin: auto;
max-width: 80%;
align-content: center;
}

.newsletter-text p {
font-size: 16px;
line-height: 1.5;
color: #595959;
}

.subscribe-btn-container {
margin-bottom: 20px;
}

#subscription-form {
display: none;
margin-top: 20px;
text-align: left;
}
</style>

0 comments on commit ec88ee2

Please sign in to comment.