commit 848eb0370f06e879812815f6d8fc490d5c36d65f Author: craisin Date: Sun Nov 23 18:38:01 2025 -0800 Initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2236d22 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.11 + +COPY ./source /source +RUN pip install --no-cache-dir -r /source/requirements.txt + +EXPOSE 8000 + +RUN useradd app +USER app + +WORKDIR /source +CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"] diff --git a/source/app.py b/source/app.py new file mode 100644 index 0000000..b089404 --- /dev/null +++ b/source/app.py @@ -0,0 +1,11 @@ +from flask import Flask, redirect, render_template + +app = Flask(__name__) +PORT = 8080 + +@app.route("/") +def home(): + return render_template("index.html") + +if __name__ == "__main__": + app.run(port=PORT) \ No newline at end of file diff --git a/source/requirements.txt b/source/requirements.txt new file mode 100644 index 0000000..acc455a --- /dev/null +++ b/source/requirements.txt @@ -0,0 +1,10 @@ +blinker +click +Flask +gunicorn +itsdangerous +Jinja2 +MarkupSafe +packaging +setuptools +Werkzeug diff --git a/source/static/pfp.png b/source/static/pfp.png new file mode 100644 index 0000000..b2f4292 Binary files /dev/null and b/source/static/pfp.png differ diff --git a/source/static/style.css b/source/static/style.css new file mode 100644 index 0000000..6a6a20a --- /dev/null +++ b/source/static/style.css @@ -0,0 +1,54 @@ +html{overflow: hidden;} + +body{ + + margin: 0px; + width: 100vw; + height: 100vh; + + background-color: #960000; + background: radial-gradient(circle, transparent 20%, #960000 20%, #960000 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #960000 20%, #960000 80%, transparent 80%, transparent) 25px 25px, linear-gradient(#fA8080 2px, transparent 2px) 0 -1px, linear-gradient(90deg, #fA8080 2px, #960000 2px) -1px 0; + background-size: 50px 50px, 50px 50px, 25px 25px, 25px 25px; + + font-family: "Lexend", sans-serif; + font-size: 2vh; + +} + +h2{ + font-size: 2.2vh; +} + +#foreground{ + + margin: 10vh 10vw; + width: 80vw; + height: 80vh; + + background-color: #FA8080; + border-radius: 5vw; + +} + +#content > * { + + margin: 10px; + +} + +#content { + + margin: 0px; + padding: 5vw; + +} + +#pfp{ + + width: 6vh; + height: 6vh; + border-radius: 3vh; + + float: left; + +} \ No newline at end of file diff --git a/source/templates/index.html b/source/templates/index.html new file mode 100644 index 0000000..ce9dbe6 --- /dev/null +++ b/source/templates/index.html @@ -0,0 +1,33 @@ + + + + Craisin Cove + + + + + + + +
+ +

@Craisin


+

Saber Fencer | Script Kiddie | Math Nerd

+

Bio

+

Just a normal guy who likes fencing and STEM. Give it a few years maybe something will be here

+

Resources

+ +

Mini Resume (as of 4/21/25)

+
    +
  • C24 saber fencer
  • +
  • 92 on AMC 10
  • +
  • USACO Silver
  • +
  • Specialist Codeforces
  • +
+
+ +