Skip to content

Commit 0745724

Browse files
First pass inline styles
1 parent d898e3c commit 0745724

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

layouts/shortcodes/summary-bar.html

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,40 @@
2222
- Label: Admin | Icon: admin_panel_settings
2323
-->
2424

25-
{{ $styles := resources.Get "css/summary-bar.css" | resources.Minify }}
26-
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
27-
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet">
25+
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded" rel="stylesheet">
2826

29-
<div class="summary-bar">
30-
<span class="summary-title">Available for:</span>
27+
<div class="flex items-center gap-4 p-4 bg-blue-light-500 rounded-md">
28+
<span class="text-base font-semibold text-white">Available for:</span>
3129
{{ if .Get "subscription" }}
32-
<div class="summary-icon">
33-
<span class="material-symbols-outlined">{{ .Get "subscription" }}</span>
34-
<span class="summary-label">{{ .Get "subscriptionText" }}</span>
30+
<div class="flex items-center gap-2">
31+
<span class="material-symbols-rounded text-lg text-white">
32+
{{ .Get "subscription" }}
33+
</span>
34+
<span class="text-sm font-medium text-white">{{ .Get "subscriptionText" }}</span>
3535
</div>
3636
{{ end }}
3737
{{ if .Get "lifecycle" }}
38-
<div class="summary-icon">
39-
<span class="material-symbols-outlined">{{ .Get "lifecycle" }}</span>
40-
<span class="summary-label">{{ .Get "lifecycleText" }}</span>
38+
<div class="flex items-center gap-2">
39+
<span class="material-symbols-rounded text-lg text-white">
40+
{{ .Get "lifecycle" }}
41+
</span>
42+
<span class="text-sm font-medium text-white">{{ .Get "lifecycleText" }}</span>
4143
</div>
4244
{{ end }}
4345
{{ if .Get "version" }}
44-
<div class="summary-icon">
45-
<span class="material-symbols-outlined">{{ .Get "version" }}</span>
46-
<span class="summary-label">{{ .Get "versionText" }}</span>
46+
<div class="flex items-center gap-2">
47+
<span class="material-symbols-rounded text-lg text-white">
48+
{{ .Get "version" }}
49+
</span>
50+
<span class="text-sm font-medium text-white">{{ .Get "versionText" }}</span>
4751
</div>
4852
{{ end }}
4953
{{ if .Get "admin" }}
50-
<div class="summary-icon">
51-
<span class="material-symbols-outlined">{{ .Get "admin" }}</span>
52-
<span class="summary-label">{{ .Get "adminText" }}</span>
54+
<div class="flex items-center gap-2">
55+
<span class="material-symbols-rounded text-lg text-white">
56+
{{ .Get "admin" }}
57+
</span>
58+
<span class="text-sm font-medium text-white">{{ .Get "adminText" }}</span>
5359
</div>
5460
{{ end }}
5561
</div>

0 commit comments

Comments
 (0)