Skip to content

Commit

Permalink
feat: update css styles
Browse files Browse the repository at this point in the history
  • Loading branch information
taga3s committed Aug 17, 2024
1 parent 56f89e3 commit 83de026
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/history/HistoryWorkExperience.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { css } from "hono/css";
const workExperienceList = css`
display: flex;
flex-direction: column;
gap: 16px;
gap: 20px;
margin-top: 32px;
`;

const workExperienceDescription = css`
display: flex;
flex-direction: column;
gap: 8px;
padding: 8px;
padding: 8px 0;
`;

export { workExperienceList, workExperienceDescription };
7 changes: 7 additions & 0 deletions app/components/works/WorksList.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { css } from "hono/css";

const worksListContainer = css`
margin-top: 20px;
`;

export { worksListContainer };
12 changes: 12 additions & 0 deletions app/components/works/WorksList.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Section } from "../Section";
import { worksListContainer } from "./WorksList.css";

const WorksList = () => {
return (
<Section title="Works">
<div class={worksListContainer}>随時掲載予定...</div>
</Section>
);
};

export { WorksList };
9 changes: 9 additions & 0 deletions app/components/works/WorksPresenter.css.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { css } from "hono/css";

const presenterLayout = css`
display: flex;
flex-direction: column;
gap: 48px;
`;

export { presenterLayout };
12 changes: 12 additions & 0 deletions app/components/works/WorksPresenter.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { WorksList } from "./WorksList";
import { presenterLayout } from "./WorksPresenter.css";

const WorksPresenter = () => {
return (
<div class={presenterLayout}>
<WorksList />
</div>
);
};

export { WorksPresenter };
3 changes: 2 additions & 1 deletion app/routes/works.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { createRoute } from "honox/factory";
import { WorksPresenter } from "../components/works/WorksPresenter";

export default createRoute(async (c) => {
return c.render(<div>随時掲載...</div>);
return c.render(<WorksPresenter />);
});

0 comments on commit 83de026

Please sign in to comment.