diff --git a/MyPortfolio/myFlaskProject.py b/MyPortfolio/myFlaskProject.py index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..63e5c9aa55bbebd776f6d48093bdd32a5a4ff5f5 100644 --- a/MyPortfolio/myFlaskProject.py +++ b/MyPortfolio/myFlaskProject.py @@ -0,0 +1,7 @@ +from flask import Flask, render_template + +app = Flask(__name__,template_folder='./templates') + +@app.route("/") +def index(): + return render_template('index.html') \ No newline at end of file diff --git a/MyPortfolio/templates/template.html b/MyPortfolio/templates/template.html new file mode 100644 index 0000000000000000000000000000000000000000..4d3bd53513459dc551cba29da3d9e0d4adb00185 --- /dev/null +++ b/MyPortfolio/templates/template.html @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<html> +<head> + <link rel="stylesheet" href="../static/style/main.css"> + <link rel="preconnect" href="https://fonts.googleapis.com"> + <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> + <link href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap" rel="stylesheet"> +</head> +<body> + <header> + <pre class="logo"> + + +██████╗ ██╗ ██████╗ +██╔â•â•â–ˆâ–ˆâ•—██║██╔â•â•â•â–ˆâ–ˆâ•— +██████╔â•â–ˆâ–ˆâ•‘██║ ██║ +██╔â•â•â•â• ██║██║ ██║ +██║██╗ ██║╚██████╔╠+â•šâ•â•â•šâ•â• â•šâ•â• â•šâ•â•â•â•â•â• + + + </pre> + <ul> + <li><a href="index.html">Home</a></li> + <li><a href="techniques.html">Techniques</a></li> + <li><a href="list.html">Projects</a></li> + <li><a href="https://github.com/olma957">GitHub</a></li> + </ul> + </header> + + <div class="content-container"></div> + + + <footer> + <p>Authors:<br> + <a href="mailto:olima957@student.liu.se">Oliwer Mattsson: olima957@student.liu.se</a><br> + <a href="mailto:taiku983@student.liu.se">Taif Kurji: taiku983@student.liu.se</a> + </p> + <p>License:<br> + <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3 License</a> + </p> + <p>Links:<br> + <a href="index.html">Home</a><br> + <a href="techniques.html">Techniques</a><br> + <a href="list.html">Projects</a><br> + <a href="https://github.com/olma957">GitHub</a> + </p> + </footer> +</body> +</html> \ No newline at end of file