diff --git a/app/src/web/routes.py b/app/src/web/routes.py index 8ddcc36..9bfe711 100644 --- a/app/src/web/routes.py +++ b/app/src/web/routes.py @@ -1,9 +1,9 @@ from quart import Blueprint -from quart import Response +from quart import render_template web_routes = Blueprint('web_routes', __name__) @web_routes.route('/') async def hello(): - return Response(response="Hello, world") + return await render_template('index.html') diff --git a/app/src/web/static/css/style.css b/app/src/web/static/css/style.css new file mode 100644 index 0000000..110b3ef --- /dev/null +++ b/app/src/web/static/css/style.css @@ -0,0 +1,6 @@ +h1 { + border: 2px #eee solid; + color: brown; + text-align: center; + padding: 10px; +} \ No newline at end of file diff --git a/app/src/web/templates/index.html b/app/src/web/templates/index.html new file mode 100644 index 0000000..585a816 --- /dev/null +++ b/app/src/web/templates/index.html @@ -0,0 +1,11 @@ + + + + + + FlaskBlog + + +

Welcome to FlaskBlog

+ + \ No newline at end of file