Skip to content

Commit

Permalink
Merge pull request #734 from sparcs-kaist/#733-2024-spring-create-eve…
Browse files Browse the repository at this point in the history
…nt-home

#733 2024 봄학기 홈화면 만들기
  • Loading branch information
predict-woo authored Feb 19, 2024
2 parents 68b4dd7 + 341e2cc commit 012b747
Show file tree
Hide file tree
Showing 11 changed files with 400 additions and 285 deletions.
29 changes: 29 additions & 0 deletions packages/web/src/components/Event/EventButton/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { HTMLAttributes } from "react";

import eventTheme from "@/tools/eventTheme";
import theme from "@/tools/theme";

type EventButtonProps = {
title: string;
} & HTMLAttributes<HTMLDivElement>;

const EventButton = ({ title, ...divProps }: EventButtonProps) => {
return (
<div
css={{
...eventTheme.font16_bold,
borderRadius: eventTheme.borderRadius,
textAlign: "center",
lineHeight: "50px",
color: theme.white,
width: "100%",
height: "50px",
}}
{...divProps}
>
{title}
</div>
);
};

export default EventButton;
Loading

0 comments on commit 012b747

Please sign in to comment.