Leuchtturm React hinzugefügt

This commit is contained in:
wbs
2026-07-16 11:46:48 +02:00
parent 6fdb438154
commit dda2e53576
35 changed files with 2095 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
function Reiseziel({ziel}){
return (
<>
{ziel.content.map((section, index) => { return (
<section key={index}>
<div className="content-text">
<h2>{section.heading}</h2>
<p>{section.text}</p>
</div>
<div className={"content-img " + section.imgAlign}><img src={"../src/assets/" + section.imgSrc} alt="Leuchtturm"/></div>
</section>);
})}
</>
);
}
export default Reiseziel;