11import { FaPlus } from "react-icons/fa6" ;
2+ import { FaSearch } from "react-icons/fa" ;
3+
24import { Button } from "../../components/ui/button" ;
3- import { Card , CardContent , CardHeader } from "../../components/ui/card" ;
45import { TextField , Input } from "../../components/ui/input" ;
6+ import { Card , CardContent , CardHeader } from "../../components/ui/card" ;
57
68import { SensorCardFooter } from "../../features/core-app/components/dashboard/sensor-card-footer" ;
7- import { FaSearch } from "react-icons/fa" ;
89
910export const DashboardPage = ( ) => {
1011 return (
@@ -72,7 +73,7 @@ export const DashboardPage = () => {
7273
7374 < div className = "grid grid-cols-12 gap-4 md:gap-2" >
7475 { /* Input Pencarian */ }
75- < div className = "col-span-12 md :col-span-9 h-[54px]" >
76+ < div className = "col-span-12 lg :col-span-9 h-[54px]" >
7677 < div className = "relative h-full w-full" >
7778 < FaSearch
7879 aria-hidden = "true"
@@ -93,15 +94,14 @@ export const DashboardPage = () => {
9394 </ div >
9495
9596 { /* Tombol Filter */ }
96- < div className = "col-span-3 md :col-span-1 bg-white size-[54px] aspect-square rounded-full mx-auto flex items-center justify-center" >
97+ < div className = "col-span-3 lg :col-span-1 bg-white size-[54px] aspect-square rounded-full mx-auto flex items-center justify-center" >
9798 < svg
9899 width = { 19 }
99100 height = { 19 }
100101 viewBox = "0 0 19 19"
101102 fill = "none"
102103 xmlns = "http://www.w3.org/2000/svg"
103104 >
104- { /* ... (SVG path tidak berubah) ... */ }
105105 < path
106106 d = "M7.0875 1.18164C6.35435 1.18126 5.63914 1.40827 5.04042 1.83139C4.44169 2.25452 3.98894 2.85293 3.74456 3.54414H0V5.90664H3.74456C3.98861 6.5983 4.44119 7.19724 5.03992 7.62088C5.63865 8.04453 6.35405 8.27204 7.0875 8.27204C7.82095 8.27204 8.53635 8.04453 9.13508 7.62088C9.73381 7.19724 10.1864 6.5983 10.4304 5.90664H18.9V3.54414H10.4304C10.1861 2.85293 9.73331 2.25452 9.13458 1.83139C8.53586 1.40827 7.82064 1.18126 7.0875 1.18164ZM5.90625 4.72539C5.90625 4.4121 6.0307 4.11165 6.25223 3.89012C6.47376 3.66859 6.77421 3.54414 7.0875 3.54414C7.40079 3.54414 7.70124 3.66859 7.92277 3.89012C8.1443 4.11165 8.26875 4.4121 8.26875 4.72539C8.26875 5.03868 8.1443 5.33913 7.92277 5.56066C7.70124 5.78219 7.40079 5.90664 7.0875 5.90664C6.77421 5.90664 6.47376 5.78219 6.25223 5.56066C6.0307 5.33913 5.90625 5.03868 5.90625 4.72539ZM11.8125 10.6316C11.0794 10.6313 10.3641 10.8583 9.76542 11.2814C9.16669 11.7045 8.71394 12.3029 8.46956 12.9941H0V15.3566H8.46956C8.71361 16.0483 9.16619 16.6472 9.76492 17.0709C10.3636 17.4945 11.079 17.722 11.8125 17.722C12.546 17.722 13.2613 17.4945 13.8601 17.0709C14.4588 16.6472 14.9114 16.0483 15.1554 15.3566H18.9V12.9941H15.1554C14.9111 12.3029 14.4583 11.7045 13.8596 11.2814C13.2609 10.8583 12.5456 10.6313 11.8125 10.6316ZM10.6312 14.1754C10.6312 13.8621 10.7557 13.5616 10.9772 13.3401C11.1988 13.1186 11.4992 12.9941 11.8125 12.9941C12.1258 12.9941 12.4262 13.1186 12.6478 13.3401C12.8693 13.5616 12.9937 13.8621 12.9937 14.1754C12.9937 14.4887 12.8693 14.7891 12.6478 15.0107C12.4262 15.2322 12.1258 15.3566 11.8125 15.3566C11.4992 15.3566 11.1988 15.2322 10.9772 15.0107C10.7557 14.7891 10.6312 14.4887 10.6312 14.1754Z"
107107 fill = "#326765"
@@ -110,7 +110,7 @@ export const DashboardPage = () => {
110110 </ div >
111111
112112 { /* Tombol Tambah Module */ }
113- < div className = "col-span-9 md :col-span-2" >
113+ < div className = "col-span-9 lg :col-span-2" >
114114 < Button
115115 className = "h-[54px] w-full inline-flex text-base"
116116 variant = "outline"
@@ -123,8 +123,8 @@ export const DashboardPage = () => {
123123 { /* Ringkasan Module */ }
124124 < div className = "w-full" >
125125 < h2 className = "font-semibold text-lg lg:text-[20px] tracking-wider my-5" > Ringkasan Modul</ h2 >
126- < div className = "grid grid-cols-1 lg :grid-cols-3 gap-4 " >
127- { Array . from ( { length : 3 } ) . map ( ( _ , i ) => (
126+ < div className = "grid grid-cols-1 lg:grid-cols-2 xl :grid-cols-3 gap-4 " >
127+ { Array . from ( { length : 6 } ) . map ( ( _ , i ) => (
128128 < Card
129129 className = "overflow-hidden"
130130 key = { i }
@@ -171,7 +171,7 @@ export const DashboardPage = () => {
171171 </ div >
172172 </ CardHeader >
173173 < CardContent className = "p-4 bg-[#326765] text-white" >
174- < div className = "grid grid-cols-4 justify -center gap-8 " >
174+ < div className = "flex justify-between items -center gap-4 " >
175175 < SensorCardFooter
176176 icon = {
177177 < svg
0 commit comments