home and about page

This commit is contained in:
Schneider Roland
2025-01-26 11:06:15 +01:00
parent 86dda89db9
commit 04c436cb34
76 changed files with 2036 additions and 176 deletions

View File

@@ -0,0 +1,27 @@
import {YogaDiscountComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-discount-component";
export interface Props{
config: YogaDiscountComponent_Plain
}
export default function YogaDiscountComponent({config: {
headerPart1,headerDiscount,headerPart2,button,description
}}: Props){
return (
<section className="discount_section">
<div className="container">
<div className="row" data-aos="fade-up">
<div className="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div className="discount_content">
<h2>{headerPart1}<span>{headerDiscount}</span>{headerPart2}</h2>
<p>{description}</p>
{button && <div className="btn_wrapper">
<a href={button.link} className="text-decoration-none get_started">{button.label}</a>
</div>
}
</div>
</div>
</div>
</div>
</section>
);
}