Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rewrite css to tailwind features #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
182 changes: 180 additions & 2 deletions package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-dom": "^18.2.0",
"react-redux": "^8.1.1",
"react-router-dom": "^6.14.2",
"react-scripts": "5.0.1",
"react-scripts": "^5.0.1",
"typescript": "^4.9.5",
"typescript-plugin-css-modules": "^5.0.1",
"web-vitals": "^2.1.4",
Expand Down Expand Up @@ -52,7 +52,10 @@
]
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"file-loader": "^6.2.0",
"gh-pages": "^5.0.0"
"gh-pages": "^5.0.0",
"postcss": "^8.4.27",
"tailwindcss": "^3.3.3"
}
}
13 changes: 10 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,24 @@
name="description"
content="Web site created using create-react-app"
/>
<link
<!-- <link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM"
crossorigin="anonymous"
/> -->

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Courier+Prime&family=Poiret+One&display=swap"
rel="stylesheet"
/>

<title>Your little notes</title>
</head>
<body>
<body class="box-border">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<div id="root" ></div>
</body>
</html>
66 changes: 0 additions & 66 deletions src/App.css

This file was deleted.

6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FC } from "react";
import { Outlet } from "react-router-dom";
import "./App.css";
import "./index.css";
import Header from "./layout/Header/Header";
import Footer from "./layout/Footer/Footer";
import Table from "./components/Table/Table";
Expand All @@ -11,9 +11,9 @@ import { categoriesHead } from "./assets/tableHeaders";

const App: FC = () => {
return (
<div className="App">
<div className="grid grid-cols-1">
<Header />
<div className="appContainer">
<div className="m-5 min-h-[80vh] font-mono">
<Navbar />
<Outlet />
<Table headers={categoriesHead}>
Expand Down
1 change: 0 additions & 1 deletion src/assets/tableHeaders.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import archiveIcon from "./img/icons/archiveIcon.svg";
import deleteIcon from "./img/icons/deleteIcon.svg";
import '../App.css';

export const mainTableHead = [
"Name",
Expand Down
Loading