Skip to content

Commit d84a328

Browse files
committed
style: clean up code formatting and improve readability across components
1 parent 258b777 commit d84a328

File tree

11 files changed

+357
-174
lines changed

11 files changed

+357
-174
lines changed

eslint.config.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
import globals from 'globals'
2-
import pluginJs from '@eslint/js'
3-
import tseslint from 'typescript-eslint'
4-
import pluginVue from 'eslint-plugin-vue'
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import pluginVue from "eslint-plugin-vue";
5+
56

67
/** @type {import('eslint').Linter.Config[]} */
78
export default [
8-
{ files: ['**/*.{js,mjs,cjs,ts,vue}'] },
9-
{ languageOptions: { globals: globals.browser } },
9+
{files: ["**/*.{js,mjs,cjs,ts,vue}"]},
10+
{languageOptions: { globals: globals.browser }},
1011
pluginJs.configs.recommended,
1112
...tseslint.configs.recommended,
12-
...pluginVue.configs['flat/essential'],
13-
{ files: ['**/*.vue'], languageOptions: { parserOptions: { parser: tseslint.parser } } },
14-
]
13+
...pluginVue.configs["flat/essential"],
14+
{files: ["**/*.vue"], languageOptions: {parserOptions: {parser: tseslint.parser}}},
15+
];

package-lock.json

Lines changed: 189 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@commitlint/config-conventional": "^19.6.0",
2626
"@eslint/js": "^9.19.0",
2727
"eslint": "^9.19.0",
28+
"eslint-plugin-vue": "^9.32.0",
2829
"globals": "^15.14.0",
2930
"husky": "^9.1.7",
3031
"lint-staged": "^15.4.3",

src/components/About.astro

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,47 @@
11
---
22
const features = [
33
{
4-
title: "Eventos y Meetups",
5-
description: "Organizamos eventos regulares donde compartimos conocimiento y experiencias sobre Vue.js."
4+
title: 'Eventos y Meetups',
5+
description:
6+
'Organizamos eventos regulares donde compartimos conocimiento y experiencias sobre Vue.js.',
67
},
78
{
8-
title: "Recursos y Aprendizaje",
9-
description: "Accede a recursos educativos, tutoriales y proyectos prácticos para mejorar tus habilidades."
9+
title: 'Recursos y Aprendizaje',
10+
description:
11+
'Accede a recursos educativos, tutoriales y proyectos prácticos para mejorar tus habilidades.',
1012
},
1113
{
12-
title: "Networking",
13-
description: "Conecta con otros desarrolladores, encuentra mentores y oportunidades laborales."
14-
}
15-
];
14+
title: 'Networking',
15+
description: 'Conecta con otros desarrolladores, encuentra mentores y oportunidades laborales.',
16+
},
17+
]
1618
---
17-
<div class="py-16 bg-gray-50 overflow-hidden">
18-
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
19+
20+
<div class="overflow-hidden bg-gray-50 py-16">
21+
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
1922
<div class="lg:text-center">
20-
<h2 class="text-base text-vue-green font-semibold tracking-wide uppercase">Sobre Nosotros</h2>
21-
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
23+
<h2 class="text-base font-semibold uppercase tracking-wide text-vue-green">Sobre Nosotros</h2>
24+
<p class="mt-2 text-3xl font-extrabold leading-8 tracking-tight text-gray-900 sm:text-4xl">
2225
Una comunidad apasionada por Vue.js
2326
</p>
2427
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
25-
Somos un espacio para aprender, compartir y colaborar en el ecosistema de Vue.js, JavaScript y TypeScript.
26-
Nuestra misión es impulsar el crecimiento profesional de los desarrolladores en Colombia.
28+
Somos un espacio para aprender, compartir y colaborar en el ecosistema de Vue.js, JavaScript
29+
y TypeScript. Nuestra misión es impulsar el crecimiento profesional de los desarrolladores
30+
en Colombia.
2731
</p>
2832
</div>
2933

3034
<div class="mt-16">
3135
<div class="grid grid-cols-1 gap-8 md:grid-cols-3">
32-
{features.map(feature => (
33-
<div class="text-center">
34-
<h3 class="text-lg font-medium text-gray-900">{feature.title}</h3>
35-
<p class="mt-2 text-base text-gray-500">
36-
{feature.description}
37-
</p>
38-
</div>
39-
))}
36+
{
37+
features.map((feature) => (
38+
<div class="text-center">
39+
<h3 class="text-lg font-medium text-gray-900">{feature.title}</h3>
40+
<p class="mt-2 text-base text-gray-500">{feature.description}</p>
41+
</div>
42+
))
43+
}
4044
</div>
4145
</div>
4246
</div>
43-
</div>
47+
</div>

src/components/CallToAction.astro

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
---
44

55
<div class="bg-vue-green">
6-
<div
7-
class="mx-auto max-w-2xl px-4 py-16 text-center sm:px-6 sm:py-20 lg:px-8"
8-
>
6+
<div class="mx-auto max-w-2xl px-4 py-16 text-center sm:px-6 sm:py-20 lg:px-8">
97
<h2 class="text-3xl font-extrabold text-white sm:text-4xl">
108
<span class="block">¡Únete a nuestra comunidad!</span>
119
</h2>
1210
<p class="mt-4 text-lg leading-6 text-white/90">
13-
Forma parte de la comunidad Vue.js más activa de Colombia y mejora tus
14-
habilidades como desarrollador.
11+
Forma parte de la comunidad Vue.js más activa de Colombia y mejora tus habilidades como
12+
desarrollador.
1513
</p>
1614
<a
1715
href="https://bit.ly/3E4PWlY"

0 commit comments

Comments
 (0)