|
2 | 2 | @if (Model.IsRedesign)
|
3 | 3 | {
|
4 | 4 | <!DOCTYPE html>
|
5 |
| - <html lang="en"> |
6 |
| - <head> |
7 |
| - <title>@Model.Title</title> |
8 |
| - <link rel="stylesheet" type="text/css" href="@Model.Static("styles.css")"/> |
9 |
| - <meta charset="utf-8"> |
10 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
11 |
| - <meta name="robots" content="@(Model.AllowIndexing ? "index, follow" : "noindex, nofollow")"> |
12 |
| - </head> |
13 |
| - <body class="text-ink flex flex-col min-h-screen"> |
14 |
| - <div id="elastic-nav"></div> |
15 |
| - <script src='https://www.elastic.co/elastic-nav.js'></script> |
16 |
| - |
17 |
| - <main class="markdown-content max-w-7xl mx-auto p-6 flex-1"> |
18 |
| - @await RenderBodyAsync() |
19 |
| - </main> |
| 5 | + <html lang="en" class="h-screen"> |
| 6 | + <head> |
| 7 | + <title>@Model.Title</title> |
| 8 | + <link rel="stylesheet" type="text/css" href="@Model.Static("styles.css")"/> |
| 9 | + <meta charset="utf-8"> |
| 10 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 11 | + <meta name="robots" content="@(Model.AllowIndexing ? "index, follow" : "noindex, nofollow")"> |
| 12 | + </head> |
| 13 | + |
| 14 | + <body class="text-ink"> |
| 15 | + <section class="h-9 bg-black"></section> |
| 16 | + <header class="sticky top-0 bg-blue-developer max-w-screen px-6 pb-6 flex items-center justify-center"> |
| 17 | + <div class="container flex flex-wrap lg:flex-nowrap"> |
| 18 | + <div class="h-10 mt-6 basis-full lg:basis-auto"> |
| 19 | + <img src="@Model.Static("logo-elastic-horizontal-color-reverse.svg")" alt="Elastic" class="h-10"> |
| 20 | + </div> |
| 21 | + <form role="search" class="hidden lg:block grow basis-full lg:basis-auto shrink-0 mt-6 lg:mx-10 h-10" autocomplete="off"> |
| 22 | + <label for="default-search" class="mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white">Search</label> |
| 23 | + <div class="relative h-10"> |
| 24 | + <div class="absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none ml-2"> |
| 25 | + <svg class="w-4 h-4 text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"> |
| 26 | + <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"/> |
| 27 | + </svg> |
| 28 | + </div> |
| 29 | + <div class="rounded-full bg-linear-65 from-pink/[.4] to-teal/[.4] p-[2px] h-10"> |
| 30 | + <input type="search" id="default-search" class="flex items-center h-full w-full p-2 ps-10 text-center bg-[#081335] rounded-full focus-visible:outline-[blue]/[.3] focus-visible:outline-2 truncate text-ellipsis text-white" placeholder="Try searching a document here..." required/> |
| 31 | + </div> |
| 32 | + </div> |
| 33 | + </form> |
| 34 | + <div class="flex grow lg:flex-none h-10 mt-6"> |
| 35 | + <a href="https://cloud.elastic.co/registration" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 me-3 focus:outline-none h-10 flex items-center justify-center">Start free trial</a> |
| 36 | + <a href="https://elastic.co/contact" class="grow cursor-pointer text-white text-nowrap border-2 border-white focus:ring-4 focus:outline-none focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 text-center h-10 flex items-center justify-center">Contact Sales</a> |
| 37 | + </div> |
| 38 | + </div> |
| 39 | + </header> |
| 40 | + <main class="container mx-auto"> |
20 | 41 |
|
21 |
| - <div id="elastic-footer"></div> |
22 |
| - <script src='https://www.elastic.co/elastic-footer.js'></script> |
23 |
| - <script src="@Model.Static("main.js")"></script> |
24 |
| - </body> |
| 42 | + <div class="markdown-content w-[100ch] max-w-screen mx-auto pt-6 pb-6 px-6"> |
| 43 | + <ol class="flex-1 mb-6" itemscope="" itemtype="https://schema.org/BreadcrumbList"> |
| 44 | + <li class="inline text-gray-500" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem"> |
| 45 | + <a itemprop="item" href="/"> |
| 46 | + <span itemprop="name">Elastic</span> |
| 47 | + </a> |
| 48 | + <span>/</span> |
| 49 | + <meta itemprop="position" content="1"> |
| 50 | + </li> |
| 51 | + @foreach (var item in Model.Parents.Reverse()) |
| 52 | + { |
| 53 | + <li class="inline text-gray-500" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem"> |
| 54 | + <a itemprop="item" href="@item.Url"> |
| 55 | + <span itemprop="name">@item.NavigationTitle</span> |
| 56 | + </a> |
| 57 | + <span>/</span> |
| 58 | + <meta itemprop="position" content="2"> |
| 59 | + </li> |
| 60 | + } |
| 61 | + </ol> |
| 62 | + @await RenderBodyAsync() |
| 63 | + </div> |
| 64 | + </main> |
| 65 | + <script src="@Model.Static("main.js")"></script> |
| 66 | + </body> |
25 | 67 | </html>
|
26 | 68 | }
|
27 | 69 | else
|
|
0 commit comments