Skip to content

Commit 7f77d0d

Browse files
committed
Added buttons page.
1 parent a804917 commit 7f77d0d

5 files changed

Lines changed: 47 additions & 1 deletion

File tree

_data/buttons.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
- name: any-browser
2+
img: /assets/img/pictures/buttons/any_browser.gif
3+
tag: fun
4+
- name: BMH Online
5+
img: /assets/img/pictures/buttons/bmhonline_button.gif
6+
link: https://bmh.neocities.org/
7+
tag: cool
8+
- name: iam-can
9+
img: /assets/img/pictures/buttons/can_iam.gif
10+
tag: fun
11+
- name: linux-powered
12+
img: /assets/img/pictures/buttons/linux_powered.gif
13+
tag: fun
14+
- name: best-viewed-with
15+
img: /assets/img/pictures/buttons/bestview.gif
16+
tag: fun

_layouts/main.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
<img src="/assets/img/pictures/buttons/linux_powered.gif">
6969
</div>
7070
</marquee>
71+
<section class="field-row" style="justify-content: flex-end">
72+
<button onclick="window.location = '/buttons'">Check Out!</button>
73+
</section>
7174
</div>
7275
</div>
7376
</nav>

buttons.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Buttons
3+
layout: main
4+
---
5+
6+
<section style="margin-bottom: 1em;">
7+
<div class="window">
8+
<div class="title-bar">
9+
<div class="title-bar-text">Buttons</div>
10+
</div>
11+
<div class="window-body">
12+
{% for button in site.data.buttons %}
13+
{% if button.link %}
14+
<a href="{{ button.link }}">
15+
<img src="{{ button.img }}">
16+
</a>
17+
{% endif %}
18+
{% if button.link == null %}
19+
<img src="{{ button.img }}" alt="{{ button.name }}">
20+
{% endif %}
21+
{% endfor %}
22+
</div>
23+
</div>
24+
</section>

projects/damidoopxyz.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<p>This website was written using Jekyll, Bootstrap, and XP.css! You can find out more about the creation
1515
of this site in the <a href="/2025/01/12/new-site.html">blog article</a> I wrote about it!</p>
1616
</fieldset>
17+
<section class="field-row" style="justify-content: flex-end">
18+
<button onclick="window.location = 'https://damidoop.xyz'">Visit Site</button>
19+
</section>
1720
</div>
1821
</div>
1922
</section>

projects/geo-culminating.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
tuned for that!</p>
1919
</fieldset>
2020
<section class="field-row" style="justify-content: flex-end">
21-
<button onclick="window.location = 'https://geo.damidoop.xyz'">Visit Site</button>
21+
<button disabled>Visit Site</button>
2222
</section>
2323
</div>
2424
</div>

0 commit comments

Comments
 (0)