You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.5 KiB

  1. import { User } from "@/types";
  2. import { PropsWithChildren } from "react";
  3. import { Activity } from "react-feather";
  4. export default function RecentLogs({ user }: PropsWithChildren<{ user: User }>) {
  5. const thisUser = user;
  6. return (
  7. <div className="h-full w-full bg-neutral-10 shadow-md p-6 rounded-lg flex flex-col">
  8. <p className="font-bold text-xl flex items-center"><Activity className="stroke-[#FF9914] mr-2" />Recent Logs</p>
  9. <table className="table mt-2">
  10. <tbody>
  11. <tr>
  12. <td className='text-md leading-4 py-2 w-full'>
  13. <span className="text-xs"><i>Month / Day / Year hh:mm:ss</i></span><br />
  14. Bookmarked Page Title
  15. </td>
  16. </tr>
  17. <tr>
  18. <td className='text-md leading-4 py-2 w-full'>
  19. <span className="text-xs"><i>Month / Day / Year hh:mm:ss</i></span><br />
  20. Viewed Page Title
  21. </td>
  22. </tr>
  23. <tr>
  24. <td className='text-md leading-4 py-2 w-full'>
  25. <span className="text-xs"><i>Month / Day / Year hh:mm:ss</i></span><br />
  26. Logged in
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. <div className="btn btn-link text-secondary-main p-0 mt-auto mb-0">View Activity Logs</div>
  32. </div>
  33. );
  34. }