Skip to content

Commit

Permalink
Merge pull request #2893 from vespa-engine/kkraune/search-vespa-pi
Browse files Browse the repository at this point in the history
Link to new search
  • Loading branch information
Jon Bratseth authored Sep 21, 2023
2 parents 9608e3e + 2e3034f commit 6f20305
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
4 changes: 4 additions & 0 deletions _includes/new.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div markdown="span" class="vespa-notification vespa-notification-new" role="alert">
<span class="d-icon is-medium d-new-star-solid"></span>
{{ include.content }}
</div>
6 changes: 6 additions & 0 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,12 @@ div.vespa-notification > a {
border-color: #e8e8e8;
}

.vespa-notification-new {
color: #303030;
background-color: #9efd38;
border-color: #9efd38;
}

// Quotes - override Denali settings back to default + italics
blockquote {
display: block;
Expand Down
12 changes: 8 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
<div class="row m-20">
<div class="col">
<h1>Vespa documentation</h1>
<p class="p-t-10">
Welcome to the Vespa documentation site.<br/>
To see what Vespa is about, visit the <a href="https://vespa.ai">Vespa home page</a>.
</p>
<p class="p-t-10">Welcome to the Vespa documentation site!</p>
<p class="p-t-10">To see what Vespa is about, visit the <a href="https://vespa.ai">Vespa home page</a>.</p>
</div>
</div>

Expand All @@ -26,6 +24,12 @@ <h1>Vespa documentation</h1>
</div>
</div>

<div class="row m-20">
<div class="col">
{% include new.html content='Try the new search experience at <a href="https://search.vespa.ai/">search.vespa.ai</a>!' %}
</div>
</div>

<div class="row m-20 p-t-10">
<div class="col">
<p><a href="en/getting-started.html">Getting started</a> - Create your first app</p>
Expand Down

0 comments on commit 6f20305

Please sign in to comment.