diff --git a/venv/.gitignore b/venv/.gitignore new file mode 100644 index 0000000..e985853 --- /dev/null +++ b/venv/.gitignore @@ -0,0 +1 @@ +.vercel diff --git a/venv/.vercel/project.json b/venv/.vercel/project.json index 4ae7116..07432c8 100644 --- a/venv/.vercel/project.json +++ b/venv/.vercel/project.json @@ -1 +1 @@ -{"orgId":"RXDy9fsHHUMdP3Y9CCzxaa7w","projectId":"prj_fhKjryWYHXc2me4RvhUk0RTMRgSR"} \ No newline at end of file +{"projectId":"prj_fhKjryWYHXc2me4RvhUk0RTMRgSR","orgId":"RXDy9fsHHUMdP3Y9CCzxaa7w"} \ No newline at end of file diff --git a/venv/index.py b/venv/index.py index 4e05ac0..8c8384e 100644 --- a/venv/index.py +++ b/venv/index.py @@ -1,10 +1,8 @@ -from flask import Flask - - -app = Flask(__name__) +from flask import Flask, render_template, request +app = Flask(__name__, template_folder = "templates", static_url_path="/static") +#home page @app.route("/") -def home(): - return app.send_static_file("index.html") - +def index(): + return render_template("index.html") \ No newline at end of file diff --git a/venv/images/colors/colors.png b/venv/static/images/colors/colors.png similarity index 100% rename from venv/images/colors/colors.png rename to venv/static/images/colors/colors.png diff --git a/venv/images/elements/ai/line_long.ai b/venv/static/images/elements/ai/line_long.ai similarity index 100% rename from venv/images/elements/ai/line_long.ai rename to venv/static/images/elements/ai/line_long.ai diff --git a/venv/images/elements/ai/line_medium.ai b/venv/static/images/elements/ai/line_medium.ai similarity index 100% rename from venv/images/elements/ai/line_medium.ai rename to venv/static/images/elements/ai/line_medium.ai diff --git a/venv/images/elements/ai/line_short.ai b/venv/static/images/elements/ai/line_short.ai similarity index 100% rename from venv/images/elements/ai/line_short.ai rename to venv/static/images/elements/ai/line_short.ai diff --git a/venv/images/elements/png/discord.png b/venv/static/images/elements/png/discord.png similarity index 100% rename from venv/images/elements/png/discord.png rename to venv/static/images/elements/png/discord.png diff --git a/venv/images/elements/png/github.png b/venv/static/images/elements/png/github.png similarity index 100% rename from venv/images/elements/png/github.png rename to venv/static/images/elements/png/github.png diff --git a/venv/images/elements/png/gmail.png b/venv/static/images/elements/png/gmail.png similarity index 100% rename from venv/images/elements/png/gmail.png rename to venv/static/images/elements/png/gmail.png diff --git a/venv/images/elements/png/itch.png b/venv/static/images/elements/png/itch.png similarity index 100% rename from venv/images/elements/png/itch.png rename to venv/static/images/elements/png/itch.png diff --git a/venv/images/elements/png/line_long.png b/venv/static/images/elements/png/line_long.png similarity index 100% rename from venv/images/elements/png/line_long.png rename to venv/static/images/elements/png/line_long.png diff --git a/venv/images/elements/png/line_medium.png b/venv/static/images/elements/png/line_medium.png similarity index 100% rename from venv/images/elements/png/line_medium.png rename to venv/static/images/elements/png/line_medium.png diff --git a/venv/images/elements/png/line_short.png b/venv/static/images/elements/png/line_short.png similarity index 100% rename from venv/images/elements/png/line_short.png rename to venv/static/images/elements/png/line_short.png diff --git a/venv/images/elements/png/timmy.png b/venv/static/images/elements/png/timmy.png similarity index 100% rename from venv/images/elements/png/timmy.png rename to venv/static/images/elements/png/timmy.png diff --git a/venv/images/elements/png/twitter.png b/venv/static/images/elements/png/twitter.png similarity index 100% rename from venv/images/elements/png/twitter.png rename to venv/static/images/elements/png/twitter.png diff --git a/venv/images/elements/png/youtube.png b/venv/static/images/elements/png/youtube.png similarity index 100% rename from venv/images/elements/png/youtube.png rename to venv/static/images/elements/png/youtube.png diff --git a/venv/images/elements/psd/discord.psd b/venv/static/images/elements/psd/discord.psd similarity index 100% rename from venv/images/elements/psd/discord.psd rename to venv/static/images/elements/psd/discord.psd diff --git a/venv/images/elements/psd/github.psd b/venv/static/images/elements/psd/github.psd similarity index 100% rename from venv/images/elements/psd/github.psd rename to venv/static/images/elements/psd/github.psd diff --git a/venv/images/elements/psd/gmail.psd b/venv/static/images/elements/psd/gmail.psd similarity index 100% rename from venv/images/elements/psd/gmail.psd rename to venv/static/images/elements/psd/gmail.psd diff --git a/venv/images/elements/psd/itch.psd b/venv/static/images/elements/psd/itch.psd similarity index 100% rename from venv/images/elements/psd/itch.psd rename to venv/static/images/elements/psd/itch.psd diff --git a/venv/images/elements/psd/twitter.psd b/venv/static/images/elements/psd/twitter.psd similarity index 100% rename from venv/images/elements/psd/twitter.psd rename to venv/static/images/elements/psd/twitter.psd diff --git a/venv/images/elements/psd/youtube.psd b/venv/static/images/elements/psd/youtube.psd similarity index 100% rename from venv/images/elements/psd/youtube.psd rename to venv/static/images/elements/psd/youtube.psd diff --git a/venv/styles.css b/venv/static/styles.css similarity index 100% rename from venv/styles.css rename to venv/static/styles.css diff --git a/venv/index.html b/venv/templates/index.html similarity index 68% rename from venv/index.html rename to venv/templates/index.html index 6c4c850..84544f3 100644 --- a/venv/index.html +++ b/venv/templates/index.html @@ -4,8 +4,8 @@
+
+