Skip to content

Commit c549d5c

Browse files
committed
feat: add footer with links to project repository and author website
1 parent 6d17801 commit c549d5c

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ <h2 id="lesson-title">Loading...</h2>
7070
</div>
7171
</div>
7272

73+
<footer>
74+
Free and Open Source Software:
75+
<a href="https://github.com/nextlevelshit/code-crispies" target="_blank"
76+
>https://github.com/nextlevelshit/code-crispies</a
77+
>
78+
by <a href="https://dailysh.it" title="Website of Michael W. Czechowski">Michael W. Czechowski</a>
79+
</footer>
80+
7381
<div class="controls">
7482
<button id="prev-btn" class="btn">Previous</button>
7583
<div class="level-indicator" id="level-indicator">Level 0/0</div>

src/main.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,19 @@ code {
9696
font-family: var(--font-code);
9797
}
9898

99+
footer {
100+
margin: 2rem auto 0;
101+
display: block;
102+
color: var(--light-text);
103+
text-align: center;
104+
}
105+
106+
footer a {
107+
color: var(--primary-color);
108+
text-decoration: none;
109+
transition: color 0.2s ease;
110+
}
111+
99112
/* ================= LAYOUT ================= */
100113
.app-container {
101114
display: flex;

0 commit comments

Comments
 (0)