delete unused dropdown and change description for detail page of product

features/layout-changes
Ernest Litvinenko 2024-04-23 01:54:07 +03:00
parent f2e132fb80
commit 9e399f17c4
2 changed files with 6 additions and 5 deletions

View File

@ -126,7 +126,7 @@ const Header = () => {
</div>
<Tooltip content={"В разработке"} className={"text-black"} size={"lg"}>
<div className={"flex flex-row items-center group"}>
<Dropdown>
{/* <Dropdown> */}
{/* <DropdownTrigger> */}
<button
className={"flex flex-row items-center border-[#404040] border-1 hover:border-green-2 rounded-[8px] transition-colors h-[50px] px-3"}>
@ -145,7 +145,7 @@ const Header = () => {
<DropdownItem key={"personal-login"}>Войти как Физ. Лицо</DropdownItem>
</DropdownMenu> */}
</Dropdown>
{/* </Dropdown> */}
</div>
</Tooltip>

View File

@ -105,10 +105,11 @@ const OilCard = ({product}: InferGetStaticPropsType<typeof getStaticProps>) => {
<section className={"bg-white text-black"}>
<div className="wrapper pt-12">
<h2 className={"text-title-3 font-semibold mb-4"}>Описание</h2>
<p className={"mb-16 block"}>{product.detailText}</p>
<div className="description mb-16 block" dangerouslySetInnerHTML={{__html: product.detailText}}>
</div>
<h2 className={"text-title-3 font-semibold mb-4"}>Характеристики</h2>
<table className={"w-full mb-7"}>
<tbody className={"[&_tr:nth-child(2n+1)]:bg-[#F7F6F8] [&_td]:p-4 [&_td]:w-1/2"}>
<tr>