Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions Sources/App/Views/PublicPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,10 @@ class PublicPage {
}

func announcementBanner() -> Node<HTML.BodyContext> {
return .empty

/*
return .p(
.class("announcement"),
.text("Has it really been five years since Swift Package Index launched? Read our "),
.a(
.href(SiteURL.blogPost(.value("five-years-of-the-swift-package-index")).relativeURL()),
.text("anniversary blog post")
),
.text("!")
.text("Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.")
)
*/
}

/// Optional content that will be inserted in between the page header and the main content for the page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<main>
<div class="inner">
<section class="error-message">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<section class="search home">
<div class="inner">
<h3>The place to find Swift packages.</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<section class="search home">
<div class="inner">
<h3>The place to find Swift packages.</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<main>
<div class="inner"><h1>Server Maintenance</h1><p>We are currently performing an update to our database server.</p><p>Service should be restored within a few minutes.</p></div>
</main>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<main>
<div class="inner"><h1>Header One</h1><h2>Header Two</h2><h3>Header Three</h3><h4>Header Four</h4><h5>Header Five</h5><h6>Header Six</h6><p># Not a Header</p><h2>Basic Formatting</h2><p><em>Italic</em> or <em>Italic</em> <strong>Bold</strong> or <strong>Bold</strong> <s>Strikethrough</s></p><h2>Horizontal Lines</h2><hr><hr><h2>Lists</h2><ul><li>List Item One</li></ul><ul><li>List Item Two</li></ul><ol><li>List Item One</li></ol><ol start="2"><li>List Item Two<ul><li>List Item Two -&gt; Indented<ul><li>List Item Two -&gt; Indented -&gt; Indented</li></ul></li></ul></li></ol><ol start="100"><li>Start with 100</li><li>Continue to 101</li></ol><p>Inline <code>code</code> using backticks.</p><h2>Code</h2><pre><code>$ spi search Markdown
</code></pre><pre><code class="language-swift">class SyntaxHighlighter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<main>
<div class="inner">
<h2>Package not found</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<nav class="breadcrumbs">
<div class="inner">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ <h1>
</nav>
</div>
</header>
<p class="announcement">Swift Package Index will be temporarily unavailable on Tuesday, 23rd of June for scheduled maintenance.</p>
<main>
<div class="inner">
<h2 class="trimmed">Validate a Swift Package Index manifest</h2>
Expand Down
Loading