Skip to content

Commit

Permalink
feat: created brand area initially
Browse files Browse the repository at this point in the history
  • Loading branch information
yeasin2002 committed Nov 14, 2024
1 parent 3e3998c commit 7c12cf8
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 7 deletions.
28 changes: 25 additions & 3 deletions app/home2.0/brand-and-statistics/Statistics.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import React from "react"
import React from "react";



import { Separator } from "@/components/ui"

interface Props extends React.ComponentProps<"div"> {}

Expand All @@ -9,5 +13,23 @@ const data = [
]

export const Statistics = ({ ...props }: Props) => {
return <div {...props}>Statistics</div>
}
return (
<div
{...props}
className=" grid grid-cols-1 items-center *:text-center md:grid-cols-2 lg:grid-cols-3 "
>
{data.map((item) => {
return (
<div key={item.name} className="silver-text">
<p className="text-[65px] leading-[68.25px] tracking-[-1.3px] ">
{item.value}
</p>
<p className=" text-xl leading-[26px] tracking-[-0.2px] text-[#7A7A7A]">
{item.name}
</p>
</div>
)
})}
</div>
)
}
11 changes: 8 additions & 3 deletions app/home2.0/brand-and-statistics/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import React from "react"
import React from "react";



import { Separator } from "@/components/ui"

import { BrandsList } from "./BrandsList"
import { Statistics } from "./Statistics"
Expand All @@ -7,9 +11,10 @@ interface Props extends React.ComponentProps<"div"> {}

export const BrandAndStatistics = ({ ...props }: Props) => {
return (
<div {...props}>
<div {...props} className="py-10">
<BrandsList />
<Separator className="my-20" />
<Statistics />
</div>
)
}
}
5 changes: 4 additions & 1 deletion app/home2.0/word-explanation/CustomerStory.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import React from "react"
"use client"

import React, { useState } from "react"
import Image from "next/image"
import man from "@/assets/man-setting.avif"
import playIcon from "@/assets/play.svg"
Expand All @@ -9,6 +11,7 @@ import { MainTitle } from "../MainTitle"
interface Props extends React.ComponentProps<"div"> {}

export const CustomerStory = ({ ...props }: Props) => {
const [isOpen, setIsOpen] = useState(false)
return (
<div
{...props}
Expand Down

0 comments on commit 7c12cf8

Please sign in to comment.