Add vbs information to vbs page
continuous-integration/drone/push Build is passing Details

master
Hannah 2026-07-15 00:12:28 -06:00
parent 9fbe7d38a7
commit 3b1e3acf56
3 changed files with 46 additions and 14 deletions

View File

@ -98,3 +98,14 @@ mat-radio-button {
.hidden { .hidden {
display: none; display: none;
} }
.info-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
.info-table td {
padding: 10px;
border-bottom: 1px solid #ddd;
vertical-align: top;
}

View File

@ -7,7 +7,36 @@
</h1> </h1>
<form [formGroup]="form"> <form [formGroup]="form">
<div *ngIf="studentStep"> <div *ngIf="studentStep">
<h2 id="studentInfo" class="center" style="margin:25px;">Student Information</h2> <table class="info-table">
<tr>
<td class="label">Ages</td>
<td>4 - 12 years old</td>
</tr>
<tr>
<td class="label">Dates</td>
<td>August 10 - 13</td>
</tr>
<tr>
<td class="label">Time</td>
<td>6:30 PM - 8:00 PM</td>
</tr>
<tr>
<td class="label">Location</td>
<td>
<a href="https://www.google.com/maps/place/Old+Fashion+Baptist+Church/@45.9509155,-112.5144616,17z/data=!3m1!4b1!4m6!3m5!1s0x535b078c3c74ea33:0xac299097142c5894!8m2!3d45.9509155!4d-112.5118867!16s%2Fg%2F1ts3f8rz?entry=ttu&g_ep=EgoyMDI2MDcxMi4wIKXMDSoASAFQAw%3D%3D" target="_blank" rel="noopener noreferrer">
Old Fashion Baptist Church<br>
5003 Wynne Ave<br>
Butte, MT
</a>
</td>
</tr>
<tr>
<td class="label">Contact</td>
<td><a href="tel:+4064945028">(406) 494-5028</a></td>
</tr>
</table>
<h2 id="studentInfo" class="center" style="margin:25px; margin-top: 35px;">Student Information</h2>
<div class="form-row-2-col"> <div class="form-row-2-col">
<mat-form-field class="w-100" [class.background-error]="hasErrors('firstName')"> <mat-form-field class="w-100" [class.background-error]="hasErrors('firstName')">
<mat-label>First Name</mat-label> <mat-label>First Name</mat-label>

View File

@ -30,7 +30,7 @@ router.post("/", function(req,res){
let mailOptions = { let mailOptions = {
from: 'donotreply@ofbbutte.com', from: 'donotreply@ofbbutte.com',
to: 'djabsher@gmail.com', to: 'djabsher@gmail.com',
subject: 'OFB - VBS Registration' + req.body.firstName, subject: 'OFB - VBS Registration - ' + req.body.firstName,
html: generateRegistrationEmailHTML(req.body) html: generateRegistrationEmailHTML(req.body)
}; };
let mailOptions2 = { let mailOptions2 = {
@ -230,7 +230,7 @@ function generateVbsConfirmationEmail(studentName, parentName) {
box-shadow: 0 2px 8px rgba(0,0,0,.1); box-shadow: 0 2px 8px rgba(0,0,0,.1);
} }
.header { .header {
background-color: #2c5aa0; background-color: rgb(0, 188, 212);
color: white; color: white;
text-align: center; text-align: center;
padding: 25px; padding: 25px;
@ -273,15 +273,13 @@ function generateVbsConfirmationEmail(studentName, parentName) {
</div> </div>
<div class="content"> <div class="content">
<p>${parentName},</p>
<p> <p>
<span class="highlight">${studentName}</span> <span class="highlight">${studentName}</span>
has been registered for our has been registered for
<strong>Vacation Bible School!</strong> <strong>Vacation Bible School!</strong>
</p> </p>
<p>We look forward to having your child join us for Bible lessons, games, snacks, and prizes!</p> <p>We look forward to having ${studentName} join us for Bible lessons, games, snacks, and prizes!</p>
<h2>Vacation Bible School Information</h2> <h2>Vacation Bible School Information</h2>
@ -315,16 +313,10 @@ function generateVbsConfirmationEmail(studentName, parentName) {
<p style="margin-top:25px;"> <p style="margin-top:25px;">
If you have any questions, please don't hesitate to contact us. If you have any questions, please don't hesitate to contact us.
</p> </p>
<p>We look forward to seeing you!</p>
<p>
<strong>Old Fashion Baptist Church</strong><br>
</p>
</div> </div>
<div class="footer"> <div class="footer">
Thank you for registering for Vacation Bible School!<br> Old Fashion Baptist Church<br>
</div> </div>
</div> </div>
</body> </body>