Skip to content

Commit 0b0702e

Browse files
committed
fix: remove no needed changes wording added by Codex 👎
1 parent b85f1fb commit 0b0702e

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

public/i18n/en.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@
108108
"linkCopied": "Link copied to clipboard",
109109
"tableOfContents": "Table of Contents",
110110
"heroEyebrow": "Community safety",
111-
"heroDescription": "This page now behaves more like a clear policy surface: scannable, anchored, and easier to trust.",
112111
"purpose": {
113112
"title": "1. Purpose",
114113
"description1": "Web Dev Talks is an open community whose objective is to foster learning, networking, and professional growth within the technology field, in a safe, respectful, and inclusive environment for all people.",

public/i18n/es.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
"linkCopied": "Enlace copiado al portapapeles",
118118
"tableOfContents": "Tabla de contenidos",
119119
"heroEyebrow": "Seguridad de la comunidad",
120-
"heroDescription": "Esta página ahora se presenta como una política clara y fácil de recorrer: escaneable, anclada y más confiable.",
121120
"purpose": {
122121
"title": "1. Propósito",
123122
"description1": "Web Dev Talks es una comunidad abierta cuyo objetivo es fomentar el aprendizaje, el networking y el crecimiento profesional dentro del área de tecnología, en un ambiente seguro, respetuoso e inclusivo para todas las personas.",

src/CodeOfConduct.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ function CodeOfConduct() {
134134
<span className="inline-flex items-center gap-2 rounded-full border border-yellow-300/40 bg-yellow-300/10 px-3 py-1.5 text-[0.82rem] font-bold uppercase tracking-[0.08em] text-sky-600">{t('codeOfConduct.heroEyebrow')}</span>
135135
<h1 className="mt-4 text-4xl font-bold leading-none tracking-tight text-brand md:text-5xl lg:text-6xl">{t('codeOfConduct.title')}</h1>
136136
</div>
137-
<div className="space-y-4 text-slate-600">
138-
<p>{t('codeOfConduct.heroDescription')}</p>
137+
<div className="space-y-4 text-slate-600 self-end">
139138
<p>{t('codeOfConduct.purpose.description1')}</p>
140139
</div>
141140
</div>
@@ -183,12 +182,12 @@ function CodeOfConduct() {
183182
section.tone === 'danger' ? 'border-red-200 bg-red-50/75' : ''
184183
}`}
185184
>
186-
<div className="grid gap-8 lg:grid-cols-3">
187-
<div className="flex items-center gap-2">
185+
<div className="flex flex-col gap-8">
186+
<div className="flex flex-row items-center gap-2">
188187
<Tooltip content={t('codeOfConduct.copyLink')}>
189188
<Button
190189
variant={section.tone === 'danger' ? 'outline' : 'secondary'}
191-
className="block h-fit w-fit rounded-full p-2"
190+
className="block h-fit w-fit rounded-full p-2 self-start"
192191
onClick={async () => {
193192
await copyAnchorLink(section.id)
194193
toast.success(t('codeOfConduct.linkCopied'))
@@ -198,7 +197,7 @@ function CodeOfConduct() {
198197
<span className="sr-only">{t('codeOfConduct.copyLink')}</span>
199198
</Button>
200199
</Tooltip>
201-
<h2 className={`text-2xl font-bold tracking-tight md:text-3xl ${section.tone === 'danger' ? 'text-red-950' : 'text-brand'}`}>
200+
<h2 className={`text-2xl font-bold tracking-tight md:text-3xl self-start ${section.tone === 'danger' ? 'text-red-950' : 'text-brand'}`}>
202201
{section.title}
203202
</h2>
204203
</div>

0 commit comments

Comments
 (0)