add event header component and the first pig
This commit is contained in:
19
web/src/components/general/Pig.tsx
Normal file
19
web/src/components/general/Pig.tsx
Normal file
@ -0,0 +1,19 @@
|
||||
import styles from "./pig.module.scss";
|
||||
import { LogoPig } from "./pigs/LogoPig";
|
||||
|
||||
export const Pig = ({
|
||||
type,
|
||||
}: {
|
||||
type:
|
||||
| "logo"
|
||||
| "music"
|
||||
| "point"
|
||||
| "student"
|
||||
| "dance"
|
||||
| "listen"
|
||||
| "drink"
|
||||
| "guard"
|
||||
| "peek";
|
||||
}) => {
|
||||
return <div className={styles.pig}>{type === "logo" && <LogoPig />}</div>;
|
||||
};
|
Reference in New Issue
Block a user