Skip to content

Commit 88bb5ac

Browse files
Copilotdaesdev
andauthored
fix: apply PR review suggestions and fix type check/lint issues
Agent-Logs-Url: https://github.com/daesdev/vibe-coding/sessions/f1c8b4a4-a540-47d8-af2f-add57c82adba Co-authored-by: daesdev <31475869+daesdev@users.noreply.github.com>
1 parent 8299d65 commit 88bb5ac

6 files changed

Lines changed: 8 additions & 7 deletions

File tree

components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default function Header() {
33
return (
44
<header class="min-w-min px-4 py-2 rounded-lg max-w-min mx-auto flex gap-4 items-center bg-slate-300/40 left-1/2 -translate-x-1/2 fixed bottom-4 md:sticky md:top-4 z-50 backdrop-blur-md dark:bg-slate-700/40 print:hidden">
55
<a
6-
href="https://github.com/daesdev/vide-coding"
6+
href="https://github.com/daesdev/vibe-coding"
77
target="_blank"
88
rel="noopener noreferrer"
99
>

components/SectionWrapperContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ interface SectionWrapperContentProps {
44
readonly children: preact.ComponentChildren;
55
}
66
export default function SectionWrapperContent(
7-
{ title, attrClass, children }: SectionWrapperContentProps,
7+
{ title, attrClass = "", children }: SectionWrapperContentProps,
88
) {
99
const classes = `flex flex-col gap-y-3 mt-10 font-roboto-mono ${attrClass}`;
1010
return (

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "deno run -A dev.ts build",
99
"preview": "deno run -A main.ts",
1010
"update": "deno run -A -r https://fresh.deno.dev/update .",
11-
"deploy": "wrangler deploy"
11+
"deploy": "deno run -A npm:wrangler deploy"
1212
},
1313
"lint": {
1414
"rules": {

locales/es.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"<strong>Cursor -</strong> IDE más popular para vibe coding con una comprensión completa del código",
2222
"<strong>Windsurf -</strong> Alternativa de rápido crecimiento que indexa todo tu código",
2323
"<strong>Claude 3.5 Sonnet/3 Opus -</strong> Modelos líderes para tareas de codificación diarias",
24-
"<strong>Claude 01/03 -</strong> Modelos de razonamiento paa depuración de problemas complejos",
24+
"<strong>Claude 01/03 -</strong> Modelos de razonamiento para depuración de problemas complejos",
2525
"<strong>ChatGPT -</strong> Utilizado específicamente para el razonamiento en la depuración de problemas"
2626
]
2727
},

routes/[lang]/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Handlers, PageProps } from "$fresh/server.ts";
2+
import { Fragment } from "preact";
23
import Footer from "../../components/Footer.tsx";
34
import Header from "../../components/Header.tsx";
45
import SectionWrapperContent from "../../components/SectionWrapperContent.tsx";
@@ -35,7 +36,7 @@ export default function Home({ state, data }: PageProps<State>) {
3536
<SectionWrapperContent title="La Guía Definitiva del Vibe Coding">
3637
<section class="w-full gap-4 text-sm leading-sm">
3738
{translations.index.sections.map((section) => (
38-
<>
39+
<Fragment key={section.title}>
3940
<h3 class="font-bold text-base mt-5">
4041
{section.title}
4142
</h3>
@@ -51,7 +52,7 @@ export default function Home({ state, data }: PageProps<State>) {
5152
</li>
5253
))}
5354
</ul>
54-
</>
55+
</Fragment>
5556
))}
5657
</section>
5758
</SectionWrapperContent>

static/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
font-style: normal;
88
font-weight: 500;
99
font-display: swap;
10-
src: url("/fonts/roboto-mono-latin-500-normal.woff") format("woff2");
10+
src: url("/fonts/roboto-mono-latin-500-normal.woff") format("woff");
1111
}

0 commit comments

Comments
 (0)