add poppins
This commit is contained in:
parent
07c4421987
commit
0958cca574
@ -78,7 +78,9 @@ const DataTable = ({ columns, data, tabFilterData }) => {
|
|||||||
{headerGroups.map((headerGroup) => (
|
{headerGroups.map((headerGroup) => (
|
||||||
<tr style={{ padding: 10 }} {...headerGroup.getHeaderGroupProps()}>
|
<tr style={{ padding: 10 }} {...headerGroup.getHeaderGroupProps()}>
|
||||||
{headerGroup.headers.map((column) => (
|
{headerGroup.headers.map((column) => (
|
||||||
<th className="p-2" style={{ color: 'white', textAlign: 'left' }} {...column.getHeaderProps()}>{column.render("Header")}</th>
|
<>
|
||||||
|
<th className="p-2" style={{ color: 'white', textAlign: 'left', width: column.Header == "No" ? '5%' : 0}} {...column.getHeaderProps()}>{column.render("Header")}</th>
|
||||||
|
</>
|
||||||
))}
|
))}
|
||||||
<th style={{ color: 'white', textAlign: 'left', width: '5%' }}>Action</th>
|
<th style={{ color: 'white', textAlign: 'left', width: '5%' }}>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -67,9 +67,9 @@ const Sidebar = ({ sidebarOpen, setSidebarOpen }) => {
|
|||||||
>
|
>
|
||||||
{/* <!-- SIDEBAR HEADER --> */}
|
{/* <!-- SIDEBAR HEADER --> */}
|
||||||
<div className="flex items-center justify-between gap-2 px-6 py-5.5 lg:py-6.5">
|
<div className="flex items-center justify-between gap-2 px-6 py-5.5 lg:py-6.5">
|
||||||
{/* <NavLink to="/">
|
<NavLink to="/dashboard">
|
||||||
<img src={Logo} alt="Logo" />
|
<img src='https://pbs.twimg.com/profile_images/968321221912813568/ErvVO4Is_400x400.jpg' alt="Logo" className='w-32 h-32'/>
|
||||||
</NavLink> */}
|
</NavLink>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
ref={trigger}
|
ref={trigger}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
@ -7,3 +8,7 @@
|
|||||||
@apply bg-whiten relative z-1;
|
@apply bg-whiten relative z-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
font-family: 'Poppins', 'sans-serif';
|
||||||
|
}
|
@ -48,8 +48,7 @@ const Login = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if(!auth == {}) {
|
if(auth != {}) {
|
||||||
console.log("BRUHH", auth);
|
|
||||||
navigate("/dashboard")
|
navigate("/dashboard")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -18,9 +18,9 @@ const News = () => {
|
|||||||
const columns = useMemo(
|
const columns = useMemo(
|
||||||
() => [
|
() => [
|
||||||
{
|
{
|
||||||
Header: () => <span>No</span>,
|
Header: "No",
|
||||||
id: 'rowNumber',
|
id: 'rowNumber',
|
||||||
width: 30,
|
width: 10,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Header: "Type",
|
Header: "Type",
|
||||||
|
@ -5,9 +5,6 @@ module.exports = {
|
|||||||
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
|
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
|
||||||
darkMode: 'class',
|
darkMode: 'class',
|
||||||
theme: {
|
theme: {
|
||||||
fontFamily: {
|
|
||||||
satoshi: ['Satoshi', 'sans-serif'],
|
|
||||||
},
|
|
||||||
colors: {
|
colors: {
|
||||||
current: 'currentColor',
|
current: 'currentColor',
|
||||||
transparent: 'transparent',
|
transparent: 'transparent',
|
||||||
|
Loading…
Reference in New Issue
Block a user