From 642772d9fdd9e08046dfee3897efd5b394456d05 Mon Sep 17 00:00:00 2001
From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com>
Date: Wed, 12 Jun 2024 22:24:29 +0200
Subject: [PATCH] Update layout.tsx and WarningToast.tsx components
---
app/layout.tsx | 17 ++++++++---
components/WarningToast.tsx | 57 ++++++++++++++++++++++++++++++++++++-
2 files changed, 69 insertions(+), 5 deletions(-)
diff --git a/app/layout.tsx b/app/layout.tsx
index 56e290e..73b6481 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -4,12 +4,13 @@ import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/sonner";
import Navbar from "@/components/Navbar";
import React from "react";
-import WarningToast from "@/components/WarningToast";
+import { InfoToastWithButton, WarningToast } from "@/components/WarningToast";
const inter = Inter({ subsets: ["latin"] });
export const metadata = {
- title: "proxmox VE Helper-Scripts | Scripts for Streamlining Your Homelab with Proxmox VE",
+ title:
+ "proxmox VE Helper-Scripts | Scripts for Streamlining Your Homelab with Proxmox VE",
generator: "Next.js",
applicationName: "Proxmox VE Helper-Scripts",
referrer: "origin-when-cross-origin",
@@ -25,8 +26,7 @@ export const metadata = {
authors: [{ name: "tteck" }, { name: "Bram" }],
creator: "tteck, Bram Suurd",
publisher: "tteck, Bram Suurd",
- description:
- "Scripts for Streamlining Your Homelab with Proxmox VE",
+ description: "Scripts for Streamlining Your Homelab with Proxmox VE",
favicon: "/app/favicon.ico",
formatDetection: {
email: false,
@@ -81,6 +81,15 @@ export default function RootLayout({
timeoutDuration={1000}
message="Starting from July 2024, the scripts in the repository will require Proxmox Virtual Environment 8.1 or newer."
amountOfVisits={2}
+ toastButtonMessage=""
+ />
+
+ {message} +
+