Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create pages for events and to render HTML for upcoming meetup emails #112

Open
crtr0 opened this issue Sep 1, 2023 · 0 comments
Open
Assignees

Comments

@crtr0
Copy link
Member

crtr0 commented Sep 1, 2023

Two weeks out from a meetup, we send an email to our mailing list in the format below.

We would like to create a 3 new routes on the website:

  1. /events - display list of meetup events (in reverse chronological order)
  2. /events/$slug - display event (same format/content as index page of website)
  3. `/events/$slug?email - display the raw html below, preferably escaped so it can easily be copy/pasted
<p>GREETING TEXT</p>
<!-- sponsor -->
<p><a href="URL"><img width="200" alt="SPONSOR logo" src="https://seattlejs.com/_public/images/sponsors/SPONSOR.png" title="SPONSOR logo"></a></p>
<p>Special thanks to our friends at <a href="URL">SPONSOR</a> for sponsoring snacks for this month's event! 😎</p>
<ul>
<li>🗓 DAY, MONTH DATE</li>
<li>⏰ 5:30pm - 8:30pm</li>
<li>📍 LOCATION</li>
<li>🎟 <a href="https://ti.to/event-loop/">Buy Tickets</a></li>
</ul>
<! -- loop through talks -->
<h4>TALK TITLE by SPEAKER</h4>
<p><img width="200" alt="SPEAKER" src="https://seattlejs.com/_public/images/speakers/SPEAKER.jpg" title="SPEAKER"></p>
<p>TALK ABSTRACT</p>
<!-- end loop -->
<p>See you all on MONTH DATE!</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants