Skip to content

Commit

Permalink
style: Update styling in 'notifications.html' and 'terms-of-service.h…
Browse files Browse the repository at this point in the history
…tml' files
  • Loading branch information
wajeht committed Aug 14, 2024
1 parent 90bf3eb commit adcca87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function getSettingsPageHandler(req: Request, res: Response) {

// GET /notifications
export function getNotificationsPageHandler(req: Request, res: Response) {
return res.render('settings.html', {
return res.render('notifications.html', {
path: '/notifications',
layout: '../layouts/auth.html',
});
Expand Down
2 changes: 2 additions & 0 deletions src/views/pages/terms-of-service.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div style="margin: 0 auto; max-width: 800px; padding: 20px; display: flex; flex-direction: column; gap: 20px;">

<a href="/">← back</a>

<div style="display: flex; flex-direction: column; gap: 10px;">
<h2>Terms of Service</h2>
<p>
Expand Down

0 comments on commit adcca87

Please sign in to comment.