Skip to content

Commit

Permalink
setup for star rating project and install react icons
Browse files Browse the repository at this point in the history
  • Loading branch information
No0ne003 committed Mar 19, 2024
1 parent 3695ddb commit 951a2b7
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"lucide-react": "^0.344.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-router-dom": "^6.22.2",
"tailwind-merge": "^2.2.1"
},
Expand Down
3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Home from "@/pages/Home";
import NotFound from "@/pages/404";
import Accordion from "@/pages/accordion/accordion";
import RandomColor from "@/pages/RandomColor"
import StarRating from "@/pages/starRating";

function App() {
return (
Expand All @@ -19,6 +20,8 @@ function App() {
<Route path="accordion" element={<Accordion />} />
{/* Random color generator */}
<Route path="color-generator" element={<RandomColor />} />
{/* Star Rating */}
<Route path="star-rating" element={<StarRating />} />

{/* Error Page */}
<Route path="*" element={<NotFound />} />
Expand Down
1 change: 1 addition & 0 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function Home() {
<p className="text-neutral-500 text-xs">I&apos;ll start on it when add the first componenet (project)</p>
<Link to='accordion'>accordion</Link>
<Link to='color-generator'>random Color Generator</Link>
<Link to='star-rating'>star rating</Link>
</div>
);
}
Expand Down
9 changes: 9 additions & 0 deletions src/pages/starRating.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default function StarRating() {
return (
<div
className={`container flex flex-1 flex-col items-center justify-start gap-8 my-10 w-full h-screen`}
>

</div>
);
}

0 comments on commit 951a2b7

Please sign in to comment.