diff --git a/DV8-Expo/website/routes.py b/DV8-Expo/website/routes.py
index c42b310..1607427 100644
--- a/DV8-Expo/website/routes.py
+++ b/DV8-Expo/website/routes.py
@@ -1,10 +1,9 @@
from flask import Blueprint, render_template, redirect, flash, abort
-from flask_login import login_user, logout_user, login_required, current_user
+from flask_login import login_user, logout_user, login_required
from flask_wtf import FlaskForm
from wtforms import StringField
from wtforms.validators import DataRequired
-from website.models import Users, Games
-from website.extensions import db
+from website.models import Users, Games, Images, Authors, Tags
blueprint = Blueprint("website", __name__)
@@ -36,6 +35,11 @@ def g(game_id):
if not game:
abort(404)
+ # TODO: Add images, authors, and tags to the game page
+ # images = Images.query.filter_by(game_id=game_id).all()
+ # authors = Authors.query.filter_id(game_id=game_id).all()
+ # tags = Tags.query.filter_by(game_id=game_id).all()
+
return render_template("game.html", game=game)
diff --git a/DV8-Expo/website/static/sass/nav.sass b/DV8-Expo/website/static/sass/nav.sass
index b99ef5a..8857dd0 100644
--- a/DV8-Expo/website/static/sass/nav.sass
+++ b/DV8-Expo/website/static/sass/nav.sass
@@ -1,6 +1,5 @@
nav
padding: 0 0.5rem
- width: 100%
height: 3rem
display: flex
@@ -54,7 +53,7 @@ nav
&:hover
color: RGB($accent)
- > .title
+ .title
height: 3rem
display: flex
flex-direction: row
@@ -73,7 +72,7 @@ nav
color: RGB($accent)
&.scrolled
- > .title
+ .title
opacity: 1
&::before
@@ -84,12 +83,10 @@ nav
height: 6rem
top: -3rem
display: flex
- flex-direction: column
justify-content: center
-
transition: top 0.2s ease-in-out
- > .title > p
+ .title > p
font-size: 1.3rem
&.scrolled
diff --git a/DV8-Expo/website/static/sass/sections.sass b/DV8-Expo/website/static/sass/sections.sass
index 517d554..362bcc0 100644
--- a/DV8-Expo/website/static/sass/sections.sass
+++ b/DV8-Expo/website/static/sass/sections.sass
@@ -107,6 +107,7 @@ div.login
flex-direction: column
font-family: $main-font
+ font-size: 1rem
background-color: RGB($primary)
color: RGB($secondary)
@@ -118,11 +119,9 @@ div.login
> img
margin: 0 0 0.5rem
- width: auto
- height: 10rem
- object-fit: cover
+ width: 100%
display: block
- border-radius: calc(#{$radius} - 0.5rem) calc(#{$radius} - 0.5rem) calc(calc(#{$radius} - 0.5rem) / 2) calc(calc(#{$radius} - 0.5rem) / 2)
+ // border-radius: calc(#{$radius} - 0.5rem) calc(#{$radius} - 0.5rem) calc(calc(#{$radius} - 0.5rem) / 2) calc(calc(#{$radius} - 0.5rem) / 2)
> h2
margin: 0 0 0.5rem
@@ -132,7 +131,6 @@ div.login
> p
height: 100%
margin: 0 0 1rem
- font-size: 1rem
> .options
display: flex
@@ -150,7 +148,6 @@ div.login
justify-content: center
align-items: center
- font-size: 1rem
text-decoration: none
background-color: RGB($primary-button)
diff --git a/DV8-Expo/website/templates/game.html b/DV8-Expo/website/templates/game.html
index 0e31947..3195520 100644
--- a/DV8-Expo/website/templates/game.html
+++ b/DV8-Expo/website/templates/game.html
@@ -9,10 +9,26 @@
{% block content %}
-
- Games
- Here are some games AAAA
+
+ Description
+ {{ game.description }}
+
+
+
+
+
+ {% for image in game.images %}
+
+ {% endfor %}
{% endblock %}
\ No newline at end of file