Skip to content

Commit 3981ec4

Browse files
committed
Replace emoji icons with OS logos for Linux and Windows sections
Add RHEL technology icon (Red RGB) and Windows logo SVGs to static assets. Update section headers to use img tags with proper sizing instead of Unicode emoji characters. Signed-off-by: Joseph <jvaikath@redhat.com>
1 parent 05310b9 commit 3981ec4

File tree

4 files changed

+98
-3
lines changed

4 files changed

+98
-3
lines changed

cmd/downloads/static/rhel-icon.svg

Lines changed: 89 additions & 0 deletions
Loading

cmd/downloads/static/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,12 @@ body {
8989
}
9090

9191
.section-header .os-icon {
92-
font-size: 1.1rem;
92+
font-size: 1.4rem;
93+
}
94+
95+
.section-header .os-logo {
96+
height: 1.6rem;
97+
width: auto;
9398
}
9499

95100
table {
Lines changed: 1 addition & 0 deletions
Loading

cmd/downloads/templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="container content">
1919
{{if .LinuxFiles}}
2020
<div class="section">
21-
<div class="section-header"><span class="os-icon">&#128039;</span> Linux</div>
21+
<div class="section-header"><img src="/static/rhel-icon.svg" alt="Red Hat Enterprise Linux" class="os-logo"> Linux</div>
2222
<table>
2323
<thead>
2424
<tr>
@@ -74,7 +74,7 @@
7474

7575
{{if .WindowsFiles}}
7676
<div class="section">
77-
<div class="section-header"><span class="os-icon">&#128187;</span> Windows</div>
77+
<div class="section-header"><img src="/static/windows-logo.svg" alt="Windows" class="os-logo"> Windows</div>
7878
<table>
7979
<thead>
8080
<tr>

0 commit comments

Comments
 (0)