Skip to content

Commit

Permalink
think i fixed pics
Browse files Browse the repository at this point in the history
  • Loading branch information
NickTnc24 committed Dec 5, 2024
1 parent 09a4b82 commit 7abc0cf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed public/Bowl.png
Binary file not shown.
Binary file removed public/Plate.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/app/customerView/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function CustomerView() {
}
}} href = "/sides">
{/* <Image src ={"/" + size.size_name + ".png"} width = {500} height = {500} alt = "sizes" className='w-full'/> */}
<Image src = {`/${size.size_name}.png`} width = {500} height = {500} alt = "sizes" className='w-full'/>
<Image src = {size.size_name === 'bowl' ? "/TheOriginalOrangeChicken.png" : size.size_name === "plate" ? "/ChowMein.png" : "/" + size.size_name + ".png"} width = {500} height = {500} alt = "sizes" className='w-full'/>

<div className='text-2xl font-bold'>{size.size_name[0].toUpperCase() + size.size_name.substring(1).replaceAll("_", " ")}</div>
<div className='mt-4'>{size.size_id === 0 ? `1 Side & 1 Entree`: size.size_id == 1 ? "1 Side & 2 Entrees" : size.size_id === 2 ? "1 Side & 3 Entrees" : ""}</div>
Expand Down

0 comments on commit 7abc0cf

Please sign in to comment.