Skip to content

Commit e8c7319

Browse files
committed
feat: introduce new header and tags. fix lint
1 parent 5192b86 commit e8c7319

26 files changed

Lines changed: 136 additions & 117 deletions

biome.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
66
"useIgnoreFile": true
77
},
88
"files": {
99
"ignoreUnknown": true,
10-
"includes": [
11-
"**",
12-
"!**/*.css"
13-
]
10+
"includes": ["**", "!**/*.css"]
1411
},
1512
"formatter": {
1613
"enabled": true,
@@ -37,9 +34,7 @@
3734
},
3835
"overrides": [
3936
{
40-
"includes": [
41-
"**/*.astro"
42-
],
37+
"includes": ["**/*.astro"],
4338
"linter": {
4439
"rules": {
4540
"style": {

public/blog/avatars/sergio.jpeg

27 KB
Loading

src/components/Footer.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
import antropiaLogo from '../assets/logo.svg';
3-
import antropiaLogoDark from '../assets/logo-neg.svg';
2+
import antropiaLogo from "../assets/logo.svg";
3+
import antropiaLogoDark from "../assets/logo-neg.svg";
44
55
interface Props {
66
isDark?: boolean;

src/components/TrustedBy.astro

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
import Image from 'astro/components/Image.astro';
3-
import workingTogetherIcon from '../assets/working-together.svg';
4-
import ContactButton from './ContactButton.astro';
5-
import Step from './Step.astro';
6-
import Steps from './Steps.astro';
7-
import harvest from '../assets/companies/harvest.png';
8-
import sketch from '../assets/companies/sketch.png';
9-
import ibm from '../assets/companies/ibm.png';
10-
import cabify from '../assets/companies/cabify.png';
11-
import karumi from '../assets/companies/karumi.png';
12-
import jobandtalent from '../assets/companies/jobandtalent.png';
13-
import together from '../assets/companies/together.svg';
14-
import muppy from '../assets/companies/muppy.png';
15-
import omnia from '../assets/companies/omnia.png';
2+
import Image from "astro/components/Image.astro";
3+
import cabify from "../assets/companies/cabify.png";
4+
import harvest from "../assets/companies/harvest.png";
5+
import ibm from "../assets/companies/ibm.png";
6+
import jobandtalent from "../assets/companies/jobandtalent.png";
7+
import karumi from "../assets/companies/karumi.png";
8+
import muppy from "../assets/companies/muppy.png";
9+
import omnia from "../assets/companies/omnia.png";
10+
import sketch from "../assets/companies/sketch.png";
11+
import together from "../assets/companies/together.svg";
12+
import workingTogetherIcon from "../assets/working-together.svg";
13+
import ContactButton from "./ContactButton.astro";
14+
import Step from "./Step.astro";
15+
import Steps from "./Steps.astro";
1616
---
1717

1818
<section class="section mt-20 xl:mt-32 w-full">

src/components/WorkingTogether.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
import workingTogetherIcon from '../assets/working-together.svg';
3-
import ContactButton from './ContactButton.astro';
4-
import Step from './Step.astro';
5-
import Steps from './Steps.astro';
2+
import workingTogetherIcon from "../assets/working-together.svg";
3+
import ContactButton from "./ContactButton.astro";
4+
import Step from "./Step.astro";
5+
import Steps from "./Steps.astro";
66
---
77

88
<section id="working-together" class="section mt-20 xl:mt-32">

src/components/YourVision.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
import yourVisionIcon from '../assets/your-vision.svg';
3-
import ContactButton from './ContactButton.astro';
4-
import Step from './Step.astro';
5-
import Steps from './Steps.astro';
2+
import yourVisionIcon from "../assets/your-vision.svg";
3+
import ContactButton from "./ContactButton.astro";
4+
import Step from "./Step.astro";
5+
import Steps from "./Steps.astro";
66
---
77

88
<section id="your-vision" class="section">

src/components/blog/Callout.astro

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
---
2-
import BulbIcon from '../../assets/icons/lightbulb.svg';
3-
import NoteIcon from '../../assets/icons/notebook-text.svg';
4-
import WarningIcon from '../../assets/icons/triangle-alert.svg';
2+
import BulbIcon from "../../assets/icons/lightbulb.svg";
3+
import NoteIcon from "../../assets/icons/notebook-text.svg";
4+
import WarningIcon from "../../assets/icons/triangle-alert.svg";
55
66
interface Props {
77
title: string;
8-
icon: 'note' | 'idea' | 'warning';
9-
variant?: 'primary' | 'secondary';
8+
icon: "note" | "idea" | "warning";
9+
variant?: "primary" | "secondary";
1010
}
1111
1212
const { title, icon, variant } = Astro.props;
1313
14-
const getIconEmoji = (icon: Props['icon']) => {
14+
const getIconEmoji = (icon: Props["icon"]) => {
1515
switch (icon) {
16-
case 'note':
16+
case "note":
1717
return NoteIcon;
18-
case 'idea':
18+
case "idea":
1919
return BulbIcon;
20-
case 'warning':
20+
case "warning":
2121
return WarningIcon;
2222
}
2323
};
2424
25-
const getColors = (variant: Props['variant']) => {
25+
const getColors = (variant: Props["variant"]) => {
2626
switch (variant) {
27-
case 'primary':
27+
case "primary":
2828
case undefined:
2929
return {
30-
bg: 'bg-alucards-night',
31-
border: 'border-blinking-blue',
32-
header: 'text-ice-cold-stare',
30+
bg: "bg-alucards-night",
31+
border: "border-blinking-blue",
32+
header: "text-ice-cold-stare",
3333
};
34-
case 'secondary':
34+
case "secondary":
3535
return {
36-
bg: 'bg-sasquatch-socks/10',
37-
border: 'border-sasquatch-socks',
38-
header: 'text-candlelight-peach',
36+
bg: "bg-sasquatch-socks/10",
37+
border: "border-sasquatch-socks",
38+
header: "text-candlelight-peach",
3939
};
4040
}
4141
};

src/components/blog/SideNote.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ const parseMarkdown = (text: string) => {
1010
return (
1111
text
1212
// Bold: **text** or __text__
13-
.replace(/\*\*(.+?)\*\*/g, '<b>$1</b>')
14-
.replace(/__(.+?)__/g, '<b>$1</b>')
13+
.replace(/\*\*(.+?)\*\*/g, "<b>$1</b>")
14+
.replace(/__(.+?)__/g, "<b>$1</b>")
1515
// Italic: *text* or _text_
16-
.replace(/\*(.+?)\*/g, '<i>$1</i>')
17-
.replace(/_(.+?)_/g, '<i>$1</i>')
16+
.replace(/\*(.+?)\*/g, "<i>$1</i>")
17+
.replace(/_(.+?)_/g, "<i>$1</i>")
1818
);
1919
};
2020

src/components/opensource/RotatingText.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ interface Props {
1010
const {
1111
class: className,
1212
template,
13-
wordsClass = '',
13+
wordsClass = "",
1414
words,
15-
placeholderString = '{}',
15+
placeholderString = "{}",
1616
} = Astro.props;
1717
---
1818

src/content.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { glob } from "astro/loaders";
77
const postSchema = z.object({
88
title: z.string(),
99
description: z.string(),
10+
author: z.string().default("Sergio Gutiérrez"),
11+
authorAvatar: z.string().default("/blog/avatars/sergio.jpeg"),
1012
keywords: z.array(z.string()).optional(),
1113
pubDate: z.coerce.date(),
1214
updatedDate: z.coerce.date().optional(),

0 commit comments

Comments
 (0)