From 8f9d5e341af6f6dace6cde9e8f65c0a5f59f657d Mon Sep 17 00:00:00 2001 From: Jeje Date: Sun, 22 Sep 2024 03:03:52 +0900 Subject: [PATCH 1/2] init --- src/components/Layout/index.tsx | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index 000ed7a..65e0479 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -2,11 +2,32 @@ import { Outlet } from "react-router-dom"; import "../../shared/styles/globalStyle.css"; import Header from "../Header"; import { Footer } from "../Footer"; +import * as style from "./.css.ts"; +import GlowStar from "../../assets/glow_star.json"; -// TODO: 모든 페이지에 공통으로 들어가는 레이아웃을 작성합니다. 필요 없으면 삭제해주세요 +glowStarStyles = [ + style.glowStarStyle1, + style.glowStarStyle2, + style.glowStarStyle3, + style.glowStarStyle4, + style.glowStarStyle5, + style.glowStarStyle6, + style.glowStarStyle7, + style.glowStarStyle8, + style.glowStarStyle9, +] export default function Layout() { return (
+ glowStarStyles.map((style, index) => ( + + ))