Rebrand and updated copyright date
This commit is contained in:
@@ -79,7 +79,7 @@ class EmailClient {
|
||||
}
|
||||
|
||||
// Use friendly sender name format for better recognition
|
||||
const fromName = process.env.SES_FROM_NAME || "RentAll";
|
||||
const fromName = process.env.SES_FROM_NAME || "Village Share";
|
||||
const fromEmail = process.env.SES_FROM_EMAIL;
|
||||
const source = `${fromName} <${fromEmail}>`;
|
||||
|
||||
|
||||
@@ -219,13 +219,13 @@ class TemplateManager {
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<div class="logo">RentAll</div>
|
||||
<div class="logo">Village Share</div>
|
||||
</div>
|
||||
<div class="content">
|
||||
{{content}}
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>This email was sent from RentAll. If you have any questions, please contact support.</p>
|
||||
<p>This email was sent from Village Share. If you have any questions, please contact support.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
@@ -252,7 +252,7 @@ class TemplateManager {
|
||||
<p>{{message}}</p>
|
||||
<p><strong>Item:</strong> {{itemName}}</p>
|
||||
<p><strong>Rental Period:</strong> {{startDate}} to {{endDate}}</p>
|
||||
<p>Thank you for using RentAll!</p>
|
||||
<p>Thank you for using Village Share!</p>
|
||||
`
|
||||
),
|
||||
|
||||
@@ -261,7 +261,7 @@ class TemplateManager {
|
||||
`
|
||||
<p>Hi {{recipientName}},</p>
|
||||
<h2>Verify Your Email Address</h2>
|
||||
<p>Thank you for registering with RentAll! Please verify your email address by clicking the button below.</p>
|
||||
<p>Thank you for registering with Village Share! Please verify your email address by clicking the button below.</p>
|
||||
<p><a href="{{verificationUrl}}" class="button">Verify Email Address</a></p>
|
||||
<p>If the button doesn't work, copy and paste this link into your browser: {{verificationUrl}}</p>
|
||||
<p><strong>This link will expire in 24 hours.</strong></p>
|
||||
@@ -273,7 +273,7 @@ class TemplateManager {
|
||||
`
|
||||
<p>Hi {{recipientName}},</p>
|
||||
<h2>Reset Your Password</h2>
|
||||
<p>We received a request to reset the password for your RentAll account. Click the button below to choose a new password.</p>
|
||||
<p>We received a request to reset the password for your Village Share account. Click the button below to choose a new password.</p>
|
||||
<p><a href="{{resetUrl}}" class="button">Reset Password</a></p>
|
||||
<p>If the button doesn't work, copy and paste this link into your browser: {{resetUrl}}</p>
|
||||
<p><strong>This link will expire in 1 hour.</strong></p>
|
||||
@@ -286,7 +286,7 @@ class TemplateManager {
|
||||
`
|
||||
<p>Hi {{recipientName}},</p>
|
||||
<h2>Your Password Has Been Changed</h2>
|
||||
<p>This is a confirmation that the password for your RentAll account ({{email}}) has been successfully changed.</p>
|
||||
<p>This is a confirmation that the password for your Village Share account ({{email}}) has been successfully changed.</p>
|
||||
<p><strong>Changed on:</strong> {{timestamp}}</p>
|
||||
<p>For your security, all existing sessions have been logged out.</p>
|
||||
<p><strong>Didn't change your password?</strong> If you did not make this change, please contact our support team immediately.</p>
|
||||
@@ -370,7 +370,7 @@ class TemplateManager {
|
||||
<p style="font-size: 18px; color: #28a745;"><strong>Your Earnings:</strong> \${{payoutAmount}}</p>
|
||||
<p>Funds are typically available in your bank account within 2-3 business days.</p>
|
||||
<p><a href="{{earningsDashboardUrl}}" class="button">View Earnings Dashboard</a></p>
|
||||
<p>Thank you for being a valued member of the RentAll community!</p>
|
||||
<p>Thank you for being a valued member of the Village Share community!</p>
|
||||
`
|
||||
),
|
||||
|
||||
@@ -389,7 +389,7 @@ class TemplateManager {
|
||||
<div class="info-box">
|
||||
<p><strong>What happens next?</strong></p>
|
||||
<p>{{paymentMessage}}</p>
|
||||
<p>We encourage you to explore other similar items available for rent on RentAll. There are many great options waiting for you!</p>
|
||||
<p>We encourage you to explore other similar items available for rent on Village Share. There are many great options waiting for you!</p>
|
||||
</div>
|
||||
<p style="text-align: center;"><a href="{{browseItemsUrl}}" class="button">Browse Available Items</a></p>
|
||||
<p>If you have any questions or concerns, please don't hesitate to contact our support team.</p>
|
||||
@@ -424,7 +424,7 @@ class TemplateManager {
|
||||
`
|
||||
<p>Hi {{renterName}},</p>
|
||||
<h2>Thank You for Returning On Time!</h2>
|
||||
<p>You've successfully returned <strong>{{itemName}}</strong> on time. On-time returns like yours help build trust in the RentAll community!</p>
|
||||
<p>You've successfully returned <strong>{{itemName}}</strong> on time. On-time returns like yours help build trust in the Village Share community!</p>
|
||||
<h3>Rental Summary</h3>
|
||||
<p><strong>Item:</strong> {{itemName}}</p>
|
||||
<p><strong>Rental Period:</strong> {{startDate}} to {{endDate}}</p>
|
||||
@@ -460,7 +460,7 @@ class TemplateManager {
|
||||
{{feedbackText}}
|
||||
</div>
|
||||
<p><strong>Submitted:</strong> {{submittedAt}}</p>
|
||||
<p>Your input helps us improve RentAll for everyone. We take all feedback seriously and use it to make the platform better.</p>
|
||||
<p>Your input helps us improve Village Share for everyone. We take all feedback seriously and use it to make the platform better.</p>
|
||||
<p>If your feedback requires a response, our team will reach out to you directly.</p>
|
||||
`
|
||||
),
|
||||
|
||||
@@ -58,7 +58,7 @@ class AlphaInvitationEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
email,
|
||||
"Your Alpha Access Code - RentAll",
|
||||
"Your Alpha Access Code - Village Share",
|
||||
htmlContent
|
||||
);
|
||||
} catch (error) {
|
||||
|
||||
@@ -60,7 +60,7 @@ class AuthEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
user.email,
|
||||
"Verify Your Email - RentAll",
|
||||
"Verify Your Email - Village Share",
|
||||
htmlContent
|
||||
);
|
||||
}
|
||||
@@ -93,7 +93,7 @@ class AuthEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
user.email,
|
||||
"Reset Your Password - RentAll",
|
||||
"Reset Your Password - Village Share",
|
||||
htmlContent
|
||||
);
|
||||
}
|
||||
@@ -128,7 +128,7 @@ class AuthEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
user.email,
|
||||
"Password Changed Successfully - RentAll",
|
||||
"Password Changed Successfully - Village Share",
|
||||
htmlContent
|
||||
);
|
||||
}
|
||||
@@ -163,7 +163,7 @@ class AuthEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
user.email,
|
||||
"Personal Information Updated - RentAll",
|
||||
"Personal Information Updated - Village Share",
|
||||
htmlContent
|
||||
);
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ class FeedbackEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
user.email,
|
||||
"Thank You for Your Feedback - RentAll",
|
||||
"Thank You for Your Feedback - Village Share",
|
||||
htmlContent
|
||||
);
|
||||
}
|
||||
|
||||
@@ -941,7 +941,7 @@ class RentalFlowEmailService {
|
||||
<h2>Share Your Experience</h2>
|
||||
<div class="info-box">
|
||||
<p><strong>Help the community by leaving a review!</strong></p>
|
||||
<p>Your feedback helps other renters make informed decisions and supports quality listings on RentAll.</p>
|
||||
<p>Your feedback helps other renters make informed decisions and supports quality listings on Village Share.</p>
|
||||
<ul>
|
||||
<li>How was the item's condition?</li>
|
||||
<li>Was the owner responsive and helpful?</li>
|
||||
@@ -956,7 +956,7 @@ class RentalFlowEmailService {
|
||||
reviewSection = `
|
||||
<div class="success-box">
|
||||
<p><strong>✓ Thank You for Your Review!</strong></p>
|
||||
<p>Your feedback has been submitted and helps strengthen the RentAll community.</p>
|
||||
<p>Your feedback has been submitted and helps strengthen the Village Share community.</p>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ class RentalReminderEmailService {
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
userEmail,
|
||||
`RentAll: ${notification.title}`,
|
||||
`Village Share: ${notification.title}`,
|
||||
htmlContent
|
||||
);
|
||||
} catch (error) {
|
||||
|
||||
@@ -60,7 +60,7 @@ class UserEngagementEmailService {
|
||||
variables
|
||||
);
|
||||
|
||||
const subject = `Congratulations! Your first item is live on RentAll`;
|
||||
const subject = `Congratulations! Your first item is live on Village Share`;
|
||||
|
||||
return await this.emailClient.sendEmail(
|
||||
owner.email,
|
||||
|
||||
Reference in New Issue
Block a user