mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
FEATURE (storages): Add uptime banner
This commit is contained in:
@@ -558,7 +558,7 @@ export const BackupsComponent = ({
|
|||||||
<div className="mt-5" />
|
<div className="mt-5" />
|
||||||
|
|
||||||
{database.postgresql?.backupType !== PostgresBackupType.WAL_V1 && (
|
{database.postgresql?.backupType !== PostgresBackupType.WAL_V1 && (
|
||||||
<div className="flex">
|
<div className="flex items-center">
|
||||||
<Button
|
<Button
|
||||||
onClick={makeBackup}
|
onClick={makeBackup}
|
||||||
className="mr-1"
|
className="mr-1"
|
||||||
@@ -569,6 +569,17 @@ export const BackupsComponent = ({
|
|||||||
<span className="md:hidden">Backup now</span>
|
<span className="md:hidden">Backup now</span>
|
||||||
<span className="hidden md:inline">Make backup right now</span>
|
<span className="hidden md:inline">Make backup right now</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
{!IS_CLOUD && (
|
||||||
|
<a
|
||||||
|
href="https://databasus.com/cloud"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
className="inline-flex h-8 items-center rounded-md border border-blue-600 px-[15px] text-sm leading-none transition-colors hover:bg-blue-50 dark:!text-white dark:hover:bg-blue-900/30"
|
||||||
|
>
|
||||||
|
Get 24x7 uptime and 2x independent backups copy
|
||||||
|
</a>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -34,12 +34,12 @@ export function AuthNavbarComponent() {
|
|||||||
|
|
||||||
{!IS_CLOUD && (
|
{!IS_CLOUD && (
|
||||||
<a
|
<a
|
||||||
className="!text-black !underline !decoration-blue-600 !decoration-2 underline-offset-2 hover:opacity-80 dark:!text-gray-200"
|
className="!text-black hover:opacity-80 dark:!text-gray-200"
|
||||||
href="https://databasus.com/cloud"
|
href="https://databasus.com/cloud"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Cloud (from $9)
|
Cloud
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -232,12 +232,12 @@ export const MainScreenComponent = () => {
|
|||||||
|
|
||||||
{!IS_CLOUD && (
|
{!IS_CLOUD && (
|
||||||
<a
|
<a
|
||||||
className="!text-black !underline !decoration-blue-600 !decoration-2 underline-offset-2 hover:opacity-80 dark:!text-gray-200"
|
className="!text-black hover:opacity-80 dark:!text-gray-200"
|
||||||
href="https://databasus.com/cloud"
|
href="https://databasus.com/cloud"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Cloud (from $9)
|
Cloud
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ export const SidebarComponent = ({
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Cloud (from $9)
|
Cloud
|
||||||
</a>
|
</a>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user