The West Sound Community Club is a group of neighbors and friends
living in the West Sound area. Together we steward the West Sound
@@ -97,13 +97,16 @@ export default function Club() {
Membership Form
-
- Donations (Coming soon)
+
+ Club Member Mailing List
+
+
+ West Sound Neighbor to Neighbor Mailing List
contact@westsoundhall.org
diff --git a/src/app/club/payment.tsx b/src/app/club/payment.tsx
index a1df7b9..1ac5062 100644
--- a/src/app/club/payment.tsx
+++ b/src/app/club/payment.tsx
@@ -166,7 +166,7 @@ function CheckoutForm({
{/* Membership Type */}
-
+
Select a membership type
@@ -177,8 +177,8 @@ function CheckoutForm({
value={membership}
className={({ active }) =>
classNames(
- active ? 'border-indigo-600 ring-2 ring-indigo-600' : 'border-gray-200 dark:border-gray-500',
- 'relative flex cursor-pointer rounded-lg border bg-white hover:bg-gray-50 hover:dark:bg-zinc-600 dark:bg-zinc-700 p-4 shadow-sm focus:outline-none'
+ active ? 'border-indigo-600 ring-2 ring-indigo-600' : 'border-gray-200',
+ 'relative flex cursor-pointer rounded-lg border bg-white hover:bg-gray-50 p-4 shadow-sm focus:outline-none'
)
}
>
@@ -186,7 +186,7 @@ function CheckoutForm({
<>
-
+
{membership.title}
@@ -194,7 +194,7 @@ function CheckoutForm({
- ${membership.price}
+ ${membership.price}
/yr
@@ -215,7 +215,7 @@ function CheckoutForm({
{/* Additional donation */}
-
+
Additional donation
@@ -229,8 +229,8 @@ function CheckoutForm({
option === -1 ? 'col-span-2' : '',
checked
? 'ring-2 ring-indigo-600'
- : 'ring-1 ring-inset ring-gray-200 dark:ring-gray-500 text-gray-900 dark:text-white hover:bg-gray-50 hover:dark:bg-zinc-600',
- 'flex items-center justify-center rounded-md py-3 px-3 text-sm font-semibold sm:flex-1 bg-white dark:bg-zinc-700'
+ : 'ring-1 ring-inset ring-gray-200 text-gray-900 hover:bg-gray-50',
+ 'flex items-center justify-center rounded-md py-3 px-3 text-sm font-semibold sm:flex-1 bg-white'
)
}
>
@@ -250,7 +250,7 @@ function CheckoutForm({
min="0"
step="1"
onChange={(e) => setCustomAmount(e.target.value)}
- className="block w-full rounded-md border-0 py-1.5 pl-7 pr-12 text-gray-900 dark:text-white dark:bg-zinc-700 ring-1 ring-inset ring-gray-200 dark:ring-gray-500 placeholder:text-gray-400 focus:ring-1 focus:ring-inset focus:ring-gray-500 sm:text-sm sm:leading-6"
+ className="block w-full rounded-md border-0 py-1.5 pl-7 pr-12 text-gray-900 ring-1 ring-inset ring-gray-200 placeholder:text-gray-400 focus:ring-1 focus:ring-inset focus:ring-gray-500 sm:text-sm sm:leading-6"
placeholder="Custom"
aria-describedby="price-currency"
/>
@@ -274,12 +274,12 @@ function CheckoutForm({
-
+
About you
-
-
+
Payment
@@ -358,7 +358,6 @@ export default function ClubPayment() {
const [paymentIntent, setPaymentIntent] = useState('');
const htmlEl = document.getElementsByTagName('html')[0];
- const darkTheme = htmlEl.classList.contains("dark");
useEffect(() => {
// Create PaymentIntent as soon as the page loads using our local API
@@ -388,20 +387,6 @@ export default function ClubPayment() {
labels: 'floating',
};
- const cb = useCallback(
- () => {
- const updatedHtmlEl = document.getElementsByTagName('html')[0];
- const updatedDarkTheme = updatedHtmlEl.classList.contains("dark");
-
- if (updatedDarkTheme !== darkTheme) {
- location.reload();
- }
- },
- [darkTheme]
- )
-
- useMutationObservable(htmlEl, cb);
-
const options: StripeElementsOptions = {
clientSecret,
appearance,
diff --git a/src/app/hall-history/page.tsx b/src/app/hall-history/page.tsx
index f0ca716..8182c3f 100644
--- a/src/app/hall-history/page.tsx
+++ b/src/app/hall-history/page.tsx
@@ -23,7 +23,7 @@ function SocialLink({
{children}
@@ -94,18 +94,18 @@ export default function About() {
src={originalDeedImage}
alt=""
sizes="(min-width: 1024px) 32rem, 20rem"
- className="rotate-3 rounded-2xl bg-zinc-100 object-cover dark:bg-zinc-800"
+ className="rotate-3 rounded-2xl bg-zinc-100 object-cover"
/>
-
+
Original property deed from Alexander Chalmers.
-
+
Hall History
-
+
The West Sound Community Hall represents the history and character
of Orcas Island. Members of the nonprofit West Sound Community Club,
@@ -130,7 +130,7 @@ export default function About() {
-
+
Detailed History
@@ -154,7 +154,7 @@ export default function About() {
title='1903 - 1935'
description='During this period the following organizations were regular users of the Hall:'
>
-
+
-
+
{children}
diff --git a/src/app/news/2024-02-17-potluck/page.mdx b/src/app/news/2024-02-17-potluck/page.mdx
index eb8e39e..7422591 100644
--- a/src/app/news/2024-02-17-potluck/page.mdx
+++ b/src/app/news/2024-02-17-potluck/page.mdx
@@ -25,7 +25,7 @@ all over Orcas Island, many of which dated back to the early 1900's.
-
+
Boddington's Store at the end of Crow Valley Road.
@@ -36,7 +36,7 @@ passed down by John's family.
-
+
West Sound Main Street
@@ -46,7 +46,7 @@ Sound, and how few trees there were on the island!
-
+
West Sound and the south end of Turtleback
diff --git a/src/app/news/2024-03-06-town-hall-meeting/page.mdx b/src/app/news/2024-03-06-town-hall-meeting/page.mdx
index 8a6930b..415429b 100644
--- a/src/app/news/2024-03-06-town-hall-meeting/page.mdx
+++ b/src/app/news/2024-03-06-town-hall-meeting/page.mdx
@@ -23,7 +23,7 @@ can be prioritized and planned in the future.
-
+
Town Hall Meeting
diff --git a/src/app/news/page.tsx b/src/app/news/page.tsx
index d3cc520..c4a3c6c 100644
--- a/src/app/news/page.tsx
+++ b/src/app/news/page.tsx
@@ -47,7 +47,7 @@ export default async function ArticlesIndex() {
title="West Sound Hall News"
intro="History, Announcements, and more from the West Sound Hall and Community Club."
>
-
+
{articles.map((article) => (
diff --git a/src/app/news/welcome-to-the-wscc-website/page.mdx b/src/app/news/welcome-to-the-wscc-website/page.mdx
index 8622bc0..8dbf949 100644
--- a/src/app/news/welcome-to-the-wscc-website/page.mdx
+++ b/src/app/news/welcome-to-the-wscc-website/page.mdx
@@ -31,7 +31,7 @@ years.
-
+
Screenshot of the original West Sound Hall website.
@@ -42,3 +42,7 @@ WA Heritage Register. There's so much more to the hall than just potlucks,
and this website hopes to share this with the West Sound Community.
Thanks for being a part of the West Sound Community!
+
+For posterity, the source code for this website along with instructions for
+developing and updating it can be found
+[here](https://git.grosinger.net/tgrosinger/west-sound-hall).
diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx
index 4067f6f..b447a86 100644
--- a/src/app/not-found.tsx
+++ b/src/app/not-found.tsx
@@ -5,13 +5,13 @@ export default function NotFound() {
return (
-
+
404
-
+
Page not found
-
+
Sorry, we couldn’t find the page you’re looking for.
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 15df316..36af9e3 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -21,7 +21,7 @@ function LinkButton({
return (
{children}
@@ -53,17 +53,17 @@ function EventListItem({ event }: { event: Event }) {
Title
-
+
{event.name}
Date
-
+
{date}
Time
{event.allDay
?
All day
@@ -71,7 +71,7 @@ function EventListItem({ event }: { event: Event }) {
: (event.end
? (
{start.format('h:mm a')} {' '}
@@ -80,7 +80,7 @@ function EventListItem({ event }: { event: Event }) {
) : (
{start.format('h:mm a')} {' '}
@@ -97,9 +97,9 @@ async function Events() {
const events = await getUpcomingEvents();
return (
-
-
-
+
+
+
Upcoming Events
@@ -124,17 +124,17 @@ export default async function Home() {
-
+
West Sound Community Hall
-
+
The West Sound Community Hall is located in the hamlet of West Sound
on Orcas Island, about 10 minutes from the ferry landing and
Eastsound. It has served as a public assembly hall since it was
built by volunteers in 1902.
-
+
Facing West Sound, the Hall is at the heart of the West Sound community.
@@ -143,7 +143,7 @@ export default async function Home() {
alt="Exterior front of the West Sound Hall"
className="lg:row-span-2 w-full max-w-xl rounded-2xl object-cover lg:max-w-none"
/>
-
+
Join or Renew your Membership
Rent the Hall
diff --git a/src/app/projects/page.tsx b/src/app/projects/page.tsx
index cc5aafe..a38556e 100644
--- a/src/app/projects/page.tsx
+++ b/src/app/projects/page.tsx
@@ -75,7 +75,7 @@ export default function Projects() {
>
{projects.map((project) => (
-
+
-
+
{project.name}
{project.description}
-
+
{project.link.label}
diff --git a/src/app/providers.tsx b/src/app/providers.tsx
index c1ef327..4be3a1f 100644
--- a/src/app/providers.tsx
+++ b/src/app/providers.tsx
@@ -2,7 +2,6 @@
import { createContext, useEffect, useRef } from 'react'
import { usePathname } from 'next/navigation'
-import { ThemeProvider, useTheme } from 'next-themes'
function usePrevious
(value: T) {
let ref = useRef()
@@ -14,30 +13,6 @@ function usePrevious(value: T) {
return ref.current
}
-function ThemeWatcher() {
- let { resolvedTheme, setTheme } = useTheme()
-
- useEffect(() => {
- let media = window.matchMedia('(prefers-color-scheme: dark)')
-
- function onMediaChange() {
- let systemTheme = media.matches ? 'dark' : 'light'
- if (resolvedTheme === systemTheme) {
- setTheme('system')
- }
- }
-
- onMediaChange()
- media.addEventListener('change', onMediaChange)
-
- return () => {
- media.removeEventListener('change', onMediaChange)
- }
- }, [resolvedTheme, setTheme])
-
- return null
-}
-
export const AppContext = createContext<{ previousPathname?: string }>({})
export function Providers({ children }: { children: React.ReactNode }) {
@@ -46,10 +21,7 @@ export function Providers({ children }: { children: React.ReactNode }) {
return (
-
-
- {children}
-
+ {children}
)
}
diff --git a/src/app/rental/page.tsx b/src/app/rental/page.tsx
index a862c77..f9fadbd 100644
--- a/src/app/rental/page.tsx
+++ b/src/app/rental/page.tsx
@@ -24,7 +24,7 @@ function SocialLink({
{children}
@@ -49,15 +49,15 @@ export default function Rental() {
src={exteriorFront}
alt=""
sizes="(min-width: 1024px) 32rem, 20rem"
- className="aspect-square rounded-2xl bg-zinc-100 object-cover dark:bg-zinc-800"
+ className="aspect-square rounded-2xl bg-zinc-100 object-cover"
/>
-
+
Hall Rental
-
+
The West Sound Community Hall is a public assembly hall, which has
been in continuous operation since it was built in 1902. In 1999,
@@ -99,14 +99,14 @@ export default function Rental() {
contact@westsoundhall.org
-
+
Rental Rates
@@ -157,8 +157,8 @@ export default function Rental() {
-
-
+
+
Use Restrictions
@@ -222,8 +222,8 @@ export default function Rental() {
-
-
+
+
Capacity
@@ -233,8 +233,8 @@ export default function Rental() {
-
-
+
+
Parking
@@ -255,8 +255,8 @@ export default function Rental() {
-
-
+
+
Accessibility
diff --git a/src/app/thank-you/page.tsx b/src/app/thank-you/page.tsx
index 7b1b077..c577586 100644
--- a/src/app/thank-you/page.tsx
+++ b/src/app/thank-you/page.tsx
@@ -23,7 +23,7 @@ export default async function ThankYou({
title="Thanks for becoming a member."
intro="Thank you for joining the West Sound Community Club."
>
-
+
Your financial support helps us perserve this historic building and to host events for the community. We'll add you to our member mailing list so you receive announcement emails about upcoming events.
diff --git a/src/components/ArticleLayout.tsx b/src/components/ArticleLayout.tsx
index fd18c26..22fbb66 100644
--- a/src/components/ArticleLayout.tsx
+++ b/src/components/ArticleLayout.tsx
@@ -41,24 +41,24 @@ export function ArticleLayout({
type="button"
onClick={() => router.back()}
aria-label="Go back to articles"
- className="group mb-8 flex h-10 w-10 items-center justify-center rounded-full bg-white shadow-md shadow-zinc-800/5 ring-1 ring-zinc-900/5 transition dark:border dark:border-zinc-700/50 dark:bg-zinc-800 dark:ring-0 dark:ring-white/10 dark:hover:border-zinc-700 dark:hover:ring-white/20 lg:absolute lg:-left-5 lg:-mt-2 lg:mb-0 xl:-top-1.5 xl:left-0 xl:mt-0"
+ className="group mb-8 flex h-10 w-10 items-center justify-center rounded-full bg-white shadow-md shadow-zinc-800/5 ring-1 ring-zinc-900/5 transition lg:absolute lg:-left-5 lg:-mt-2 lg:mb-0 xl:-top-1.5 xl:left-0 xl:mt-0"
>
-
+
)}
-
+
{article.title}
-
+
{formatDate(article.date)}
- by {article.author}
+ by {article.author}
{children}
diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index a17201c..45b0d0c 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -3,17 +3,17 @@ import clsx from 'clsx'
const variantStyles = {
primary:
- 'bg-zinc-800 font-semibold text-zinc-100 hover:bg-zinc-700 active:bg-zinc-800 active:text-zinc-100/70 dark:bg-zinc-700 dark:hover:bg-zinc-600 dark:active:bg-zinc-700 dark:active:text-zinc-100/70',
+ 'bg-zinc-800 font-semibold text-zinc-100 hover:bg-zinc-700 active:bg-zinc-800 active:text-zinc-100/70',
secondary:
- 'bg-zinc-50 font-medium text-zinc-900 hover:bg-zinc-100 active:bg-zinc-100 active:text-zinc-900/60 dark:bg-zinc-800/50 dark:text-zinc-300 dark:hover:bg-zinc-800 dark:hover:text-zinc-50 dark:active:bg-zinc-800/50 dark:active:text-zinc-50/70',
+ 'bg-zinc-50 font-medium text-zinc-900 hover:bg-zinc-100 active:bg-zinc-100 active:text-zinc-900/60',
}
type ButtonProps = {
variant?: keyof typeof variantStyles
} & (
- | (React.ComponentPropsWithoutRef<'button'> & { href?: undefined })
- | React.ComponentPropsWithoutRef
-)
+ | (React.ComponentPropsWithoutRef<'button'> & { href?: undefined })
+ | React.ComponentPropsWithoutRef
+ )
export function Button({
variant = 'primary',
diff --git a/src/components/Card.tsx b/src/components/Card.tsx
index 712268a..368cdd9 100644
--- a/src/components/Card.tsx
+++ b/src/components/Card.tsx
@@ -39,7 +39,7 @@ Card.Link = function CardLink({
}: React.ComponentPropsWithoutRef) {
return (
<>
-
+
{children}
@@ -59,7 +59,7 @@ Card.Title = function CardTitle({
let Component = as ?? 'h2'
return (
-
+
{href ? {children} : children}
)
@@ -71,7 +71,7 @@ Card.Description = function CardDescription({
children: React.ReactNode
}) {
return (
-
+
{children}
)
@@ -105,7 +105,7 @@ Card.Eyebrow = function CardEyebrow({
({
className="absolute inset-y-0 left-0 flex items-center"
aria-hidden="true"
>
-
+
)}
{children}
diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx
index b17aa9b..dc416dc 100644
--- a/src/components/Footer.tsx
+++ b/src/components/Footer.tsx
@@ -12,7 +12,7 @@ function NavLink({
return (
{children}
@@ -23,10 +23,10 @@ export function Footer() {
return (
-
+
-
+
History
News
Calendar
@@ -34,10 +34,10 @@ export function Footer() {
Club
-
+
© {new Date().getFullYear()} West Sound Community Club. All rights reserved.
-
+
WSCC is a 501c3 nonprofit organization - 91-1283768
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index 75497a9..937ac32 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,47 +1,14 @@
'use client'
-import { Fragment, useEffect, useRef, useState } from 'react'
+import { Fragment, useEffect, useRef } from 'react'
import Link from 'next/link'
import { usePathname } from 'next/navigation'
-import { useTheme } from 'next-themes'
import { Popover, Transition } from '@headlessui/react'
import clsx from 'clsx'
import { XMarkIcon, ChevronDownIcon } from '@heroicons/react/24/solid'
import { Container } from '@/components/Container'
-function SunIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
- return (
-
-
-
-
- )
-}
-
-function MoonIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
- return (
-
-
-
- )
-}
-
function MobileNavItem({
href,
children,
@@ -63,9 +30,9 @@ function MobileNavigation(
) {
return (
-
+
Menu
-
+
-
+
-
+
Home
Hall History
News
@@ -133,13 +100,13 @@ function NavItem({
className={clsx(
'relative block px-3 py-2 transition',
isActive
- ? 'text-teal-500 dark:text-teal-400'
- : 'hover:text-teal-500 dark:hover:text-teal-400',
+ ? "text-teal-500"
+ : "hover:text-teal-500",
)}
>
{children}
{isActive && (
-
+
)}
@@ -149,7 +116,7 @@ function NavItem({
function DesktopNavigation(props: React.ComponentPropsWithoutRef<'nav'>) {
return (
-
+
Home
History
News
@@ -161,28 +128,6 @@ function DesktopNavigation(props: React.ComponentPropsWithoutRef<'nav'>) {
)
}
-function ThemeToggle() {
- let { resolvedTheme, setTheme } = useTheme()
- let otherTheme = resolvedTheme === 'dark' ? 'light' : 'dark'
- let [mounted, setMounted] = useState(false)
-
- useEffect(() => {
- setMounted(true)
- }, [])
-
- return (
- setTheme(otherTheme)}
- >
-
-
-
- )
-}
-
function clamp(number: number, a: number, b: number) {
let min = Math.min(a, b)
let max = Math.max(a, b)
@@ -285,17 +230,9 @@ export function Header() {
'var(--header-inner-position)' as React.CSSProperties['position'],
}}
>
-
diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx
index 12c48eb..86da16e 100644
--- a/src/components/Layout.tsx
+++ b/src/components/Layout.tsx
@@ -6,7 +6,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
<>
diff --git a/src/components/Prose.tsx b/src/components/Prose.tsx
index 843ac9c..26f626a 100644
--- a/src/components/Prose.tsx
+++ b/src/components/Prose.tsx
@@ -5,6 +5,6 @@ export function Prose({
...props
}: React.ComponentPropsWithoutRef<'div'>) {
return (
-
+
)
}
diff --git a/src/components/Section.tsx b/src/components/Section.tsx
index 4a2fc73..4e61cfc 100644
--- a/src/components/Section.tsx
+++ b/src/components/Section.tsx
@@ -12,12 +12,12 @@ export function Section({
return (
{title}
diff --git a/src/components/SimpleLayout.tsx b/src/components/SimpleLayout.tsx
index 2023a38..fc4f143 100644
--- a/src/components/SimpleLayout.tsx
+++ b/src/components/SimpleLayout.tsx
@@ -12,10 +12,10 @@ export function SimpleLayout({
return (
diff --git a/src/components/Table.tsx b/src/components/Table.tsx
index 9dbd300..e2bb8da 100644
--- a/src/components/Table.tsx
+++ b/src/components/Table.tsx
@@ -4,7 +4,7 @@ export function TableHeading({
}: {
children: React.ReactNode
}) {
- return {children}
+ return {children}
}
@@ -13,7 +13,7 @@ export function TableLeftHeading({
}: {
children: React.ReactNode
}) {
- return {children}
+ return {children}
}
export function TableCell({
@@ -21,5 +21,5 @@ export function TableCell({
}: {
children: React.ReactNode
}) {
- return {children}
+ return {children}
}
diff --git a/src/styles/tailwind.css b/src/styles/tailwind.css
index 0d8514a..b32876e 100644
--- a/src/styles/tailwind.css
+++ b/src/styles/tailwind.css
@@ -8,9 +8,4 @@
--stripe-background: #FFFFFF;
--stripe-foreground: #000000;
-}
-
-.dark {
- --stripe-background: #3f3f46;
- --stripe-foreground: #E4E4E7;
-}
+}
\ No newline at end of file