From c23d0f757cb237206af669e2a8e842c21679c22a Mon Sep 17 00:00:00 2001 From: timothypidashev Date: Thu, 5 Aug 2021 10:44:06 +0000 Subject: [PATCH] update site becuz im 17! --- venv/.gitignore | 1 + venv/.vercel/project.json | 2 +- venv/index.py | 12 +++++------ venv/{ => static}/images/colors/colors.png | Bin .../images/elements/ai/line_long.ai | 0 .../images/elements/ai/line_medium.ai | 0 .../images/elements/ai/line_short.ai | 0 .../images/elements/png/discord.png | Bin .../images/elements/png/github.png | Bin .../images/elements/png/gmail.png | Bin .../{ => static}/images/elements/png/itch.png | Bin .../images/elements/png/line_long.png | Bin .../images/elements/png/line_medium.png | Bin .../images/elements/png/line_short.png | Bin .../images/elements/png/timmy.png | Bin .../images/elements/png/twitter.png | Bin .../images/elements/png/youtube.png | Bin .../images/elements/psd/discord.psd | Bin .../images/elements/psd/github.psd | Bin .../images/elements/psd/gmail.psd | Bin .../{ => static}/images/elements/psd/itch.psd | Bin .../images/elements/psd/twitter.psd | Bin .../images/elements/psd/youtube.psd | Bin venv/{ => static}/styles.css | 0 venv/{ => templates}/index.html | 20 +++++++++--------- 25 files changed, 17 insertions(+), 18 deletions(-) create mode 100644 venv/.gitignore rename venv/{ => static}/images/colors/colors.png (100%) rename venv/{ => static}/images/elements/ai/line_long.ai (100%) rename venv/{ => static}/images/elements/ai/line_medium.ai (100%) rename venv/{ => static}/images/elements/ai/line_short.ai (100%) rename venv/{ => static}/images/elements/png/discord.png (100%) rename venv/{ => static}/images/elements/png/github.png (100%) rename venv/{ => static}/images/elements/png/gmail.png (100%) rename venv/{ => static}/images/elements/png/itch.png (100%) rename venv/{ => static}/images/elements/png/line_long.png (100%) rename venv/{ => static}/images/elements/png/line_medium.png (100%) rename venv/{ => static}/images/elements/png/line_short.png (100%) rename venv/{ => static}/images/elements/png/timmy.png (100%) rename venv/{ => static}/images/elements/png/twitter.png (100%) rename venv/{ => static}/images/elements/png/youtube.png (100%) rename venv/{ => static}/images/elements/psd/discord.psd (100%) rename venv/{ => static}/images/elements/psd/github.psd (100%) rename venv/{ => static}/images/elements/psd/gmail.psd (100%) rename venv/{ => static}/images/elements/psd/itch.psd (100%) rename venv/{ => static}/images/elements/psd/twitter.psd (100%) rename venv/{ => static}/images/elements/psd/youtube.psd (100%) rename venv/{ => static}/styles.css (100%) rename venv/{ => templates}/index.html (68%) 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 @@ Timothy Pidashev - - + + @@ -16,7 +16,7 @@

Hello,

I'm Tim.

- line + line
@@ -29,40 +29,40 @@ software developer!
- line + line