Update nav menu styling and product menu layout

This commit is contained in:
Simon Larsen
2024-06-28 14:55:58 +01:00
parent dc0c71b063
commit 106e41206e
2 changed files with 7 additions and 4 deletions

View File

@@ -51,10 +51,10 @@
To: "opacity-0 translate-y-1"
-->
<div onmouseenter="showProductMenu()" onmouseover="showProductMenu()" onmouseleave="hideProductMenu()"
class="absolute z-20 -ml-4 mt-3 w-screen max-w-md transform px-2 sm:px-0 lg:left-1/2 lg:ml-0 lg:-translate-x-1/2"
class="absolute z-20 -ml-4 mt-3 w-screen max-w-4xl transform px-2 sm:px-0 lg:left-1/2 lg:ml-0 lg:-translate-x-1/2"
id="product-menu" style="visibility: collapse;">
<div class="overflow-hidden rounded-lg shadow-lg ring-1 ring-black ring-opacity-5">
<div class="relative grid gap-6 bg-white px-5 py-6 sm:gap-8 sm:p-8">
<div class="relative grid grid-cols-2 gap-6 bg-white px-5 py-6 sm:gap-8 sm:p-8">
<a href="/product/status-page" class="-m-3 flex items-start rounded-lg p-3 hover:bg-gray-50">
<!-- Heroicon name: outline/chart-bar -->
<svg class="h-6 w-6 flex-shrink-0 text-indigo-600" xmlns="http://www.w3.org/2000/svg" fill="none"
@@ -165,7 +165,7 @@
</div>
<div class="space-y-6 bg-gray-50 px-5 py-5 sm:flex sm:space-y-0 sm:space-x-10 sm:px-8">
<div class="flow-root">
<div class="flow-root w-1/2">
<a href="/enterprise/demo"
class="-m-3 flex items-center rounded-md p-3 text-base font-medium text-gray-900 hover:bg-gray-100">
<!-- Heroicon name: outline/play -->
@@ -178,7 +178,7 @@
</a>
</div>
<div class="flow-root">
<div class="flow-root w-1/2">
<a href="mailto:sales@oneuptime.com"
class="-m-3 flex items-center rounded-md p-3 text-base font-medium text-gray-900 hover:bg-gray-100">
<!-- Heroicon name: outline/phone -->

View File

@@ -72,6 +72,9 @@ COPY ./Copilot/package*.json /usr/src/app/
RUN npm install
# Create /repository/ directory where the app will store the repository
RUN mkdir /repository
{{ if eq .Env.ENVIRONMENT "development" }}
#Run the app
CMD [ "npm", "run", "dev" ]