diff --git a/.gitignore b/.gitignore index d03840d461dc122103d6c62a20901e23751ce51a..dcf1eee4987cb75d5f3c0ee05fe25c59be0cda9c 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,6 @@ fabric.properties # Android studio 3.1+ serialized cache file .idea/caches/build_file_checksums.ser + +# Built by python script +public/ \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000000000000000000000000000000000000..a55e7a179bde3e4e772c29c0c85e53354aa54618 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ +<component name="ProjectCodeStyleConfiguration"> + <state> + <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" /> + </state> +</component> \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index db8786c06ed9719181cd25ebe2615cc99c8490eb..137964fe77f51a812e70404d6282ee9054b4f259 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ <component name="Black"> <option name="sdkName" value="Python 3.12" /> </component> - <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" /> + <component name="ProjectRootManager" version="2" project-jdk-name="Remote Python 3.12.4 Docker (python:3)" project-jdk-type="Python SDK" /> </project> \ No newline at end of file diff --git a/.idea/personal-website.iml b/.idea/personal-website.iml index 7be28aa5c55726e3dec813f97d9fbe1bbf072844..89352b82e4c2b6dea7a30cfaf1b98850acec545c 100644 --- a/.idea/personal-website.iml +++ b/.idea/personal-website.iml @@ -2,7 +2,7 @@ <module type="PYTHON_MODULE" version="4"> <component name="NewModuleRootManager"> <content url="file://$MODULE_DIR$" /> - <orderEntry type="inheritedJdk" /> + <orderEntry type="jdk" jdkName="Remote Python 3.12.4 Docker (python:3)" jdkType="Python SDK" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="library" name="bootstrap" level="application" /> <orderEntry type="library" name="bootstrap-icons" level="application" /> diff --git a/build_site.py b/build_site.py index 88d9cf3c74e5910a91b97af2cf2232ec11dfc1c3..264514f62c5d6d6984a51ea87df5ba020686a3dc 100644 --- a/build_site.py +++ b/build_site.py @@ -1,2 +1,3 @@ import shutil -shutil.copyfile("templates/index.html", "public/index.html") \ No newline at end of file +shutil.copyfile("templates/index.html", "public/index.html") +shutil.copy("static/*", "public/") diff --git a/public/css/style.css b/static/css/style.css similarity index 100% rename from public/css/style.css rename to static/css/style.css diff --git a/public/img/pfp.png b/static/img/pfp.png similarity index 100% rename from public/img/pfp.png rename to static/img/pfp.png diff --git a/public/img/project/pizzapalace.png b/static/img/project/pizzapalace.png similarity index 100% rename from public/img/project/pizzapalace.png rename to static/img/project/pizzapalace.png diff --git a/public/img/project/placeholder.png b/static/img/project/placeholder.png similarity index 100% rename from public/img/project/placeholder.png rename to static/img/project/placeholder.png diff --git a/public/js/background_anim.js b/static/js/background_anim.js similarity index 100% rename from public/js/background_anim.js rename to static/js/background_anim.js diff --git a/templates/projects/001-pizzapalace.json b/templates/projects/001-pizzapalace.json new file mode 100644 index 0000000000000000000000000000000000000000..1841fa7f3bb7ab0c5981405b3daf3dca9c861d21 --- /dev/null +++ b/templates/projects/001-pizzapalace.json @@ -0,0 +1,7 @@ +{ + "name": "Pizza Palace", + "description": "I was tasked with a simple challenge and I overengineered it. Complete with admin UI and database.", + "badge_text": "Finished", + "badge_class": "text-bg-success", + "image": "img/project/pizzapalace.png" +} \ No newline at end of file