feat(newsletter): add newsletters listing and detail pages

* Created a newsletters table and added insertion logic during newsletter send.
* Added a /newsletters route to display a list of sent newsletters.
* Implemented a /newsletter/<int:newsletter_id> route for detailed view.
* Developed new templates with navigation, including unsubscribe links.
* Enhanced front-end styling and layout for newsletter pages.
This commit is contained in:
Blake Ridgway 2025-02-18 20:07:30 -06:00
parent e3ae855a0b
commit db5d631b0d
6 changed files with 186 additions and 6 deletions

View file

@ -9,7 +9,10 @@
<body>
<header>
<nav>
<span>Ride</span><span style="color: #1e4e9c;">Aware</span>
<a href="/">
<span>Ride</span><span style="color: #1e4e9c;">Aware</span>
</a>
<a href="/newsletters">Newsletters</a>
</nav>
</header>
<main>
@ -84,7 +87,7 @@
</div>
</section>
</main>
<footer>
<footer class="normal-footer">
Copyright &copy; 2025 RideAware. All rights reserved.
</footer>
<script src="/static/js/main.js"></script>