diff --git a/backend/src/app.py b/backend/src/app.py index 0cc56af..6a23b0a 100644 --- a/backend/src/app.py +++ b/backend/src/app.py @@ -1,9 +1,9 @@ import logging -from flask import Flask, Response +from flask import Flask, render_template app = Flask(__name__) app.logger.setLevel(logging.INFO) @app.route('/') def index(): - return Response('HI!') + return render_template('landing.html') diff --git a/backend/src/templates/base.html b/backend/src/templates/base.html new file mode 100644 index 0000000..c362663 --- /dev/null +++ b/backend/src/templates/base.html @@ -0,0 +1,15 @@ + + + + FileDrop App + + +
+ {% block main %} +

+ Nothing to see here. +

+ {% endblock %} +
+ + diff --git a/backend/src/templates/landing.html b/backend/src/templates/landing.html new file mode 100644 index 0000000..2016d16 --- /dev/null +++ b/backend/src/templates/landing.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block main %} +

FileDrop App

+
+ Form to select and upload files will go here. +
+{% endblock %}