Skip to content

Commit e0b4335

Browse files
committed
chore: prettier formatting
1 parent 8667e64 commit e0b4335

File tree

9 files changed

+93
-90
lines changed

9 files changed

+93
-90
lines changed

.prettierrc.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ const config = {
1414
],
1515
};
1616

17-
export default config;
17+
export default config;

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Barcelona Java User Group
22

3-
43
## Commands
54

65
| Command | Action |

src/components/aboutus.astro

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,33 @@ const sizes = "(min-width: 640px) 42vw, 67vw";
88
---
99

1010
<ContentSection title="About Us" id="aboutus">
11-
<Image slot="eyebrow"
12-
class="size-32"
13-
src={logoImage}
14-
widths={widths}
15-
sizes={sizes}
16-
loading="eager"
17-
alt="Barcelona Java User Group Logo"
18-
/>
19-
<Fragment slot="lead">
20-
<p>We're a group of geeks from the condal city who want to share
21-
experiences and knowledge related to the IT world and this
22-
<span class="text-primary">programming
23-
language</span>
24-
that brings us so many laughs and heartaches 😅</p>
11+
<Image
12+
slot="eyebrow"
13+
class="size-32"
14+
src={logoImage}
15+
widths={widths}
16+
sizes={sizes}
17+
loading="eager"
18+
alt="Barcelona Java User Group Logo"
19+
/>
20+
<Fragment slot="lead">
21+
<p>
22+
We're a group of geeks from the condal city who want to share experiences
23+
and knowledge related to the IT world and this
24+
<span class="text-primary">programming language</span>
25+
that brings us so many laughs and heartaches 😅
26+
</p>
2527

26-
<p>We talk, debate and also organize workshops to practice and put to
27-
the
28-
test new technologies.
29-
In the end, we share experiences related to the IT world, especially
30-
with <span class="text-primary">Java</span>,
31-
but not only with this language.</p>
32-
33-
<p>If you like to discuss, share, ask questions, or just have a good
34-
time,
35-
<span class="text-primary">we're open to your suggestions.</span>
36-
</p>
37-
</Fragment>
28+
<p>
29+
We talk, debate and also organize workshops to practice and put to the
30+
test new technologies. In the end, we share experiences related to the IT
31+
world, especially with <span class="text-primary">Java</span>, but not
32+
only with this language.
33+
</p>
3834

35+
<p>
36+
If you like to discuss, share, ask questions, or just have a good time,
37+
<span class="text-primary">we're open to your suggestions.</span>
38+
</p>
39+
</Fragment>
3940
</ContentSection>

src/components/community.astro

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,59 @@ import {Icon} from "astro-icon/components";
44
import ContentSection from "~/components/content-section.astro";
55
66
const communities: Array<CommunityItem> = [
7-
{
8-
url: "https://bit.ly/slack-bcnjug",
9-
title: "Slack",
10-
description: "Join our Slack channel to talk with us!",
11-
icon: "fa-brands:slack",
12-
},
13-
{
14-
url: "https://www.meetup.com/BarcelonaJUG/",
15-
title: "Meetup",
16-
description: "Join our Meetup group to know about our events",
17-
icon: "fa-brands:meetup",
18-
},
19-
{
20-
url: "https://twitter.com/BarcelonaJUG",
21-
title: "Twitter",
22-
description: "Follow us on Twitter to know about the latest updates",
23-
icon: "fa-brands:twitter",
24-
},
25-
{
26-
url: "https://www.linkedin.com/company/barcelonajug",
27-
title: "Linkedin",
28-
description: "Add us to Linkedin to know about the latest updates",
29-
icon: "fa-brands:linkedin",
30-
},
31-
{
32-
url: "https://www.youtube.com/user/BarcelonaJUG",
33-
title: "Youtube",
34-
description: "See all recordings of talks in our Youtube channel",
35-
icon: "fa-brands:youtube",
36-
},
7+
{
8+
url: "https://bit.ly/slack-bcnjug",
9+
title: "Slack",
10+
description: "Join our Slack channel to talk with us!",
11+
icon: "fa-brands:slack",
12+
},
13+
{
14+
url: "https://www.meetup.com/BarcelonaJUG/",
15+
title: "Meetup",
16+
description: "Join our Meetup group to know about our events",
17+
icon: "fa-brands:meetup",
18+
},
19+
{
20+
url: "https://twitter.com/BarcelonaJUG",
21+
title: "Twitter",
22+
description: "Follow us on Twitter to know about the latest updates",
23+
icon: "fa-brands:twitter",
24+
},
25+
{
26+
url: "https://www.linkedin.com/company/barcelonajug",
27+
title: "Linkedin",
28+
description: "Add us to Linkedin to know about the latest updates",
29+
icon: "fa-brands:linkedin",
30+
},
31+
{
32+
url: "https://www.youtube.com/user/BarcelonaJUG",
33+
title: "Youtube",
34+
description: "See all recordings of talks in our Youtube channel",
35+
icon: "fa-brands:youtube",
36+
},
3737
];
3838
---
3939

4040
<ContentSection title="Community" id="community">
41-
<Fragment slot="lead">
42-
Join our <span class="text-primary">community</span>.
43-
</Fragment>
44-
<ul class="grid max-w-6xl grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
45-
{
46-
communities.map(({title, url, icon, description}) => (
47-
<li class="flex flex-col items-center gap-4 border border-default bg-offset p-6">
48-
<div class="size-16 rounded-full border-2 border-current p-3">
49-
<Icon name={icon} class="size-full"/>
50-
</div>
41+
<Fragment slot="lead">
42+
Join our <span class="text-primary">community</span>.
43+
</Fragment>
44+
<ul class="grid max-w-6xl grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
45+
{
46+
communities.map(({title, url, icon, description}) => (
47+
<li class="flex flex-col items-center gap-4 border border-default bg-offset p-6">
48+
<div class="size-16 rounded-full border-2 border-current p-3">
49+
<Icon name={icon} class="size-full"/>
50+
</div>
5151

52-
<a href={url}
53-
class="text-center font-extrabold text-xl">{title}</a>
54-
<a href={url}
55-
class="text-center text-offset text-sm">{description}</a>
56-
</li>
57-
))
58-
}
59-
</ul>
52+
<a href={url} class="text-center font-extrabold text-xl">
53+
{title}
54+
</a>
55+
<a href={url} class="text-center text-offset text-sm">
56+
{description}
57+
</a>
58+
</li>
59+
))
60+
}
61+
</ul>
6062
</ContentSection>

src/components/contribute.astro

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@ const sizes = "(min-width: 640px) 42vw, 67vw";
88
---
99

1010
<ContentSection title="Contribute" id="contribute">
11-
<Image slot="eyebrow"
12-
class="size-32"
13-
src={logoImage}
14-
widths={widths}
15-
sizes={sizes}
16-
loading="eager"
17-
alt="Barcelona Java User Group Logo"
11+
<Image
12+
slot="eyebrow"
13+
class="size-32"
14+
src={logoImage}
15+
widths={widths}
16+
sizes={sizes}
17+
loading="eager"
18+
alt="Barcelona Java User Group Logo"
1819
/>
1920
<Fragment slot="lead">
2021
We're open to contributions from <span class="text-primary">anyone</span>

src/components/footer.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ const links: Array<FooterLink> = [
2828
url: "https://www.youtube.com/user/BarcelonaJUG",
2929
description: "Youtube",
3030
icon: "fa-brands:youtube",
31-
}
31+
},
3232
];
3333
---
3434

3535
<footer class="relative flex h-64 items-center justify-center">
3636
<div class="absolute inset-0 overflow-hidden opacity-40">
3737
<HeroImage />
3838
</div>
39-
<ul class="relative grid grid-flow-col auto-cols-max">
39+
<ul class="relative grid auto-cols-max grid-flow-col">
4040
{
4141
links.map((link) => (
4242
<li>

src/components/header.astro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ const widths = [450, 800];
1818
id="page-header"
1919
class="absolute bottom-0 z-20 flex w-full items-center justify-between border-b border-transparent px-8 py-4 text-white"
2020
>
21-
<a class="flex items-center gap-3 hover:!text-default"
22-
href="https://barcelonajug.org">
21+
<a
22+
class="flex items-center gap-3 hover:!text-default"
23+
href="https://barcelonajug.org"
24+
>
2325
<h1 class="sr-only">Barcelona JUG</h1>
2426
</a>
2527
<div>

src/pages/index.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import "~/styles/index.css";
1010
1111
const { generator, site } = Astro;
1212
const image = new URL("social.jpg", site);
13-
const description =
14-
"Group of Java's users in Barcelona .";
13+
const description = "Group of Java's users in Barcelona .";
1514
---
1615

1716
<!doctype html>

src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
export interface CommunityItem {
32
url: string;
43
icon: string;

0 commit comments

Comments
 (0)