Skip to content

Commit 6eef427

Browse files
committed
refactor(registration): removed redundant title and passed cityData to FeatureGuard
1 parent 6633606 commit 6eef427

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/app/[city]/page.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ export default async function CityPage({ params }) {
6666
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-10">
6767
{/* Columna de texto */}
6868
<div className="bg-black/20 backdrop-blur rounded-lg p-6 md:p-8">
69-
<h2 className="text-xl md:text-2xl font-bold mb-4 text-yellow-300">
69+
<h2 className="text-xl md:text-2xl font-bold mb-6 text-yellow-300">
7070
{data.introduction.title}
7171
</h2>
7272
<p className="text-base md:text-lg mb-6">
7373
{data.introduction.description}
7474
</p>
7575

76-
<h3 className="text-lg md:text-xl font-semibold mb-3 text-yellow-300">
76+
<h3 className="text-lg md:text-xl font-semibold mb-4 text-yellow-300">
7777
¿Cómo participar?
7878
</h3>
7979
<p className="text-base mb-5">
@@ -104,11 +104,8 @@ export default async function CityPage({ params }) {
104104

105105
{/* Registro Section */}
106106
<section id="registro" className="container-py">
107-
<FeatureGuard featureName="registration">
108-
<h2 className="section-title">Regístrate</h2>
109-
<div className="max-w-xl mx-auto px-13">
107+
<FeatureGuard featureName="registration"cityData={data}>
110108
<RegistrationForm />
111-
</div>
112109
</FeatureGuard>
113110
</section>
114111

0 commit comments

Comments
 (0)