Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catching up #23

Merged
merged 8 commits into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
def homepage():
return flask.render_template('home.html')

@app.route('/about')
def aboutpage():
return flask.render_template('about.html')

@app.route('/catalog')
def catalogpage():
games = requests.get(app.config["DEVCADE_API_URI"] + "games/gamelist").json()
Expand Down
4 changes: 3 additions & 1 deletion src/static/css/devcade.css
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ img.header {
height: 200px;
padding: 0.5em 5px;
border-radius: 10px;
background-size: cover;
background-position: center;
}

.game-icon {
Expand Down Expand Up @@ -407,4 +409,4 @@ a:hover {
display: flex !important;
width: unset;
}
}
}
5 changes: 0 additions & 5 deletions src/templates/about.html

This file was deleted.

35 changes: 35 additions & 0 deletions src/templates/credits.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{% extends "header.html" %} {% block headertext %} Credits {%endblock%}
{% block content %}
<h2>Contributors</h2>
<p>Many people have contributed to the different aspects of the Devcade project. Listed below (alphabetically) are the names of those who contributed to the core of the project</p>
<div class="card-wrapper">
{% for i in range(0,contributors|length) %}
<div class="game-card" style="background-image: url({{ url_for('static', filename='images/csh_tilted.png') }})">
<img class="game-icon" src="https://www.gravatar.com/avatar/{{ contributors[i].email }}" />
<div class="game-name">
<div>
<h2>{{ contributors[i].name }}</h2>
<h3></h3>
</div>
</div>
<div class="game-desc"><div></div></div>
</div>

{% endfor %}
</div>
<ul>
<li>Andrew Ebersole</li>
<li>Noah Emke</li>
<li>Will Lyons</li>
<li>Wilson McDade</li>
<li>Willard Nilges</li>
<li>Joe O'Neil</li>
<li>Ben Piro</li>
<li>Dennis Santos Sanchez</li>
<li>Andrew Simonson</li>
<li>Ella Soccoli</li>
<li>Nathan Teall</li>
<li>Alex Vasilcoiu</li>
<li>Chris Wells</li>
</ul>
{% endblock %}
2 changes: 2 additions & 0 deletions src/templates/header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% macro gamecard(game) %}
{% if game.author != "mstrodl" %}
<a href="/game/{{ game.id }}">
<div class="game-card" style="background-image: url({{ game.bannerLink }})">
<img class="game-icon" src="{{ game.iconLink }}" />
Expand All @@ -11,6 +12,7 @@ <h3>{{ game.author }}</h3>
<div class="game-desc"><div>{{ game.description }}</div></div>
</div>
</a>
{% endif %}
{% endmacro %} {% block header %}
<!DOCTYPE html>
<html lang="en">
Expand Down