Skip to content

Commit 66dbb0b

Browse files
committed
remove not needed stuff
1 parent 628f664 commit 66dbb0b

File tree

7 files changed

+3
-46
lines changed

7 files changed

+3
-46
lines changed

favicon.ico

-6.08 KB
Binary file not shown.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"date-fns": "^4.1.0",
1616
"react": "^18.3.1",
1717
"react-dom": "^18.3.1",
18-
"react-router-dom": "^7.0.1",
1918
"tailwind-variants": "^0.3.0",
2019
"ts-pattern": "^5.5.0"
2120
},

src/App.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Drawer } from "./components/Drawer";
2-
import { Route, Routes } from "react-router-dom";
32
import { Header } from "./components/Header";
43
import { PromptList } from "./components/PromptList";
54
import { useState } from "react";
@@ -28,12 +27,7 @@ function App() {
2827
</div>
2928
</Drawer>
3029
<div className="w-full p-6">
31-
<Routes>
32-
<Route
33-
path="/"
34-
element={<Dashboard prompts={MOCKED_PROMPTS} />}
35-
/>
36-
</Routes>
30+
<Dashboard prompts={MOCKED_PROMPTS} />
3731
</div>
3832
</div>
3933
</div>

src/components/Header.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
import { StacklokLogo } from "./Icons";
2-
31
export function Header() {
42
return (
53
<header className="h-16 gap-4 flex w-full bg-teal-25 opacity-1 border-b-blue-200 border-b ">
64
<div className="flex p-4 gap-4">
7-
<StacklokLogo />
85
<h1 className="text-2xl w-max flex font-semibold">
96
CodeGate UI Dashboard
107
</h1>

src/components/Icons.tsx

-26
Original file line numberDiff line numberDiff line change
@@ -70,32 +70,6 @@ export function SettingsIcon(props: SVGProps<SVGSVGElement>) {
7070
);
7171
}
7272

73-
export function StacklokLogo(props: SVGProps<SVGSVGElement>) {
74-
return (
75-
<svg
76-
xmlns="http://www.w3.org/2000/svg"
77-
viewBox="0 0 35 26"
78-
fill="none"
79-
width="26px"
80-
height="35px"
81-
{...props}
82-
>
83-
<path
84-
fill="var(--logo-green, #59CFA8)"
85-
d="M17.331 25.833 34.56 8.604v11.012l-6.216 6.217zM17.227 0 0 17.227V6.216L6.216 0z"
86-
/>
87-
<path
88-
fill="var(--logo-teal, #00BBBE)"
89-
d="M34.558 8.604 34.55 0h-8.605L17.34 8.604zM0 17.227l.01 8.605h8.604l8.605-8.605z"
90-
/>
91-
<path
92-
fill="var(--logo-gray, #002A3E)"
93-
d="M25.945 17.218V8.604h8.613zM8.614 8.614v8.614H0z"
94-
/>
95-
</svg>
96-
);
97-
}
98-
9973
export function ClockIcon(props: SVGProps<SVGSVGElement>) {
10074
return (
10175
<svg

src/main.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ import { StrictMode } from "react";
22
import { createRoot } from "react-dom/client";
33
import "./index.css";
44
import App from "./App.tsx";
5-
import { BrowserRouter } from "react-router-dom";
65

76
createRoot(document.getElementById("root")!).render(
87
<StrictMode>
9-
<BrowserRouter>
10-
<App />
11-
</BrowserRouter>
8+
<App />
129
</StrictMode>
1310
);

tailwind.config.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ export default {
44
theme: {
55
extend: {
66
boxShadow: {
7-
custom: "0px 0px 0px 1px #daedfd, 0px 4px 6px rgba(0, 0, 0, 0.1)", // Bordo + ombra
7+
custom: "0px 0px 0px 1px #daedfd, 0px 4px 6px rgba(0, 0, 0, 0.1)",
88
},
99
colors: {
10-
brand: {
11-
DEFAULT: "#3fb5bc",
12-
dark: "#00B3BC",
13-
},
1410
"teal-25": "#f5fbff",
1511
"blue-200": "#daedfd",
1612
},

0 commit comments

Comments
 (0)