Spaces:
Paused
Paused
matt HOFFNER
commited on
Commit
·
8eb7b1d
1
Parent(s):
00a6446
remove header for more screen real estate
Browse files- components/Header.tsx +0 -20
- pages/index.tsx +0 -2
components/Header.tsx
DELETED
|
@@ -1,20 +0,0 @@
|
|
| 1 |
-
import React from "react";
|
| 2 |
-
import { useAppDispatch, useAppSelector } from "../store/hook";
|
| 3 |
-
import { theme_state } from "../store/features/themeSlice";
|
| 4 |
-
|
| 5 |
-
export const Header = () => {
|
| 6 |
-
const dispatch = useAppDispatch();
|
| 7 |
-
const { theme } = useAppSelector(theme_state);
|
| 8 |
-
return (
|
| 9 |
-
<div
|
| 10 |
-
style={{ height: "3rem", background: theme.background }}
|
| 11 |
-
className="flex items-center pl-5 pr-12 justify-between"
|
| 12 |
-
>
|
| 13 |
-
<div>
|
| 14 |
-
<div className="text-2xl font-medium text-gray-200">
|
| 15 |
-
Codetree AI
|
| 16 |
-
</div>
|
| 17 |
-
</div>
|
| 18 |
-
</div>
|
| 19 |
-
);
|
| 20 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pages/index.tsx
CHANGED
|
@@ -1,11 +1,9 @@
|
|
| 1 |
import React from "react";
|
| 2 |
import Playground from "../components/Playground";
|
| 3 |
-
import { Header } from "../components/Header";
|
| 4 |
|
| 5 |
const Index = () => {
|
| 6 |
return (
|
| 7 |
<>
|
| 8 |
-
<Header />
|
| 9 |
<Playground />
|
| 10 |
</>
|
| 11 |
);
|
|
|
|
| 1 |
import React from "react";
|
| 2 |
import Playground from "../components/Playground";
|
|
|
|
| 3 |
|
| 4 |
const Index = () => {
|
| 5 |
return (
|
| 6 |
<>
|
|
|
|
| 7 |
<Playground />
|
| 8 |
</>
|
| 9 |
);
|