Skip to content

Commit 062448f

Browse files
authored
feat: Add maintenance banner (#52)
1 parent 0ce4711 commit 062448f

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

_includes/maintenance-notice.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<div class="maintenance-notice">
2+
<div class="container">
3+
<div class="maintenance-content">
4+
<span class="maintenance-icon">🚀</span>
5+
<span class="maintenance-text">
6+
<strong>Website Update:</strong> We're updating to a new website! This site may become temporarily unavailable on Thursday, July 31, 10:00 - 20:00 UTC. Thank you for your patience.
7+
</span>
8+
</div>
9+
</div>
10+
</div>

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<body>
77

88
{% include nav.html %}
9+
{% include maintenance-notice.html %}
910
{% include header.html %}
1011
{% include nav-secondary.html %}
1112

css/main.scss

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,3 +1234,58 @@ footer{
12341234
}
12351235
}
12361236
}
1237+
1238+
//==========================================//
1239+
// Maintenance Notice
1240+
//==========================================//
1241+
.maintenance-notice {
1242+
background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
1243+
border-bottom: 3px solid #E55757;
1244+
color: white;
1245+
padding: 12px 0;
1246+
text-align: center;
1247+
position: relative;
1248+
z-index: 1000;
1249+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
1250+
1251+
.maintenance-content {
1252+
display: flex;
1253+
align-items: center;
1254+
justify-content: center;
1255+
flex-wrap: wrap;
1256+
gap: 8px;
1257+
}
1258+
1259+
.maintenance-icon {
1260+
font-size: 18px;
1261+
margin-right: 8px;
1262+
}
1263+
1264+
.maintenance-text {
1265+
font-size: 14px;
1266+
line-height: 1.4;
1267+
font-weight: 400;
1268+
1269+
strong {
1270+
font-weight: 600;
1271+
}
1272+
}
1273+
1274+
@media (max-width: $smallWidth) {
1275+
padding: 15px 20px;
1276+
1277+
.maintenance-content {
1278+
flex-direction: column;
1279+
gap: 4px;
1280+
}
1281+
1282+
.maintenance-icon {
1283+
margin-right: 0;
1284+
}
1285+
1286+
.maintenance-text {
1287+
font-size: 13px;
1288+
text-align: center;
1289+
}
1290+
}
1291+
}

0 commit comments

Comments
 (0)