From ac9479b2629a4e9eecc817ed59e49a59eeb17b12 Mon Sep 17 00:00:00 2001 From: Stephanie Gredell Date: Sat, 2 Nov 2024 19:32:59 -0700 Subject: [PATCH] Build a login page and modify the index page to link to it. For now we are only going to support Twitch logins. --- templates/index.html | 13 ++++++------- templates/login.html | 20 ++++++++++---------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/templates/index.html b/templates/index.html index d17f944..c5e391f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -10,13 +10,12 @@ {{ .title }} -
- {{if eq .isLoggedIn true}} - {{template "logoutButton"}} - {{ else }} - {{template "loginButton" . }} - {{ end }} -
+ {{if eq .isLoggedIn true}} + Login + {{ else }} + already logged in + {{ end }} +

Reach Your Goals

diff --git a/templates/login.html b/templates/login.html index 0dd1c13..6da6602 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,20 +1,20 @@ - + + -
-

Login with

+ \ No newline at end of file