Commit c5f6b45 1 parent dcc1385 commit c5f6b45 Copy full SHA for c5f6b45
File tree 1 file changed +2
-5
lines changed
src/rocqproverorg_frontend/components
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 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 (%>
59
60
<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">
60
61
<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">
61
62
<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"/>
62
63
</svg>
63
64
<div class="ms-3 text-sm font-medium">
64
- <% if git_branch <> "main" then (%>
65
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
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
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
- <% ); %>
72
68
</div>
73
69
<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">
74
70
<span class="sr-only">Dismiss</span>
77
73
</svg>
78
74
</button>
79
75
</div>
76
+ <% ); %>
80
77
<script src="https://unpkg.com/
[email protected] /dist/flowbite.js"></script>
81
78
<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">
82
79
<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">
You can’t perform that action at this time.
0 commit comments