Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/additional-resources/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function CreateRequestPage() {
<Accordion type="single" collapsible className="w-full border rounded-md px-4">
{["Services", "Food Pantries"].map((category) => (
<AccordionItem key={category} value={category} className="border-b-0">
<AccordionTrigger className="text-sm hover:no-underline py-3">
<AccordionTrigger className="text-lg font-bold hover:no-underline py-3">
{category}
</AccordionTrigger>
<AccordionContent>
Expand Down Expand Up @@ -142,7 +142,7 @@ export default function CreateRequestPage() {
`Open at ${item.schedule[dayKey].displayLocation} until ${item.schedule[dayKey].close}`
)
) : item.category === "Services" ? (
// Priority 2: General Services
// Priority 2: General Services
"Available Online"
) : (
// Priority 3: Standard Food Pantries
Expand Down
11 changes: 7 additions & 4 deletions app/requests/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,12 @@ export default function CreateRequestPage() {
</div>

<Card className="border-border bg-card/90 shadow-xl shadow-black/5 backdrop-blur dark:shadow-black/20">

<CardHeader className="pb-7">
<CardTitle className="text-2xl font-black text-foreground">
Choose location and details
</CardTitle>

<CardDescription>
Select a dining location and optional message.
</CardDescription>
Expand All @@ -235,7 +237,7 @@ export default function CreateRequestPage() {
)}

<div className="space-y-2">
<Label htmlFor="location">Location</Label>
<Label htmlFor="location" className="text-xl">Location:</Label>
{location && (
<div className="text-sm font-medium text-green-600 flex items-center gap-1 bg-green-50 p-2 rounded-md border border-green-200">
<Check className="h-4 w-4" /> Selected: {location}
Expand All @@ -250,7 +252,7 @@ export default function CreateRequestPage() {
<Accordion type="single" collapsible className="w-full border rounded-md px-4">
{["Dining Halls", "Markets", "Perks Coffee Bar", "Cafes and Restaurants"].map((category) => (
<AccordionItem key={category} value={category} className="border-b-0">
<AccordionTrigger className="text-sm hover:no-underline py-3">
<AccordionTrigger className="text-sm font-bold hover:no-underline py-3">
{category}
</AccordionTrigger>
<AccordionContent>
Expand Down Expand Up @@ -285,13 +287,14 @@ export default function CreateRequestPage() {
<div className="flex flex-col text-left">
<span className="font-semibold">{item.name}</span>
<span className="text-[10px] flex items-center gap-1">
{!item.isOpen ? "Currently Closed" : `Open until ${closeTime ?? "end of service"}`}
<Clock className="h-3 w-3" />
{!item.isOpen ? "Closed" : `Open until ${closeTime ?? "end of service"}`}
</span>
</div>
{price && item.isOpen && (
<div className="text-right flex flex-col items-end">
<span className="text-[9px] uppercase font-bold text-muted-foreground">{currentMeal}</span>
<span className="font-mono font-bold">${price}</span>
<span className="font-mono font-bold">${price.toFixed(2)}</span>
</div>
)}
</button>
Expand Down
19 changes: 19 additions & 0 deletions lib/locations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,4 +544,23 @@ export const UCSC_LOCATIONS_DATA = [
standardPricing: false,
},

{
name: "SUA/SOAR Basic Needs Corner",
category: "Food Pantries",
siteURL: "https://getinvolved.ucsc.edu/leadership/sua/",
location: "SUA Office, 2nd Floor Student Union",
mapURL: "https://maps.app.goo.gl/6crcMHj8VFiKeike8",
description: "The Student Union Assembly (SUA) is the official undergraduate student government at UC Santa Cruz, representing over 17,000 students at the campus, local, state, and federal levels.",
schedule: {
mon: { open: "10:00", close: "17:00" },
tues: { open: "10:00", close: "17:00" },
wed: { open: "10:00", close: "17:00" },
thurs: { open: "10:00", close: "17:00" },
fri: { open: "10:00", close: "17:00" },
sat: null,
sun: null,
},
standardPricing: false,
}

] as const;
6 changes: 1 addition & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading