added the writing page

This commit is contained in:
0x01FE 2024-03-29 11:30:53 -05:00
parent c4fbc62ec1
commit 52800a249d
4 changed files with 22 additions and 8 deletions

4
.gitignore vendored
View File

@ -10,3 +10,7 @@ docker-compose.yaml
*.jpg
*.png
*.gif
# Writing
writing

View File

@ -4,9 +4,7 @@ FROM python:3.12.2-slim-bookworm
RUN apt-get update && apt-get upgrade -y
RUN useradd -m app
USER app
RUN groupadd -r app && useradd -r -g app app
COPY . .
@ -15,4 +13,6 @@ RUN python3 -m pip install -r requirements.txt
WORKDIR ./app
USER app
CMD ["python3", "-u", "app.py"]

9
app/static/writing.html Normal file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<body>
<a href="/">home</a>
<br>
<br>
<a href="/writing/scream.txt">Scream</a> March 27th, 2024
</body>
</html>

View File

@ -14,11 +14,12 @@
<!-- Sidebar -->
<div class="sidebar">
<a href="."><u>Home</u></a><br>
<a href="./games/">Games</a><br>
<a href="./music/">Music</a><br>
<a href="./motion-pictures/">Motion Picture</a><br>
<a href="./programming/">Programming</a><br>
<a href="./about/">About</a>
<a href="/games/">Games</a><br>
<a href="/music/">Music</a><br>
<a href="/motion-pictures/">Motion Picture</a><br>
<a href="/programming/">Programming</a><br>
<a href="/writing.html">Writing</a><br>
<a href="/about/">About</a>
</div>
<!-- Main Page -->