-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from tekktrik/dev/other-work
Add other work page
- Loading branch information
Showing
15 changed files
with
442 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "CircuitPython Day 2022 Development Sprint Introduction", | ||
"image": "/static/img/circuitpython_dev_sprint_intro.png", | ||
"aria_label": "", | ||
"alt_text": "", | ||
"description": "Join Alec and Kattni for a quick introduction to the CircuitPython Development Sprint. It's a Q&A covering questions that folks interested in joining the sprints might have.", | ||
"url": "https://www.youtube.com/watch?v=H-LbCRVCTfo", | ||
"datetime": 1660883944 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "CircuitPython Show: Continuous Integration and the CircuitPythonukiah", | ||
"image": "/static/img/circuitpythonukiah_diagram.png", | ||
"aria_label": "", | ||
"alt_text": "", | ||
"description": "Alec Delaney joins Paul and they discuss how CircuitPython uses continuous integration for development and Alec's CircuitPythonukiah project.", | ||
"url": "https://www.circuitpythonshow.com/@circuitpythonshow/episodes/alec-delaney", | ||
"datetime": 1670823544 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Community Help Desk - Hacktoberfest Tutoral", | ||
"image": "/static/img/hacktoberfest_tutorial.png", | ||
"aria_label": "", | ||
"alt_text": "", | ||
"description": "Alec (Tekktrik) hosts a special edition tutorial of the Community Help Desk to get you started on contributing to CircuitPython as part of Hacktoberfest. Learn what software you'll need and how the contribution process works. Whether you're new to contributing to CircuitPython or to open source in general, this tutorial will get you all set to contribute.", | ||
"url": "https://www.youtube.com/watch?v=APTUQbQSBq4", | ||
"datetime": 1664771944 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
flask_app/static/img/circuitpython_dev_sprint_intro.png.license
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-FileCopyrightText: 2022 Adafruit Industries | ||
SPDX-License-Identifier: CC-BY-3.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-FileCopyrightText: 2024 Alec Delaney | ||
SPDX-License-Identifier: CC-BY-4.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SPDX-FileCopyrightText: 2022 Adafruit Industries | ||
SPDX-License-Identifier: CC-BY-3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Alec Delaney | ||
SPDX-License-Identifier: MIT | ||
--> | ||
|
||
{% set prevpage = pagenum - 1 %} | ||
{% set nextpage = pagenum + 1 %} | ||
|
||
{% macro generate_work_card(work) -%} | ||
<div class="row d-flex pb-4"> | ||
<div class="col-lg-6 mx-auto"> | ||
<div class="card border-white"> | ||
<a href="{{ work.url }}" aria-label="{{ work.aria_label }}"> | ||
<img src="{{ work.image }}" class="card-img-top" alt="{{ work.alt_text }}"> | ||
</a> | ||
<div class="card-body"> | ||
<h5 class="card-title">{{ work.name }}</h5> | ||
<p class="card-text">{{ work.description }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{%- endmacro %} | ||
|
||
{% extends "layout/_layout.html" %} | ||
|
||
{% block head %}<link rel="stylesheet" href="/static/css/animations.css">{% endblock %} | ||
|
||
{% block title %}Other Work{% endblock %} | ||
|
||
{% block content %} | ||
<p class="lead text-center">Check out some of my other contributions and work!</p> | ||
<div class="container align-items-center"> | ||
{% for work in works %} | ||
{{ generate_work_card(work) }} | ||
{% endfor %} | ||
</div> | ||
<nav aria-label="Navigation for other works"> | ||
<ul class="pagination justify-content-center"> | ||
{% if pagenum != 1%} | ||
<li class="page-item"><a class="page-link" href="/other/{{ prevpage }}">Previous</a></li> | ||
<li class="page-item"><a class="page-link" href="/other/{{ prevpage }}">{{ prevpage }}</a></li> | ||
{% endif %} | ||
<li class="page-item"><a class="page-link" href="/other/{{ pagenum }}">{{ pagenum }}</a></li> | ||
{% if pagenum < maxpages %} | ||
<li class="page-item"><a class="page-link" href="/other/{{ nextpage }}">{{ nextpage }}</a></li> | ||
<li class="page-item"><a class="page-link" href="/other/{{ nextpage }}">Next</a></li> | ||
{% endif %} | ||
</ul> | ||
</nav> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters