diff --git a/main.py b/main.py index 250db10..d9a7705 100644 --- a/main.py +++ b/main.py @@ -8,8 +8,15 @@ users = { } posts = [ - {"alias": "update-1", "title": "Game 'Picture Puzzle remake' update 1.0", "image": "picture-puzzle.png"}, - {"alias": "how-it-was-made", "title": "Picture Puzzle remake - How it was made", "image": "coding.png"} + {"alias": "history", "title": "Picture Puzzle history", "image": "picture-puzzle.png"}, + {"alias": "update-1", "title": "Game 'Picture Puzzle remake' update 1.0", "image": "baobab.png"}, + {"alias": "how-it-was-made", "title": "Picture Puzzle remake - How it was made", "image": "coding.png"}, + {"alias": "difficulties", "title": "Difficulties while making game", "image": "staircase-fail.png"}, + {"alias": "how-it-was-made", "title": "ChasGPT as code helper", "image": "gpt-meme.png"}, + {"alias": "update-1-1", "title": "Game 'Picture Puzzle remake' update 1.1", "image": "skeleton.png"}, + {"alias": "how-it-was-made", "title": "Game expectations vs. reality", "image": "developers-be-like.png"}, + {"alias": "how-it-was-made", "title": "Design and music", "image": "baobab.png"}, + {"alias": "how-it-was-made", "title": "Advices for game developers", "image": "advice.png"} ] def fetch_latest_posts(): diff --git a/static/css/posts.css b/static/css/posts.css index 555abf4..dc0adfc 100644 --- a/static/css/posts.css +++ b/static/css/posts.css @@ -1,13 +1,14 @@ body { - display: flex; - align-items: center; - flex-direction: column; + text-align: center; +} + +.text { + max-width: 800px; + margin: 0 auto; + text-align: left; + font-size: 25px; } h1 { - margin:100px; -} - -p { - font-size: 20px; + font-size: 35px; } diff --git a/static/images/baobab.png b/static/images/baobab.png new file mode 100644 index 0000000..466c709 Binary files /dev/null and b/static/images/baobab.png differ diff --git a/static/images/developers-be-like.png b/static/images/developers-be-like.png new file mode 100644 index 0000000..225ed9c Binary files /dev/null and b/static/images/developers-be-like.png differ diff --git a/static/images/skeleton.png b/static/images/skeleton.png new file mode 100644 index 0000000..50f4c45 Binary files /dev/null and b/static/images/skeleton.png differ diff --git a/static/images/staircase-fail.png b/static/images/staircase-fail.png new file mode 100644 index 0000000..4a3d0cc Binary files /dev/null and b/static/images/staircase-fail.png differ diff --git a/templates/update-1.html b/templates/update-1.html index 061abee..c482978 100644 --- a/templates/update-1.html +++ b/templates/update-1.html @@ -5,14 +5,16 @@ {% endblock %} {% block content %} +

Game "Picture Puzzle remake" update 1.0

Picture Puzzle original -

Added:

- +


Added:

+ - fixed image loading from last album
+ - fixed image choosing
+ - added proper image loading from storage
+ - optimized code
+ - added sounds for pieces
+ - added more music

{% endblock %}