diff --git a/src/data/app.py b/src/data/app.py index 05069cd..8654b6e 100644 --- a/src/data/app.py +++ b/src/data/app.py @@ -13,7 +13,8 @@ def home(): @app.route("/projects") def projects(): return render_template("projects.html", title="Projets", projects=projects_list) - +@app.route("writeups") + return render_template("writeups.html", title="Writeups") @app.route("/contact") def contact(): return render_template("contact.html", title="Contact") diff --git a/src/data/projects.py b/src/data/projects.py index a3e5507..85f3204 100644 --- a/src/data/projects.py +++ b/src/data/projects.py @@ -20,4 +20,12 @@ projects_list = [ "link": "https://github.com/C18H24O2/override", "align": "start" }, + { + "title": "HackTheBox", + "description": "Site de pratique à la cybersécurité sous formes de \"box\" à pirater, avec exploitation réelles de failles existantes", + "image": "htb.png", + "link": "https://app.hackthebox.com/users/2374252", + "Button": ["Walkthroughs", "https://vavaas.dev/writeups"], + "align": "end" + } ] \ No newline at end of file diff --git a/src/data/static/img/htb.jpg b/src/data/static/img/htb.jpg new file mode 100644 index 0000000..edc8ac4 Binary files /dev/null and b/src/data/static/img/htb.jpg differ diff --git a/src/data/static/img/profile.png b/src/data/static/img/profile.png deleted file mode 100755 index b024173..0000000 Binary files a/src/data/static/img/profile.png and /dev/null differ diff --git a/src/data/templates/projects.html b/src/data/templates/projects.html index 4bf69c6..6160056 100644 --- a/src/data/templates/projects.html +++ b/src/data/templates/projects.html @@ -2,17 +2,21 @@ {% block content %}
-

My Projects

+

Mes projets:

{% for project in projects %}
{% endfor %} diff --git a/src/data/templates/writeups.html b/src/data/templates/writeups.html new file mode 100644 index 0000000..62fef2a --- /dev/null +++ b/src/data/templates/writeups.html @@ -0,0 +1,5 @@ +{% extends "base.html" %} +{% block content %} +

Writeups

+

wow

+{% endblock %}