From cd8b0a913e2882ff97992bf94ad084e9d160c5aa Mon Sep 17 00:00:00 2001 From: Will Stensvold Date: Thu, 2 Apr 2026 23:10:53 -0500 Subject: [PATCH] initial commit of the sludge fest application using protonmail to do the emailing with nodemailer --- package.json | 4 +- src/routes/+layout.svelte | 2 +- src/routes/fest/+page.svelte | 176 +-------------- src/routes/fest/25/+page.svelte | 197 +++++++++++++++++ src/routes/fest/apply/+page.server.ts | 41 ++++ src/routes/fest/apply/+page.svelte | 300 ++++++++++++++++++++++++++ 6 files changed, 549 insertions(+), 171 deletions(-) create mode 100644 src/routes/fest/25/+page.svelte create mode 100644 src/routes/fest/apply/+page.server.ts create mode 100644 src/routes/fest/apply/+page.svelte diff --git a/package.json b/package.json index 18ccef6..3e4243e 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,8 @@ "vite": "^6.3.5" }, "dependencies": { - "@sveltejs/kit": "^2.27.3" + "@sveltejs/kit": "^2.27.3", + "@types/nodemailer": "^7.0.11", + "nodemailer": "^8.0.4" } } diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 384ef68..52251da 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -42,7 +42,7 @@ --br: 0.375rem; --bs: 2px 2px 9px var(--primary-8); - --primary: 0; + --primary: 42; --primary-1: oklch(0.91 0.046 var(--primary)); --primary-2: oklch(0.843 0.083 var(--primary)); --primary-3: oklch(0.777 0.122 var(--primary)); diff --git a/src/routes/fest/+page.svelte b/src/routes/fest/+page.svelte index cab3ac6..a78fa0e 100644 --- a/src/routes/fest/+page.svelte +++ b/src/routes/fest/+page.svelte @@ -2,146 +2,14 @@ - !!Sludge Fest 2025!! + !!Sludge Fest 2026!!
- Sludge Fest poster; This time its Brown! August 9th 2025; 2488 County Road G, Grand Marsh, WI 53936 Campground opens 11am CT Shows start 4pm. Gleeplebleepo +

Sludge Fest 26: This time its Brother


-
-
- - - - - - -
-
- - - - - - - - -
-
- - - - - - -
-
+

Apply Here

diff --git a/src/routes/fest/25/+page.svelte b/src/routes/fest/25/+page.svelte new file mode 100644 index 0000000..cab3ac6 --- /dev/null +++ b/src/routes/fest/25/+page.svelte @@ -0,0 +1,197 @@ + + + + !!Sludge Fest 2025!! + + + +
+ Sludge Fest poster; This time its Brown! August 9th 2025; 2488 County Road G, Grand Marsh, WI 53936 Campground opens 11am CT Shows start 4pm. Gleeplebleepo +
+
+
+ + + + + + +
+
+ + + + + + + + +
+
+ + + + + + +
+
+
+ + diff --git a/src/routes/fest/apply/+page.server.ts b/src/routes/fest/apply/+page.server.ts new file mode 100644 index 0000000..b7a02b5 --- /dev/null +++ b/src/routes/fest/apply/+page.server.ts @@ -0,0 +1,41 @@ +export async function load({ }) { + console.log("sludge fest application") +} + + +export const actions = { + default: async ({ request }) => { + let data = await request.formData(); + console.log("apply", data); + transporter.sendMail({ + from: SMTP_USERNAME, + to: "fuckyou@sludge.link", + subject: "This is a test", + html: ` + + + +

Hello email

+ + { + if (error) { + console.error("Error sending email:", error); + } else { + console.log("Email sent successfully:", info.response); + } + }) + } +} + +import { SMTP_TOKEN, SMTP_USERNAME } from '$env/static/private' +import nodemailer from "nodemailer" +const transporter = nodemailer.createTransport({ + service: "Proton", + auth: { + user: SMTP_USERNAME, + pass: SMTP_TOKEN + }, + authMethod: "PLAIN" +} as nodemailer.TransportOptions) diff --git a/src/routes/fest/apply/+page.svelte b/src/routes/fest/apply/+page.svelte new file mode 100644 index 0000000..a761a24 --- /dev/null +++ b/src/routes/fest/apply/+page.svelte @@ -0,0 +1,300 @@ + + +
+
+

Sludge Fest Application - 2026

+

+ Thanks for your interest in performing at Sludge Fest! If you're a + musician, comedian, poet, or any kind of performer, we'd love to hear from + you! Whether you've performed for years or are just getting started, we + want to make you a part of the SLUDGE. +

+
    +
  • Date: August 28/29 2026
  • +
  • Location: Sludge Farm - Grand Marsh, WI
  • +
+

+ This is a DIY event, and while we can't guarantee payment, any donations + collected will be split among performers after covering event costs + (Bathrooms, Tech Rentals, First Aid). We appreciate your understanding and + your art. +

+
+
+
+ Who are You? + + + + + +
+
+ About Your Act + + + + + + +
+
+ The Performance + + + +
+
+ One Last Thing + + + +
+ +
+
+ +