Next.js (App Router) clone of negindentalclinic.ir, wired to the Meshkee Website API (blog, contact form, favicon), with on-page SEO and a scroll-reveal animation sequence on the homepage. See context.md for full project context. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
import styles from "./PageHero.module.css";
|
|
|
|
export default function PageHero({ fa, en, lead }) {
|
|
return (
|
|
<section className={styles.hero}>
|
|
<div className="container">
|
|
<span className={styles.en}>{en}</span>
|
|
<h1 className={styles.fa}>{fa}</h1>
|
|
{lead ? <p className={styles.lead}>{lead}</p> : null}
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|