add event header component and the first pig

This commit is contained in:
elisejakob
2024-05-12 23:50:08 +02:00
parent 57ce71453e
commit ba43da1556
6 changed files with 146 additions and 17 deletions

View 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>;
};

View File

@ -0,0 +1,8 @@
.pig {
color: var(--color-pig);
width: 16rem;
svg {
width: 100%;
}
}

File diff suppressed because one or more lines are too long