-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
food component and marquee added to coworking-space route
- Loading branch information
1 parent
56ed9e8
commit 1b10043
Showing
9 changed files
with
86 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import { Container } from '~/components/ui/Container' | ||
import { FadeIn, FadeInStagger } from '~/components/ui/FadeIn' | ||
import { SectionIntro } from '~/components/ui/SectionIntro' | ||
import clsx from 'clsx' | ||
|
||
export function Food({ | ||
className, | ||
}: React.ComponentPropsWithoutRef<'div'>) { | ||
return ( | ||
<> | ||
<div className="py-24 sm:py-32"> | ||
<SectionIntro title="Fuel Up and Recharge"> | ||
<p> | ||
Take a break from work and explore the <strong>Downtown San Antonio food scene</strong>, just steps away from the DEVSA Coworking Space. | ||
Here are some local community faves: | ||
</p> | ||
</SectionIntro> | ||
<div | ||
className={clsx( | ||
className, | ||
'flex justify-between max-sm:mx-auto max-sm:max-w-md max-sm:flex-wrap max-sm:justify-evenly max-sm:gap-x-4 max-sm:gap-y-4', | ||
)} | ||
> | ||
<Container className='mt-16'> | ||
<FadeInStagger faster> | ||
<ul role="list" className="mt-4 grid grid-cols-3 place-items-center gap-0.5 overflow-hidden sm:mx-0 md:grid-cols-5 md:place-items-start"> | ||
{foodOptions.faves.map(({ name, image, alt }) => ( | ||
<li key={name} className="p-8 sm:p-10"> | ||
<FadeIn> | ||
<img | ||
src={image} | ||
alt={alt} | ||
className="max-sm:mx-auto h-auto w-full object-contain" | ||
/> | ||
</FadeIn> | ||
</li> | ||
))} | ||
</ul> | ||
</FadeInStagger> | ||
</Container> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
const foodOptions = { | ||
|
||
faves: [ | ||
{ name: "Leo's Hideout", image: 'https://images.squarespace-cdn.com/content/v1/66313d0e4c96af2f3b98e021/d06b451c-ee44-4a06-aa53-c25587d7a358/LH.MascotLogo.png', alt: "Leo's Hideout" }, | ||
{ name: 'Commonwealth', image: 'https://media.licdn.com/dms/image/v2/C4D1BAQGxUIeX7dDa1w/company-background_10000/company-background_10000/0/1583525978521/commonwealth_coffeehouse__bakery_cover?e=1730862000&v=beta&t=gxT15rjgA4YWOL3s7ardAqlXJs1qLqk2pnPasQVUZ4E', alt: 'Commonwealth' }, | ||
{ name: 'Chick-Fil-A', image: 'https://res.cloudinary.com/jessebubble/image/upload/v1730255696/flyers-21-square_2_hkwbdi.png', alt: 'Chick-Fil-A' }, | ||
{ name: 'Royal Blue', image: 'https://static.wixstatic.com/media/4a9319_9b161096f5d84ab78d7da5a41e07706d~mv2.png/v1/fill/w_480,h_206,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/Untitled.png', alt: 'Royal Blue' }, | ||
{ name: 'Sojourn Trading co', image: 'https://static.spotapps.co/website_images/ab_websites/111424_website/logo_new_1.png', alt: 'Sojouirn Trading co' }, | ||
{ name: 'Pinkertons BBQ', image: 'https://res.cloudinary.com/jessebubble/image/upload/v1730256037/flyers-21-square_3_zgk5vf.png', alt: 'Pinkertons BBQ' }, | ||
{ name: 'Poblanos', image: 'https://poblanosonmain.com/assets/images/poblanoslogo2020site-lightyellow-232x89.png', alt: 'Poblanos' }, | ||
{ name: 'La Panaderia', image: 'https://res.cloudinary.com/jessebubble/image/upload/v1730255384/flyers-21-square_bojzmp.png', alt: 'La Panaderia' }, | ||
{ name: 'The Indian Night', image: 'https://res.cloudinary.com/jessebubble/image/upload/v1730255384/flyers-21-square_1_php8xi.png', alt: 'The Indian Night' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters