diff --git a/src/lib/ContactForm.svelte b/src/lib/ContactForm.svelte index 564b4de..7c03315 100644 --- a/src/lib/ContactForm.svelte +++ b/src/lib/ContactForm.svelte @@ -1,10 +1,5 @@
-
-
- Your IP will be logged for anti-abuse measures. -
+
- @@ -41,17 +33,7 @@ class="form-textbox" placeholder="Your message" /> -
-
- The submit button will be visible when you complete the Captcha. -
- - {#if submit} - - {/if} + diff --git a/src/lib/Form/Captcha.svelte b/src/lib/Form/Captcha.svelte new file mode 100644 index 0000000..e80373b --- /dev/null +++ b/src/lib/Form/Captcha.svelte @@ -0,0 +1,19 @@ + + + + +{#if submit} + +{/if} \ No newline at end of file diff --git a/src/lib/Form/Note.svelte b/src/lib/Form/Note.svelte new file mode 100644 index 0000000..2430ef1 --- /dev/null +++ b/src/lib/Form/Note.svelte @@ -0,0 +1,19 @@ + + +
+ {#if icon} +
+ {/if} + {content} +
+ + \ No newline at end of file diff --git a/src/lib/Form/index.ts b/src/lib/Form/index.ts new file mode 100644 index 0000000..83ac350 --- /dev/null +++ b/src/lib/Form/index.ts @@ -0,0 +1,2 @@ +export { default as Note } from "./Note.svelte"; +export { default as Captcha } from "./Captcha.svelte"; \ No newline at end of file diff --git a/src/lib/Hero.svelte b/src/lib/Hero.svelte index 7a0cf32..ab885a6 100644 --- a/src/lib/Hero.svelte +++ b/src/lib/Hero.svelte @@ -2,9 +2,11 @@ export let title: string; export let description: string; export let marginTop: string; + let styles: string = ""; + export { styles as style }; -
+
{#if title}

{title}

{/if} diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 500396c..2724643 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -8,6 +8,7 @@ { name: "Instances", url: "/instances" }, { name: "Projects", url: "/projects" }, { name: "Minecraft", url: "/minecraft" }, + { name: "Pubnix", url: "/pubnix" }, { name: "Donate", url: "/donate" }, { name: "FAQ", url: "/faq" }, { name: "Contact us", url: "/contact" }, @@ -115,7 +116,7 @@ display: none; } - @media screen and (max-width: 1058px) { + @media screen and (max-width: 1116px) { .links { display: none; width: 100%; diff --git a/src/lib/PubnixForm.svelte b/src/lib/PubnixForm.svelte new file mode 100644 index 0000000..b95345f --- /dev/null +++ b/src/lib/PubnixForm.svelte @@ -0,0 +1,88 @@ + + +
+ +
+ + +
+ +