Skip to content

Commit 7bad7c1

Browse files
committed
Added downtime announcement banner.
1 parent 2300d20 commit 7bad7c1

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Sources/App/Views/PublicPage.swift

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -329,19 +329,10 @@ class PublicPage {
329329
}
330330

331331
func announcementBanner() -> Node<HTML.BodyContext> {
332-
return .empty
333-
334-
/*
335332
return .p(
336333
.class("announcement"),
337-
.text("Has it really been five years since Swift Package Index launched? Read our "),
338-
.a(
339-
.href(SiteURL.blogPost(.value("five-years-of-the-swift-package-index")).relativeURL()),
340-
.text("anniversary blog post")
341-
),
342-
.text("!")
334+
.text("Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.")
343335
)
344-
*/
345336
}
346337

347338
/// Optional content that will be inserted in between the page header and the main content for the page.

0 commit comments

Comments
 (0)