diff --git a/frontend/buy.html b/frontend/buy.html index 7fe4e61..2c21d63 100644 --- a/frontend/buy.html +++ b/frontend/buy.html @@ -28,7 +28,23 @@
-
Iowa Vs Western Michigan
+
+ + +
Sat Sep 30, Time TBD ยท Kinnick Stadium, Iowa City, Iowa


diff --git a/frontend/index.html b/frontend/index.html index e839c7f..796fc9e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,11 +1,12 @@ - + SeatStock - + + @@ -47,7 +48,7 @@
Iowa Vs. Michigan St

- Buy $55 or Bid + + Sell
Market Data
@@ -69,7 +70,7 @@
Iowa Vs. Minnesota
- + Sell

Market Data @@ -77,7 +78,7 @@
Iowa Vs Rutgers
- + Sell

Market Data
diff --git a/frontend/script.js b/frontend/script.js new file mode 100644 index 0000000..9ce9a4a --- /dev/null +++ b/frontend/script.js @@ -0,0 +1,15 @@ +let USER_SIGNED_IN = false; + +function check_sign_in(game) { + const is_user_signed_in = localStorage.getItem("USER_SIGNED_IN"); + + if (is_user_signed_in !== null && is_user_signed_in === 'true') { + window.location.href = "./buy.html?game=" + game; + } else { + window.location.href = "./signin.html"; + } +} + +function set_user_signed_in() { + localStorage.setItem('USER_SIGNED_IN', true); +} \ No newline at end of file diff --git a/frontend/signin.html b/frontend/signin.html index 8654caa..e29bb64 100644 --- a/frontend/signin.html +++ b/frontend/signin.html @@ -27,7 +27,7 @@

Sign In
Log in for secure transactions.
-
+



@@ -36,7 +36,7 @@
diff --git a/frontend/signup.html b/frontend/signup.html index e66ea0a..dac9375 100644 --- a/frontend/signup.html +++ b/frontend/signup.html @@ -27,7 +27,7 @@