Skip to content

Commit 4a1950a

Browse files
committed
Add descriptions and icons to user portal sections
1 parent 52fc7a8 commit 4a1950a

File tree

2 files changed

+37
-13
lines changed

2 files changed

+37
-13
lines changed

_data/user-portal-sections.yaml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,31 @@
33
links:
44
- text: HTC Guides
55
url: http://localhost:4000/uw-research-computing/htc/guides.html
6+
icon: "bi bi-book"
7+
description: |
8+
Step-by-step instructions for using HTC resources. Includes guides for
9+
getting started, job submission, and using specific software.
610
- text: HPC Guides
711
url: http://localhost:4000/uw-research-computing/hpc/guides.html
8-
# - name: Independent Learning with Courses
9-
# links:
10-
# - text: Intro to HTC
11-
# url: https://google.com
12-
# - text: Course 2
13-
# url: https://google.com
14-
# - text: Course 3
15-
# url: /user-portal/
12+
icon: "bi bi-book"
13+
description: |
14+
Step-by-step instructions for using HPC resources. Includes guides for
15+
getting started, job submission, and using specific software.
16+
- name: Independent Learning with Courses
17+
links:
18+
- text: Intro to HTC
19+
url: https://google.com
20+
icon: "bi bi-book"
21+
description: |
22+
A self-paced course through Canvas that introduces the basics of
23+
high-throughput computing.
24+
- text: Course 2
25+
url: https://google.com
26+
icon: "bi bi-book"
27+
description: |
28+
Course 2 description
29+
- text: Course 3
30+
url: /user-portal/
31+
icon: "bi bi-book"
32+
description: |
33+
Course 3 description

_uw-research-computing/user-portal.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,21 @@ <h2 class="m-0 text-light">
1414
{{ section.name }}
1515
</h2>
1616
</div>
17-
<div class="row text-center text-dark">
17+
<div class="row text-dark">
1818
{% for link in section.links %}
1919
{% if section.large %}
20-
<div class="col-6 py-3" style="height: 12em;">
20+
<div class="col-6 py-3">
2121
{% else %}
22-
<div class="col-4 py-3" style="height: 8em;">
22+
<div class="col-4 py-3">
2323
{% endif %}
24-
<a href="{{ link.url }}" class="btn w-100 h-100 py-4 border rounded-3 d-flex align-items-center justify-content-center">
25-
{{ link.text }}
24+
<a href="{{ link.url }}" class="btn w-100 h-100 py-4 border rounded-3">
25+
<i class="{{ link.icon }}"></i>
26+
<span style="font-size: 1.25rem;">
27+
{{ link.text }}
28+
</span>
29+
<p style="font-size: 0.9rem; margin-top: 0.5rem; text-align: left;">
30+
{{ link.description }}
31+
</p>
2632
</a>
2733
</div>
2834
{% endfor %}

0 commit comments

Comments
 (0)