diff --git a/frontend/src/components/Categories/Categories.css b/frontend/src/components/Categories/Categories.css new file mode 100644 index 0000000..4c0f246 --- /dev/null +++ b/frontend/src/components/Categories/Categories.css @@ -0,0 +1,44 @@ +.col{ + flex:1; + display: flex; + flex-direction: column; + gap: 10px; + overflow: hidden; +} + +.col-l{ + flex:2; +} +.row{ + flex:1; + display:flex; + gap: 10px; + position: relative; + overflow: hidden; +} +.category-button{ + position: absolute; + /* min-width: 100px; */ + width: fit-content; + height:50px; + padding: 10px; + top: 0; + bottom: 0; + left: 0; + right: 0; + margin: auto; + cursor: pointer; + border: none; + background-color: white; + text-transform: uppercase; + font-weight: 500; + color: black; + border-radius: 0px; +} + +.category-image{ + width: 100%; + height: 100%; + object-fit: cover; + +} \ No newline at end of file diff --git a/frontend/src/components/Categories/Categories.scss b/frontend/src/components/Categories/Categories.scss deleted file mode 100644 index 5b4bdcd..0000000 --- a/frontend/src/components/Categories/Categories.scss +++ /dev/null @@ -1,15 +0,0 @@ -.col{ - flex:1; - display: flex; - flex-direction: column; - gap: 10px; -} - -.col-l{ - flex:2; -} -.row{ - flex:1; - display:flex; - gap: 10px; -} \ No newline at end of file diff --git a/frontend/src/components/Categories/Categories.tsx b/frontend/src/components/Categories/Categories.tsx index 4f020cf..d543dba 100644 --- a/frontend/src/components/Categories/Categories.tsx +++ b/frontend/src/components/Categories/Categories.tsx @@ -1,11 +1,19 @@ import React from "react"; -import "./Categories.scss" +import "./Categories.css"; +import Image from "next/image"; +import Link from "next/link"; +import { Button } from '@/components/ui/button'; const Categories = () => { return (