diff --git a/.github/workflows/wxl-ci.yml b/.github/workflows/yuhm-ci.yml similarity index 69% rename from .github/workflows/wxl-ci.yml rename to .github/workflows/yuhm-ci.yml index f96a9bf..9a7d66d 100644 --- a/.github/workflows/wxl-ci.yml +++ b/.github/workflows/yuhm-ci.yml @@ -1,15 +1,15 @@ -name: WXL CI +name: yuhm CI on: pull_request: paths: - - "wxl/**" - - ".github/workflows/wxl-ci.yml" + - "yuhm/**" + - ".github/workflows/yuhm-ci.yml" push: branches: [main] paths: - - "wxl/**" - - ".github/workflows/wxl-ci.yml" + - "yuhm/**" + - ".github/workflows/yuhm-ci.yml" workflow_dispatch: jobs: @@ -18,14 +18,14 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: wxl + working-directory: yuhm steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22 cache: npm - cache-dependency-path: wxl/package-lock.json + cache-dependency-path: yuhm/package-lock.json - name: Install dependencies run: npm ci - name: Run tests diff --git a/wxl/public/_redirects b/wxl/public/_redirects deleted file mode 100644 index ad37e2c..0000000 --- a/wxl/public/_redirects +++ /dev/null @@ -1 +0,0 @@ -/* /index.html 200 diff --git a/wxl/services/matching-worker/src/wxl_food_worker/__init__.py b/wxl/services/matching-worker/src/wxl_food_worker/__init__.py deleted file mode 100644 index 28fd7c0..0000000 --- a/wxl/services/matching-worker/src/wxl_food_worker/__init__.py +++ /dev/null @@ -1 +0,0 @@ -"""Deterministic WXL:FOOD matching and routing worker.""" diff --git a/wxl/src/LandingPage.tsx b/wxl/src/LandingPage.tsx deleted file mode 100644 index eee3500..0000000 --- a/wxl/src/LandingPage.tsx +++ /dev/null @@ -1,52 +0,0 @@ -import { Fragment } from 'react' -import { ArrowUpRight, HandHeart, MapPin, ShieldCheck, Users } from 'lucide-react' -import { openCommunityContact } from './CommunityContactWidget' -import { AppLink } from './router' -import { LanguageToggle, useI18n } from './i18n' - -function MultilineTitle({ text }: { text: string }) { - const lines = text.split('\n') - return <>{lines.map((line, index) => {index > 0 &&
}{line}
)} -} - -export function LandingPage() { - const { t } = useI18n() - return
- {t('landing.skip')} -
- /W XTRA WXL:FOOD · Austin -
{t('common.signIn')}HAND Protocol
-
-
-
-

{t('landing.kicker')}

-

-

{t('landing.intro')}

-
{t('landing.proof')}
-
-
-

{t('landing.startHere')}

{t('landing.choosePath')}

-
- - - {t('landing.needFood.small')}{t('landing.needFood.title')}{t('landing.needFood.copy')} - {t('landing.needFood.action')} - - - - {t('landing.contribute.small')}{t('landing.contribute.title')}{t('landing.contribute.copy')} - {t('landing.contribute.action')} - - - - {t('landing.gather.small')}{t('landing.gather.title')}{t('landing.gather.copy')} - {t('landing.gather.action')} - -
-

{t('landing.requestNote')} {t('landing.requestLink')}.

-

{t('landing.updatesNote')} {t('landing.updatesLink')}. {t('landing.updatesNoAccount')}

-
-
- -
-} diff --git a/wxl/src/SourceBoard.tsx b/wxl/src/SourceBoard.tsx deleted file mode 100644 index 9531319..0000000 --- a/wxl/src/SourceBoard.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import { useState } from 'react' -import { CheckCircle2, Plus, Warehouse } from 'lucide-react' -import { nominateFoodSource } from './lib/foodRepository' - -export function SourceBoard({ notify, dbConfigured, canWrite, verifiedCount, onAuthRequired }: { notify: (message: string) => void; dbConfigured: boolean; canWrite: boolean; verifiedCount: number; onAuthRequired: () => void }) { - const [sourceName, setSourceName] = useState('') - const [sourceType, setSourceType] = useState('Food pantry') - const [neighborhood, setNeighborhood] = useState('East Austin') - const [notes, setNotes] = useState('') - const [nominated, setNominated] = useState([]) - - const submitNomination = () => { - if (!sourceName.trim() || !notes.trim()) return - if (!canWrite) { onAuthRequired(); return } - const input = { source_name: sourceName.trim(), source_type: sourceType, neighborhood, notes: notes.trim() } - if (dbConfigured) { - nominateFoodSource(input).then(({ error }) => { - if (error) { notify(error.message); return } - setNominated((current) => [sourceName.trim(), ...current]) - setSourceName(''); setNotes(''); notify('Food source nomination sent for review') - }) - } else { - setNominated((current) => [sourceName.trim(), ...current]) - setSourceName(''); setNotes(''); notify('Food source nomination added to the review queue') - } - } - - return <>

Community-vetted source registry

Partner network

Nominate a local food source. WXL:FOOD reviews it before it becomes part of the public map.

{verifiedCount}verified {verifiedCount === 1 ? 'source' : 'sources'} on the map

How the registry works

People closest to the work keep the map honest.

Anyone in the network can nominate a pantry, fridge, farm, kitchen, church, school program, market, or mutual-aid group. A coordinator confirms the source, its hours, and what it can actually offer.

01Nominate a source
02Verify the details
03Connect it to requests

Add to the network

Nominate a food source