-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'NCUAppTeam:main' into main
- Loading branch information
Showing
21 changed files
with
669 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ dev-dist | |
.idea | ||
.DS_Store | ||
.env | ||
|
||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,12 @@ | ||
|
||
import React from 'react'; | ||
import IconProps from '../interface/IconProps'; | ||
import { BasicIcon } from './BasicIcon'; | ||
|
||
export const BellIcon: React.FC<IconProps> = ({ fill, stroke, size }) => ( | ||
<BasicIcon fill={fill} stroke={stroke} size={size}> | ||
<path stroke-linecap="round" stroke-linejoin="round" d="M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0" /> | ||
</BasicIcon> | ||
); | ||
|
||
export default BellIcon; |
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,12 @@ | ||
|
||
import React from 'react'; | ||
import IconProps from '../interface/IconProps'; | ||
import { BasicIcon } from './BasicIcon'; | ||
|
||
export const ClockIcon: React.FC<IconProps> = ({ fill, stroke, size }) => ( | ||
<BasicIcon fill={fill} stroke={stroke} size={size}> | ||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"/> | ||
</BasicIcon> | ||
); | ||
|
||
export default ClockIcon; |
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,12 @@ | ||
|
||
import React from 'react'; | ||
import IconProps from '../interface/IconProps'; | ||
import { BasicIcon } from './BasicIcon'; | ||
|
||
export const PinIcon: React.FC<IconProps> = ({ fill, stroke, size }) => ( | ||
<BasicIcon fill={fill} stroke={stroke} size={size}> | ||
<path fill-rule="evenodd" d="m7.539 14.841.003.003.002.002a.755.755 0 0 0 .912 0l.002-.002.003-.003.012-.009a5.57 5.57 0 0 0 .19-.153 15.588 15.588 0 0 0 2.046-2.082c1.101-1.362 2.291-3.342 2.291-5.597A5 5 0 0 0 3 7c0 2.255 1.19 4.235 2.292 5.597a15.591 15.591 0 0 0 2.046 2.082 8.916 8.916 0 0 0 .189.153l.012.01ZM8 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" clip-rule="evenodd" /> | ||
</BasicIcon> | ||
); | ||
|
||
export default PinIcon; |
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,11 @@ | ||
import React from 'react'; | ||
import IconProps from '../interface/IconProps'; | ||
import { BasicIcon } from './BasicIcon'; | ||
|
||
export const PlusIcon: React.FC<IconProps> = ({ fill, stroke, size }) => ( | ||
<BasicIcon fill={fill} stroke={stroke} size={size}> | ||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" /> | ||
</BasicIcon> | ||
); | ||
|
||
export default PlusIcon; |
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 |
---|---|---|
@@ -1,13 +1,16 @@ | ||
// Common Components | ||
export { Center } from './Common/Center'; | ||
export { Button } from './Common/customButton'; | ||
export { HStack } from './Common/HStack'; | ||
export { Image } from './Common/Image'; | ||
export { VStack } from './Common/VStack'; | ||
export { Header } from './Header'; | ||
// Icons | ||
export { BellIcon } from './icons/BellIcon'; | ||
export { CalendarIcon } from './icons/CalendarIcon'; | ||
export { ClockIcon } from './icons/ClockIcon'; | ||
export { LogoutIcon } from './icons/LogoutIcon'; | ||
export { PinIcon } from './icons/PinIcon'; | ||
export { PlusIcon } from './icons/PlusIcon'; | ||
export { SidebarArrowDownIcon } from './icons/SidebarArrowDownIcon'; | ||
export { SidebarArrowRightIcon } from './icons/SidebarArrowRightIcon'; | ||
|
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,49 @@ | ||
import { VStack } from "../../../components"; | ||
|
||
|
||
export const Filter = () => { | ||
const streets = [ | ||
'校内', '宵夜街', '後門', '奢侈巷' | ||
]; | ||
|
||
return ( | ||
<VStack> | ||
<div id="meal" className="grid justify-items-center mt-10"> | ||
<p className="font-bold text-4xl text-center">找正餐</p> | ||
<div className="w-2/3 grid grid-rows-2 grid-flow-col gap-6 columns-2 mt-4"> | ||
{ | ||
streets.map((street) => ( | ||
<button key={street} className="btn bg-[#fdf7d2] text-xl text-[#8b7342] border-2 border-[#8b7342]"> | ||
{street} | ||
</button> | ||
)) | ||
} | ||
</div> | ||
</div> | ||
<div id="drink" className="grid justify-items-center mt-10"> | ||
<p className="font-bold text-4xl text-center">找飲料</p> | ||
<div className="w-2/3 grid grid-rows-2 grid-flow-col gap-6 columns-2 mt-4"> | ||
{ | ||
streets.map((street) => ( | ||
<button key={street} className="btn bg-[#fdf7d2] text-xl text-[#8b7342] border-2 border-[#8b7342]"> | ||
{street} | ||
</button> | ||
)) | ||
} | ||
</div> | ||
</div> | ||
<div id="midnight-snack" className="grid justify-items-center mt-10"> | ||
<p className="font-bold text-4xl text-center">找宵夜</p> | ||
<div className="w-2/3 grid grid-flow-col gap-6 columns-2 mt-4"> | ||
{ | ||
streets.slice(1, 3).map((street) => ( | ||
<button key={street} className="btn bg-[#fdf7d2] text-xl text-[#8b7342] border-2 border-[#8b7342]"> | ||
{street} | ||
</button> | ||
)) | ||
} | ||
</div> | ||
</div> | ||
</VStack > | ||
); | ||
}; |
Oops, something went wrong.