From 59951c0c7a9c7aed230d276aeaa362d4c12f8d53 Mon Sep 17 00:00:00 2001 From: taga3s Date: Wed, 7 Aug 2024 10:12:06 +0900 Subject: [PATCH] fix: history and common css naming --- app/components/Footer.css.ts | 6 +++--- app/components/Footer.tsx | 6 +++--- app/components/Header.css.ts | 6 +++--- app/components/Header.tsx | 16 ++++++---------- app/components/{layout => }/Section.css.ts | 6 ++---- app/components/{layout => }/Section.tsx | 6 +++--- .../history/HistoryEducationalBackground.css.ts | 6 +++--- .../history/HistoryEducationalBackground.tsx | 8 ++++---- app/components/history/HistoryPresenter.css.ts | 4 ++-- app/components/history/HistoryPresenter.tsx | 4 ++-- .../history/HistoryWorkExperience.css.ts | 6 +++--- app/components/history/HistoryWorkExperience.tsx | 9 ++++----- app/components/profile/ProfileLinks.tsx | 2 +- app/components/profile/ProfilePhotos.tsx | 2 +- 14 files changed, 40 insertions(+), 47 deletions(-) rename app/components/{layout => }/Section.css.ts (52%) rename app/components/{layout => }/Section.tsx (69%) diff --git a/app/components/Footer.css.ts b/app/components/Footer.css.ts index 416dc85..4abed2f 100644 --- a/app/components/Footer.css.ts +++ b/app/components/Footer.css.ts @@ -1,11 +1,11 @@ import { css } from "hono/css"; -const Layout = css` +const footerLayout = css` margin-top: 80px; `; -const Content = css` +const footerContent = css` padding: 20px 0; `; -export { Layout, Content }; +export { footerLayout, footerContent }; diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx index 310aa60..828415a 100644 --- a/app/components/Footer.tsx +++ b/app/components/Footer.tsx @@ -1,9 +1,9 @@ -import { Content, Layout } from "./Footer.css"; +import { footerContent, footerLayout } from "./Footer.css"; const Footer = () => { return ( -