Skip to content

Commit 447f5cb

Browse files
style: auto-format entire codebase with biome
Establish consistent formatting baseline using biome check --write. No logic changes — only whitespace, quotes, trailing commas, import ordering, and semicolons.
1 parent 1e3872d commit 447f5cb

44 files changed

Lines changed: 449 additions & 351 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

astro.config.mjs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
// @ts-check
2-
import { defineConfig } from 'astro/config';
2+
33
import { execSync } from 'node:child_process';
44
import { readFileSync } from 'node:fs';
5-
import tailwindcss from '@tailwindcss/vite';
65
import cloudflare from '@astrojs/cloudflare';
6+
import tailwindcss from '@tailwindcss/vite';
7+
import { defineConfig } from 'astro/config';
78

89
const pkg = JSON.parse(readFileSync('./package.json', 'utf-8'));
910
const gitHash = execSync('git rev-parse --short HEAD').toString().trim();
1011

1112
// https://astro.build/config
1213
export default defineConfig({
13-
site: "https://solanacolombia.com",
14+
site: 'https://solanacolombia.com',
1415
output: 'server',
1516
adapter: cloudflare(),
1617
image: {
@@ -23,4 +24,4 @@ export default defineConfig({
2324
__GIT_HASH__: JSON.stringify(gitHash),
2425
},
2526
},
26-
});
27+
});

public/site.webmanifest

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
1+
{
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
6+
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
7+
],
8+
"theme_color": "#ffffff",
9+
"background_color": "#ffffff",
10+
"display": "standalone"
11+
}

src/components/BlogPosts.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2+
import { Picture } from "astro:assets";
23
// Blog posts component with dynamic content from the blog collection
34
import { getCollection } from "astro:content";
4-
import { Picture } from "astro:assets";
55
import Newsletter from "../components/Newsletter.astro";
66
77
// Get the latest blog posts

src/components/SectionHead.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
import Badge from "@components/Badge.astro";
3+
34
const { align = "center" } = Astro.props;
45
---
56

src/components/Team.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
import { getCollection } from "astro:content";
32
import { Picture } from "astro:assets";
3+
import { getCollection } from "astro:content";
44
55
const teamMembers = await getCollection("team");
66
const sortedTeam = teamMembers.sort((a, b) => a.data.order - b.data.order);

src/content.config.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { defineCollection, z } from "astro:content";
2-
import { glob } from "astro/loaders";
1+
import { defineCollection, z } from 'astro:content';
2+
import { glob } from 'astro/loaders';
33

44
const blog = defineCollection({
5-
loader: glob({ pattern: "**/*.md", base: "./src/content/blog" }),
5+
loader: glob({ pattern: '**/*.md', base: './src/content/blog' }),
66
schema: z.object({
77
draft: z.boolean(),
88
title: z.string(),
@@ -12,14 +12,14 @@ const blog = defineCollection({
1212
alt: z.string(),
1313
}),
1414
publishDate: z.coerce.date(),
15-
author: z.string().default("YapBay"),
15+
author: z.string().default('YapBay'),
1616
category: z.string(),
1717
tags: z.array(z.string()),
1818
}),
1919
});
2020

2121
const team = defineCollection({
22-
loader: glob({ pattern: "**/*.json", base: "./src/content/team" }),
22+
loader: glob({ pattern: '**/*.json', base: './src/content/team' }),
2323
schema: z.object({
2424
name: z.string(),
2525
title: z.string(),
@@ -34,7 +34,7 @@ const team = defineCollection({
3434
});
3535

3636
const gallery = defineCollection({
37-
loader: glob({ pattern: "**/*.json", base: "./src/content/gallery" }),
37+
loader: glob({ pattern: '**/*.json', base: './src/content/gallery' }),
3838
schema: z.object({
3939
title: z.string(),
4040
description: z.string(),
@@ -46,4 +46,4 @@ const gallery = defineCollection({
4646
}),
4747
});
4848

49-
export const collections = { blog, team, gallery };
49+
export const collections = { blog, team, gallery };

src/content/gallery/1.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"title": "El Primer Meetup",
3-
"description": "Nuestra primera reunión en el 2024 en Viva Envigado.",
4-
"image": {
5-
"src": "/img/1.jpg",
6-
"alt": "El Primer Meetup"
7-
},
8-
"order": 1
9-
}
2+
"title": "El Primer Meetup",
3+
"description": "Nuestra primera reunión en el 2024 en Viva Envigado.",
4+
"image": {
5+
"src": "/img/1.jpg",
6+
"alt": "El Primer Meetup"
7+
},
8+
"order": 1
9+
}

src/content/gallery/2.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"title": "Con el Apoyo de Superteam",
3-
"description": "Un meetup pequeño en Noi Coworking en Medellín.",
4-
"image": {
5-
"src": "/img/2.jpg",
6-
"alt": "Con el Apoyo de Superteam"
7-
},
8-
"order": 2
9-
}
2+
"title": "Con el Apoyo de Superteam",
3+
"description": "Un meetup pequeño en Noi Coworking en Medellín.",
4+
"image": {
5+
"src": "/img/2.jpg",
6+
"alt": "Con el Apoyo de Superteam"
7+
},
8+
"order": 2
9+
}

src/content/gallery/3.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"title": "Workshop Técnico",
3-
"description": "De nuevo en Noi Coworking, aprendiendo primeros pasos en dev de Solana.",
4-
"image": {
5-
"src": "/img/3.jpg",
6-
"alt": "Workshop Técnico"
7-
},
8-
"order": 3
9-
}
2+
"title": "Workshop Técnico",
3+
"description": "De nuevo en Noi Coworking, aprendiendo primeros pasos en dev de Solana.",
4+
"image": {
5+
"src": "/img/3.jpg",
6+
"alt": "Workshop Técnico"
7+
},
8+
"order": 3
9+
}

src/content/gallery/4.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"title": "Las Últimas Noticias",
3-
"description": "Con el apoyo de Superteam, contando las últimas noticias de Solana en Medellín.",
4-
"image": {
5-
"src": "/img/4.jpg",
6-
"alt": "Las Últimas Noticias"
7-
},
8-
"order": 4
9-
}
2+
"title": "Las Últimas Noticias",
3+
"description": "Con el apoyo de Superteam, contando las últimas noticias de Solana en Medellín.",
4+
"image": {
5+
"src": "/img/4.jpg",
6+
"alt": "Las Últimas Noticias"
7+
},
8+
"order": 4
9+
}

0 commit comments

Comments
 (0)