Skip to content

Commit ff6af7d

Browse files
committed
Add favicon images and site manifest; update header and footer with logo
1 parent b524919 commit ff6af7d

File tree

11 files changed

+48
-35
lines changed

11 files changed

+48
-35
lines changed

.github/workflows/flask-tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Run Flask Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: "3.9"
19+
20+
- name: Install dependencies
21+
run: |
22+
python -m venv venv
23+
source venv/bin/activate
24+
pip install -r requirements.txt
25+
26+
- name: Run Flask tests
27+
run: |
28+
source venv/bin/activate
29+
flask run # Run Flask tests (Make sure you have tests)
0 Bytes
Binary file not shown.
12.7 KB
Loading
34.7 KB
Loading

App/static/img/apple-touch-icon.png

11.4 KB
Loading

App/static/img/favicon-16x16.png

654 Bytes
Loading

App/static/img/favicon-32x32.png

1.43 KB
Loading

App/static/img/favicon.ico

0 Bytes
Binary file not shown.

App/static/img/site.webmanifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

App/templates/base/footer.html

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,15 @@ <h3 class="fs-6">Careers</h3>
3636
>
3737
<div class="fw-bold d-flex align-items-center mb-2">
3838
<span
39-
class="bs-icon-sm bs-icon-rounded bs-icon-primary d-flex justify-content-center align-items-center bs-icon me-2"
40-
><svg
41-
xmlns="http://www.w3.org/2000/svg"
42-
width="1em"
43-
height="1em"
44-
fill="currentColor"
45-
viewBox="0 0 16 16"
46-
class="bi bi-bezier"
47-
>
48-
<path
49-
fill-rule="evenodd"
50-
d="M0 10.5A1.5 1.5 0 0 1 1.5 9h1A1.5 1.5 0 0 1 4 10.5v1A1.5 1.5 0 0 1 2.5 13h-1A1.5 1.5 0 0 1 0 11.5zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm10.5.5A1.5 1.5 0 0 1 13.5 9h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zM6 4.5A1.5 1.5 0 0 1 7.5 3h1A1.5 1.5 0 0 1 10 4.5v1A1.5 1.5 0 0 1 8.5 7h-1A1.5 1.5 0 0 1 6 5.5zM7.5 4a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5z"
51-
></path>
52-
<path
53-
d="M6 4.5H1.866a1 1 0 1 0 0 1h2.668A6.517 6.517 0 0 0 1.814 9H2.5c.123 0 .244.015.358.043a5.517 5.517 0 0 1 3.185-3.185A1.503 1.503 0 0 1 6 5.5zm3.957 1.358A1.5 1.5 0 0 0 10 5.5v-1h4.134a1 1 0 1 1 0 1h-2.668a6.517 6.517 0 0 1 2.72 3.5H13.5c-.123 0-.243.015-.358.043a5.517 5.517 0 0 0-3.185-3.185z"
54-
></path></svg></span
55-
><span>Brand Name</span>
39+
class="bs-icon-sm bs-icon-rounded d-flex justify-content-center align-items-center bs-icon me-2"
40+
>
41+
<img
42+
src="./../../static/img/favicon.ico"
43+
width="100%"
44+
height="100%"
45+
alt="Logo"
46+
/> </span
47+
><span>Alpha Team</span>
5648
</div>
5749
<p class="text-muted copyright">
5850
Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati eos
@@ -66,7 +58,6 @@ <h3 class="fs-6">Careers</h3>
6658
<ul class="list-inline mb-0">
6759
<li class="list-inline-item">
6860
<svg
69-
onclick="console.log('Hiiii');"
7061
xmlns="http://www.w3.org/2000/svg"
7162
width="1em"
7263
height="1em"

App/templates/base/header.html

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22
<div class="container">
33
<a class="navbar-brand d-flex align-items-center" href="#"
44
><span
5-
class="bs-icon-sm bs-icon-rounded bs-icon-primary d-flex justify-content-center align-items-center me-2 bs-icon"
6-
><svg
7-
class="bi bi-bezier"
8-
xmlns="http://www.w3.org/2000/svg"
9-
width="1em"
10-
height="1em"
11-
fill="currentColor"
12-
viewBox="0 0 16 16"
13-
>
14-
<path
15-
fill-rule="evenodd"
16-
d="M0 10.5A1.5 1.5 0 0 1 1.5 9h1A1.5 1.5 0 0 1 4 10.5v1A1.5 1.5 0 0 1 2.5 13h-1A1.5 1.5 0 0 1 0 11.5zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zm10.5.5A1.5 1.5 0 0 1 13.5 9h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5zm1.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5zM6 4.5A1.5 1.5 0 0 1 7.5 3h1A1.5 1.5 0 0 1 10 4.5v1A1.5 1.5 0 0 1 8.5 7h-1A1.5 1.5 0 0 1 6 5.5zM7.5 4a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5z"
17-
></path>
18-
<path
19-
d="M6 4.5H1.866a1 1 0 1 0 0 1h2.668A6.517 6.517 0 0 0 1.814 9H2.5c.123 0 .244.015.358.043a5.517 5.517 0 0 1 3.185-3.185A1.503 1.503 0 0 1 6 5.5zm3.957 1.358A1.5 1.5 0 0 0 10 5.5v-1h4.134a1 1 0 1 1 0 1h-2.668a6.517 6.517 0 0 1 2.72 3.5H13.5c-.123 0-.243.015-.358.043a5.517 5.517 0 0 0-3.185-3.185z"
20-
></path></svg></span
21-
><span>Brand Name</span></a
5+
class="bs-icon-sm bs-icon-rounded d-flex justify-content-center align-items-center me-2 bs-icon"
6+
>
7+
<img
8+
src="./../../static/img/favicon.ico"
9+
width="100%"
10+
height="100%"
11+
alt="Logo"
12+
/> </span
13+
><span>Alpha Team</span></a
2214
><button
2315
class="navbar-toggler"
2416
data-bs-toggle="collapse"

0 commit comments

Comments
 (0)