From f7c46849c3fb04f7f1f493f7b3ef340f44fdb681 Mon Sep 17 00:00:00 2001 From: chacha Date: Wed, 2 Oct 2024 15:32:51 +0900 Subject: [PATCH 1/5] feat: make new Button folder and combine Button and IconButton into Button --- packages/web/src/app/page.tsx | 16 +++++- .../{Forms => Button}/IconButton.tsx | 2 +- .../components/{ => Button}/TextButton.tsx | 0 .../{Button.tsx => Button/index.tsx} | 49 +++++++++++++++++-- .../Modal/CancellableModalContent.tsx | 2 +- .../components/Modal/ConfirmModalContent.tsx | 2 +- .../components/Table/TableButtonCell.tsx | 2 +- 7 files changed, 65 insertions(+), 8 deletions(-) rename packages/web/src/common/components/{Forms => Button}/IconButton.tsx (96%) rename packages/web/src/common/components/{ => Button}/TextButton.tsx (100%) rename packages/web/src/common/components/{Button.tsx => Button/index.tsx} (56%) diff --git a/packages/web/src/app/page.tsx b/packages/web/src/app/page.tsx index 539821c..932fa1e 100644 --- a/packages/web/src/app/page.tsx +++ b/packages/web/src/app/page.tsx @@ -1,4 +1,18 @@ "use client"; -const Home = () =>
Welcome to SPARCS Students!
; +import Typography from "../common/components/Typography"; +import Button from "../common/components/Button"; + +const Home = () => ( + <> + + Welcome to SPARCS Students! + + + - -); - -export default IconButton;