update src/components/Accordion/AccordionDesign1/index.js and src/components/MiniComponents/OfferSection/index.js

master
mahdi 3 years ago
parent 673dda0a5e
commit 3e8194ec9f
  1. 2
      src/components/Accordion/AccordionDesign1/index.js
  2. 13
      src/components/MiniComponents/OfferSection/index.js

@ -100,7 +100,7 @@ const AccordionDesign1 = ({ items, vod }) => {
export default AccordionDesign1; export default AccordionDesign1;
AccordionDesign1.defaultProps = { AccordionDesign1.defaultProps = {
vod: true, vod: false,
items: [ items: [
{ {
title: title:

@ -4,6 +4,12 @@ import Button from "../../ButtonDesign/Button";
const OfferSection = () => { const OfferSection = () => {
return ( return (
<div className="w-full flex flex-row items-center justify-between"> <div className="w-full flex flex-row items-center justify-between">
<button
className="bg-red-400 text-xs py-2 pr-2 pl-7"
style={{ clipPath: "polygon(37% 0, 100% 0%, 100% 99%, 0% 100%)" }}
>
mahdi
</button>
<Button <Button
text={"پیشنهاد سردبیر"} text={"پیشنهاد سردبیر"}
className={ className={
@ -24,10 +30,3 @@ const OfferSection = () => {
}; };
export default OfferSection; export default OfferSection;
// .btn {
// position: relative;
// background-color: #000;
// overflow: hidden;
// transform: skew(-14deg);
// }

Loading…
Cancel
Save