Skip to content

Commit

Permalink
[#3]feat: change column name and table color
Browse files Browse the repository at this point in the history
  • Loading branch information
damla committed Apr 24, 2022
1 parent e5baf0e commit 892bf22
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/layouts/Dashboard/modules/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ import { SearchInput, TableBody } from '.';

const Table = () => (
<div className="min-h-full max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
<div className="relative overflow-x-auto shadow-md sm:rounded-lg bg-gradient-to-b from-cyan-300 to-teal-100 dark:from-cyan-800 dark:to-cyan-800">
<div className="relative overflow-x-auto shadow-lg sm:rounded-lg bg-gradient-to-r from-cyan-500 to-blue-500 dark:from-cyan-800 dark:to-cyan-800">
<SearchInput />
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400">
<thead className="text-xs text-gray-700 uppercase bg-teal-100 dark:bg-gray-700 dark:text-gray-400">
<thead className="text-xs text-white uppercase dark:bg-gray-700 dark:text-gray-400">
<tr>
<th scope="col" className="px-6 py-3">
FROM
</th>
<th scope="col" className="px-6 py-3">
TO
</th>
<th scope="col" className="px-6 py-3">
AGE
</th>
<th scope="col" className="px-6 py-3">
DATE
</th>
<th scope="col" className="px-6 py-3">
<span className="sr-only">View More</span>
VALUE
</th>
{/* <th scope="col" className="px-6 py-3">
<span className="sr-only">View More</span>
</th> */}
</tr>
</thead>
{/* TODO: pagination */}
Expand Down

0 comments on commit 892bf22

Please sign in to comment.