diff --git a/src/pages/index.astro b/src/pages/index.astro
index 0728975..23f996b 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -1,16 +1,19 @@
---
+const isBossServer = import.meta.env.BOSS_SERVER === 'true';
+
---
-
-
-
-
-
-
- Astro
-
-
- TODO: Web Check
-
+
+
+ Results
+
+ {!isBossServer && (
+
+
+ )}
+
+
+ hi
+
diff --git a/src/pages/test.astro b/src/pages/test.astro
deleted file mode 100644
index 92045bb..0000000
--- a/src/pages/test.astro
+++ /dev/null
@@ -1,16 +0,0 @@
----
-
----
-
-
-
-
-
-
-
- Astro
-
-
- TEST
-
-
diff --git a/src/v1-check/components/Form/Button.tsx b/src/v1-check/components/Form/Button.tsx
index bafe002..2b26279 100644
--- a/src/v1-check/components/Form/Button.tsx
+++ b/src/v1-check/components/Form/Button.tsx
@@ -15,6 +15,7 @@ interface ButtonProps {
fgColor?: string,
styles?: string,
title?: string,
+ type?: 'button' | 'submit' | 'reset' | undefined,
loadState?: LoadState,
};
@@ -67,7 +68,7 @@ const Loader = (props: { loadState: LoadState }) => {
};
const Button = (props: ButtonProps): JSX.Element => {
- const { children, size, bgColor, fgColor, onClick, styles, title, loadState } = props;
+ const { children, size, bgColor, fgColor, onClick, styles, title, loadState, type } = props;
return (
null) }
@@ -76,6 +77,7 @@ const Button = (props: ButtonProps): JSX.Element => {
fgColor={fgColor}
styles={styles}
title={title?.toString()}
+ type={type || 'button'}
>
{ loadState && }
{children}
diff --git a/src/v1-check/components/misc/Footer.tsx b/src/v1-check/components/misc/Footer.tsx
index 18599b5..37cb243 100644
--- a/src/v1-check/components/misc/Footer.tsx
+++ b/src/v1-check/components/misc/Footer.tsx
@@ -50,7 +50,7 @@ const Footer = (props: { isFixed?: boolean }): JSX.Element => {
View source at github.com/lissy93/web-check
- Web-Check is
+ Web-Check is
licensed under MIT -
© Alicia Sykes 2023
diff --git a/src/v1-check/views/Home.tsx b/src/v1-check/views/Home.tsx
index d2dfd45..6a2dacb 100644
--- a/src/v1-check/views/Home.tsx
+++ b/src/v1-check/views/Home.tsx
@@ -214,7 +214,7 @@ const Home = (): JSX.Element => {
/>
{/* Or, find my IP */}
{ errorMsg && {errorMsg}}
-
+
Sponsored by
@@ -243,7 +243,7 @@ const Home = (): JSX.Element => {
Supported Checks
diff --git a/src/v1-check/views/Results.tsx b/src/v1-check/views/Results.tsx
index 5a64b44..4b9fb88 100644
--- a/src/v1-check/views/Results.tsx
+++ b/src/v1-check/views/Results.tsx
@@ -909,8 +909,8 @@ const Results = (props: { address?: string } ): JSX.Element => {
) }