Skip to content

Commit e5509f7

Browse files
author
Pär Lindfors
committed
Change html to markdown
Keep html div-tags necessary for layout but change links and images to markdown. Add a button-frontpage style to keep the same margin between buttons. The "Welcome to UPPMAX" text changes a little as it changed from hard coded size to a level 1 heading.
1 parent 9bcb63e commit e5509f7

File tree

2 files changed

+22
-27
lines changed

2 files changed

+22
-27
lines changed

docs/index.md

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,25 @@ hide:
55
- toc
66
---
77

8-
<div style="text-align: center; font-size: 2.5em; font-weight: bold; margin-top: 20px;">
9-
Welcome to the UPPMAX Documentation
8+
<div align="center" style="margin-top: 20px;" markdown="1">
9+
# **Welcome to the UPPMAX Documentation**
10+
<!-- Logo -->
11+
![Uppsala University Logo](assets/UU_logo_color.svg){width="200" id="logo_light_mode"}
12+
![Uppsala University Logo](assets/UU_logo_vit.svg){width="200" id="logo_dark_mode"}
1013
</div>
1114

12-
<!-- Logo Section -->
13-
<p align="center" width="100%" style="margin-top: 20px;">
14-
<img id="logo_light_mode" src="assets/UU_logo_color.svg" alt="Uppsala University Logo" width="200">
15-
<img id="logo_dark_mode" src="assets/UU_logo_vit.svg" alt="Uppsala University Logo (Dark Mode)" width="200">
16-
</p>
15+
<div style="text-align: center; margin-top: 40px;" markdown="1">
16+
## Support and Feedback
17+
[📩 Get Support](https://docs.uppmax.uu.se/support/){style="text-decoration:none;" .md-button .md-button--primary .button-frontpage}
18+
[📝 Give Feedback](https://docs.google.com/forms/d/e/1FAIpQLScu1zrUnXw2qq2dA0oJB72-nILVq5mwScq75N_u_7KH2NJznw/viewform?usp=sf_link){.md-button .md-button--primary .button-frontpage}
19+
[📂 Apply for a Project](https://docs.uppmax.uu.se/getting_started/project_apply/){.md-button .md-button--primary .button-frontpage}
1720

18-
<!-- Support and Feedback Section -->
19-
<div style="text-align: center; margin-top: 40px;">
20-
<h2>Support and Feedback</h2>
21-
<a href="https://docs.uppmax.uu.se/support/" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">📩 Get Support</a>
22-
<a href="https://docs.google.com/forms/d/e/1FAIpQLScu1zrUnXw2qq2dA0oJB72-nILVq5mwScq75N_u_7KH2NJznw/viewform?usp=sf_link" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">📝 Give Feedback</a>
23-
<a href="https://docs.uppmax.uu.se/getting_started/project_apply/" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">📂 Apply for a Project</a>
24-
</div>
25-
26-
<!-- Quick Links Section -->
27-
<div style="text-align: center; margin-top: 40px;">
28-
<h2>Quick Links</h2>
29-
<a href="https://docs.uppmax.uu.se/getting_started/get_started/" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">✨ Getting Started</a>
30-
<a href="https://docs.uppmax.uu.se/glossary/" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">📖 Glossary</a>
31-
<a href="https://docs.uppmax.uu.se/software/overview/" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">💻 Software</a>
32-
<a href="https://docs.uppmax.uu.se/getting_started/reset_uppmax_password/" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">🔑 Reset Password</a>
33-
</div>
21+
## Quick Links
22+
[✨ Getting Started](https://docs.uppmax.uu.se/getting_started/get_started/){.md-button .md-button--primary .button-frontpage}
23+
[📖 Glossary](https://docs.uppmax.uu.se/glossary/){.md-button .md-button--primary .button-frontpage}
24+
[💻 Software](https://docs.uppmax.uu.se/software/overview/){.md-button .md-button--primary .button-frontpage}
25+
[🔑 Reset Password](https://docs.uppmax.uu.se/getting_started/reset_uppmax_password/){.md-button .md-button--primary .button-frontpage}
3426

35-
<!-- External Links Section -->
36-
<div style="text-align: center; margin-top: 40px;">
37-
<h2>External Resources</h2>
38-
<a href="https://www.uu.se/en/centre/uppmax" class="md-button md-button--primary" style="text-decoration:none; margin: 10px;">🌐 UPPMAX Main Page</a>
27+
## External Resources
28+
[🌐 UPPMAX Main Page](https://www.uu.se/en/centre/uppmax){.md-button .md-button--primary .button-frontpage}
3929
</div>

docs/stylesheets/extra.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,8 @@
9797
.example {
9898
text-align: center;
9999
}
100+
101+
/* used by buttons on index.md */
102+
.button-frontpage{
103+
margin: 10px;
104+
}

0 commit comments

Comments
 (0)