Skip to content

Commit

Permalink
update App.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleSeo committed Dec 18, 2024
1 parent 9ffb70a commit 35b84e3
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 140 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Dale UI</title>
</head>
<body>
<div id="root"></div>
Expand Down
9 changes: 9 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

111 changes: 0 additions & 111 deletions src/App.css

This file was deleted.

81 changes: 54 additions & 27 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,35 +1,62 @@
import { useState } from "react";
import reactLogo from "./assets/react.svg";
import viteLogo from "/vite.svg";
import logo from "/logo.svg";
import { css } from "../styled-system/css";
import { Button } from "./components/Button";

function App() {
const [count, setCount] = useState(0);

return (
<>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
<div
className={css({
maxW: "prose",
mx: "auto",
})}
>
<header>
<a
href="/"
className={css({
display: "flex",
gap: "4",
})}
>
<img src={logo} className="logo" alt="logo" />
๋‹ฌ๋ ˆ UI
</a>
</div>
<h1>Vite + React</h1>
<Button>Dale</Button>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.tsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</>
</header>
<main>
<h1>Welcome Dale UI!</h1>
<section>
<h2>์œ ์šฉํ•œ ๋งํฌ</h2>
<ul>
<li>
<a href="https://main--675790d317ba346348aa3490.chromatic.com/">
์Šคํ† ๋ฆฌ๋ถ
</a>
</li>
<li>
<a href="https://github.com/DaleStudy/dale-ui">๊นƒํ—ˆ๋ธŒ</a>
</li>
<li>
<a href="https://github.com/DaleStudy/dale-ui/wiki">์œ„ํ‚ค</a>
</li>
<li>
<a href="https://github.com/DaleStudy/dale-ui/discussions">
๊ฒŒ์‹œํŒ
</a>
</li>
<li>
<a href="https://discord.com/channels/775115965964222492/1280152682044063837">
์ฑ„ํŒ…๋ฐฉ
</a>
</li>
</ul>
</section>
<section>
<h2>์„น์…˜ 2</h2>
<Button>ํด๋ฆญ</Button>
</section>
</main>
<footer>ยฉ 2024 Dale UI. All rights reserved.</footer>
</div>
);
}

Expand Down

0 comments on commit 35b84e3

Please sign in to comment.