|
56 | 56 | <header
|
57 | 57 | class="fixed top-0 z-50 w-full h-20 flex items-center flex-wrap"
|
58 | 58 | x-data="{ open: false }">
|
59 |
| - <% if git_branch <> "main" then (%> |
60 | 59 | <div id="alert-border-2" class="bg-primary_25 border-secondary border-t-4 bottom-0 dark:bg-dark-card fixed flex items-center justify-center p-4 text-center tracking-wide w-full" role="alert">
|
61 | 60 | <svg class="flex-shrink-0 w-4 h-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20">
|
62 | 61 | <path d="M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z"/>
|
63 | 62 | </svg>
|
64 | 63 | <div class="ms-3 text-sm font-medium">
|
65 |
| - You are viewing the <a class="font-semibold underline hover:no-underline" href="https://github.com/coq/rocq-prover.org/tree/<%s git_branch %>"><%s git_branch %> branch</a> of the website @ |
66 |
| - <a class="font-semibold underline hover:no-underline" href="https://github.com/coq/rocq-prover.org/commit/<%s git_commit %>"><%s git_short_commit %></a>, |
67 |
| - not the <a class="font-semibold underline hover:no-underline" href="https://rocq-prover.org">live version</a>. |
| 64 | + <% if git_branch <> "main" then (%> |
| 65 | + You are viewing the <a class="font-semibold underline hover:no-underline" href="https://github.com/coq/rocq-prover.org/tree/<%s git_branch %>"><%s git_branch %> branch</a> of the website @ |
| 66 | + <a class="font-semibold underline hover:no-underline" href="https://github.com/coq/rocq-prover.org/commit/<%s git_commit %>"><%s git_short_commit %></a>, |
| 67 | + not the <a class="font-semibold underline hover:no-underline" href="https://rocq-prover.org">live version</a>. |
| 68 | + <% ) else ( %> |
| 69 | + ⚠️ Under construction ⚠️ This website will be officialy launched with the first release of Rocq 9.0 in March 2025. |
| 70 | + Until then, there may remain broken links and references to not-yet existing projects. |
| 71 | + <% ); %> |
68 | 72 | </div>
|
69 | 73 | <button type="button" class="ms-3 -mx-1.5 -my-1.5 bg-red-50 text-red-500 rounded-lg focus:ring-2 focus:ring-red-400 p-1.5 hover:bg-red-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-red-400 dark:hover:bg-gray-700" data-dismiss-target="#alert-border-2" aria-label="Close">
|
70 | 74 | <span class="sr-only">Dismiss</span>
|
|
74 | 78 | </button>
|
75 | 79 | </div>
|
76 | 80 | <script src="https://unpkg.com/ [email protected]/dist/flowbite.js"></script>
|
77 |
| - <% ); %> |
78 | 81 | <nav class="bg-background container-fluid dark:bg-dark-background_navigation flex gap-5 h-20 header items-center justify-between rounded-b-lg shadow-sm wide xl:gap-8">
|
79 | 82 | <ul class="order-0 space space-x-5 xl:space-x-8 items-center flex text-content font-medium dark:text-title dark:text-opacity-60 dark:font-semibold">
|
80 | 83 | <li style="width:170px">
|
|
0 commit comments