Skip to content

Commit 2472d97

Browse files
committed
Merge branch 'main' into 163-github-login
2 parents fa83d9f + 3f3e460 commit 2472d97

28 files changed

+401
-408
lines changed

CHANGELOG.md

Lines changed: 90 additions & 90 deletions
Large diffs are not rendered by default.

cliff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ body = """
4343
trim = true
4444
# postprocessors
4545
postprocessors = [
46-
{ pattern = '<REPO>', replace = "https://github.com/Front-End-Coders-Mauritius/frontend.mu" }, # replace repository URL
46+
{ pattern = '<REPO>', replace = "https://github.com/frontendmu/frontend.mu" }, # replace repository URL
4747
]
4848

4949
[git]

packages/frontendmu-astro/automation/update-contributors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from "fs";
22
import { execSync } from "child_process";
33

4-
const owner = "Front-End-Coders-Mauritius";
4+
const owner = "frontendmu";
55
const repo = "frontendmu-astro";
66
const branch = "main"; // Replace with the default branch of your repository
77

packages/frontendmu-astro/scripts/directus-dump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function loadSpeakersUncached() {
3535
const loadSpeakers = Memoize(loadSpeakersUncached);
3636

3737
// Photo albums
38-
const photoAlbumSource = "https://raw.githubusercontent.com/Front-End-Coders-Mauritius/google-photos-sync/main/";
38+
const photoAlbumSource = "https://raw.githubusercontent.com/frontendmu/google-photos-sync/main/";
3939
async function loadPhotosUncached() {
4040
let albumsPhotos = await fetch(`${photoAlbumSource}index.json`);
4141
albumsPhotos = await albumsPhotos.json();

packages/frontendmu-astro/src/components/HomeSocialPresence.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import IconLinkedin from "./icons/icon-linkedin.astro";
2525
</SocialCard>
2626

2727
<SocialCard
28-
href="https://github.com/Front-End-Coders-Mauritius"
28+
href="https://github.com/frontendmu"
2929
class="bg-[#333] text-sm md:text-normal"
3030
>
3131
<p slot="tagline">GitHub</p>

packages/frontendmu-astro/src/components/MainMenu.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const links = {
2626
},
2727
github: {
2828
title: "Github",
29-
href: "https://github.com/Front-End-Coders-Mauritius",
29+
href: "https://github.com/frontendmu",
3030
class: "hidden md:block",
3131
},
3232
};

packages/frontendmu-astro/src/components/Meetup.vue

Lines changed: 42 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function shareOnLinkedIn() {
8383
8484
// Google Photos Album Section
8585
const source =
86-
"https://raw.githubusercontent.com/Front-End-Coders-Mauritius/google-photos-sync/main/";
86+
"https://raw.githubusercontent.com/frontendmu/google-photos-sync/main/";
8787
// let currentAlbum = ref([])
8888
// const { data: albumsPhotos, pending, error, refresh } = await useFetch(`${source}index.json`)
8989
const albumsPhotos = ref("");
@@ -123,172 +123,102 @@ const viewMore = () => {
123123
<div class="pt-8 pb-10 md:pt-16 md:pb-24">
124124
<div class="lg:mx-auto overflow-hidden lg:max-w-[1400px] lg:px-4">
125125
<div class="relative">
126-
<div
127-
aria-hidden="true"
128-
class="hidden sm:block lg:inset-y-0 lg:right-0 lg:w-screen"
129-
>
130-
<div
131-
class="inset-y-0 right-1/2 w-full rounded-r-3xl bg-gray-50 lg:right-72"
132-
/>
126+
<div aria-hidden="true" class="hidden sm:block lg:inset-y-0 lg:right-0 lg:w-screen">
127+
<div class="inset-y-0 right-1/2 w-full rounded-r-3xl bg-gray-50 lg:right-72" />
133128
<IconDots class="w-[600px] opacity-5 saturate-0" />
134129
</div>
135130
</div>
136131

137-
<div
138-
class="relative mx-auto px-8 py-3 sm:max-w-4xl sm:px-6 md:px-0 md:mx-0 md:py-0"
139-
>
132+
<div class="relative mx-auto px-8 py-3 sm:max-w-4xl sm:px-6 md:px-0 md:mx-0 md:py-0">
140133
<!-- Content area -->
141134
<div>
142135
<div class="flex w-full items-center justify-end">
143-
<p
144-
:class="[
145-
isUpcoming
146-
? 'tagStyle bg-yellow-100 text-yellow-800'
147-
: 'tagStyle bg-green-100 text-green-800',
148-
]"
149-
>
136+
<p :class="[
137+
isUpcoming
138+
? 'tagStyle bg-yellow-100 text-yellow-800'
139+
: 'tagStyle bg-green-100 text-green-800',
140+
]">
150141
{{ isUpcoming ? "past" : "upcoming" }}
151142
</p>
152143
</div>
153-
<h1
154-
class="text-3xl font-extrabold font-mono tracking-tight text-gray-900 md:text-4xl lg:text-5xl"
155-
>
144+
<h1 class="text-3xl font-extrabold font-mono tracking-tight text-gray-900 md:text-4xl lg:text-5xl">
156145
{{ props.getCurrentEvent?.title }}
157146
</h1>
158-
<div
159-
v-if="props.getCurrentEvent.description"
160-
class="mt-6 space-y-6 text-gray-500"
161-
>
162-
<div
163-
class="text-md prose md:text-lg"
164-
v-html="props.getCurrentEvent.description"
165-
/>
147+
<div v-if="props.getCurrentEvent.description" class="mt-6 space-y-6 text-gray-500">
148+
<div class="text-md prose md:text-lg" v-html="props.getCurrentEvent.description" />
166149
</div>
167150
<div v-else class="text-md prose md:text-lg">
168151
Please add a description.
169152
</div>
170153
</div>
171154
<!-- Stats section -->
172155
<div class="mt-10">
173-
<dl
174-
class="grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-4 md:gap-y-8"
175-
>
176-
<div
177-
v-if="props.getCurrentEvent.Date"
178-
class="border-t-2 border-gray-100 pt-6"
179-
>
156+
<dl class="grid grid-cols-1 md:grid-cols-2 gap-x-4 gap-y-4 md:gap-y-8">
157+
<div v-if="props.getCurrentEvent.Date" class="border-t-2 border-gray-100 pt-6">
180158
<dt class="text-base font-medium text-gray-500">Date</dt>
181-
<dd
182-
class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl"
183-
>
159+
<dd class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
184160
{{ new Date(props.getCurrentEvent.Date).toDateString() }}
185161
</dd>
186162
</div>
187-
<div
188-
v-if="props.getCurrentEvent.Venue"
189-
class="border-t-2 border-gray-100 pt-4 md:pt-6"
190-
>
163+
<div v-if="props.getCurrentEvent.Venue" class="border-t-2 border-gray-100 pt-4 md:pt-6">
191164
<dt class="text-base font-medium text-gray-500">Venue</dt>
192-
<dd
193-
class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl"
194-
>
165+
<dd class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
195166
{{ props.getCurrentEvent.Venue }}
196167
</dd>
197168
</div>
198-
<div
199-
v-if="props.getCurrentEvent.Time"
200-
class="border-t-2 border-gray-100 pt-4 md:pt-6"
201-
>
169+
<div v-if="props.getCurrentEvent.Time" class="border-t-2 border-gray-100 pt-4 md:pt-6">
202170
<dt class="text-base font-medium text-gray-500">Time</dt>
203-
<dd
204-
class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl"
205-
>
171+
<dd class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
206172
{{ props.getCurrentEvent.Time }}
207173
</dd>
208174
</div>
209-
<div
210-
v-if="props.getCurrentEvent.Location"
211-
class="border-t-2 border-gray-100 pt-4 md:pt-6"
212-
>
175+
<div v-if="props.getCurrentEvent.Location" class="border-t-2 border-gray-100 pt-4 md:pt-6">
213176
<dt class="text-base font-medium text-gray-500">
214177
Location
215178
</dt>
216-
<dd
217-
class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl"
218-
>
179+
<dd class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
219180
{{ props.getCurrentEvent.Location }}
220181
</dd>
221182
</div>
222-
<div
223-
v-if="props.getCurrentEvent.Attendees"
224-
class="border-t-2 border-gray-100 pt-6"
225-
>
183+
<div v-if="props.getCurrentEvent.Attendees" class="border-t-2 border-gray-100 pt-6">
226184
<dt class="text-base font-medium text-gray-500">
227185
Seats Limit
228186
</dt>
229-
<dd
230-
class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl"
231-
>
187+
<dd class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
232188
{{ props.getCurrentEvent.Attendees }}
233189
</dd>
234190
</div>
235191

236192
<div class="border-y-2 border-gray-100 pt-4 md:pt-6">
237193
<dt class="text-base font-medium text-gray-500">Share</dt>
238194
<div class="flex gap-8 py-4">
239-
<button
240-
class="hover:text-[#4267B2]"
241-
@click="shareOnFacebook"
242-
>
195+
<button class="hover:text-[#4267B2]" @click="shareOnFacebook">
243196
<icon-facebook class="w-10 md:w-12" />
244197
</button>
245-
<button
246-
class="hover:text-[#00acee]"
247-
@click="shareOnTwitter"
248-
>
198+
<button class="hover:text-[#00acee]" @click="shareOnTwitter">
249199
<icon-twitter class="w-10 md:w-12" />
250200
</button>
251-
<button
252-
class="hover:text-[#007db1]"
253-
@click="shareOnLinkedIn"
254-
>
201+
<button class="hover:text-[#007db1]" @click="shareOnLinkedIn">
255202
<icon-linkedin class="w-10 md:w-12" />
256203
</button>
257204
</div>
258-
<dd
259-
class="flex justify-between rounded-md bg-gray-100 mt-2 px-2 py-1 lg:w-[450px]"
260-
>
261-
<input
262-
id="myInput"
205+
<dd class="flex justify-between rounded-md bg-gray-100 mt-2 px-2 py-1 lg:w-[450px]">
206+
<input id="myInput"
263207
class="text-md break-words bg-gray-100pr-2 tracking-tight bg-gray-100 text-gray-600 line-clamp-3 w-[500px]"
264-
type="text"
265-
:value="`https://frontend.mu/meetup/${props.routeId}/`"
266-
/>
208+
type="text" :value="`https://frontend.mu/meetup/${props.routeId}/`" />
267209
<div class="cursor-pointer" @click="copy">
268-
<svg
269-
xmlns="http://www.w3.org/2000/svg"
270-
class="h-5 w-5"
271-
viewBox="0 0 20 20"
272-
fill="currentColor"
273-
>
210+
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
211+
<path d="M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z" />
274212
<path
275-
d="M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"
276-
/>
277-
<path
278-
d="M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z"
279-
/>
213+
d="M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z" />
280214
</svg>
281215
</div>
282216
</dd>
283217
</div>
284218

285-
<div
286-
v-if="!isUpcoming"
287-
class="md:border-t-2 border-gray-100 pt-4 md:pt-8 flex flex-col justify-center items-center md:items-start gap-4"
288-
>
289-
<dd
290-
class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl"
291-
>
219+
<div v-if="!isUpcoming"
220+
class="md:border-t-2 border-gray-100 pt-4 md:pt-8 flex flex-col justify-center items-center md:items-start gap-4">
221+
<dd class="text-2xl font-extrabold tracking-tight text-gray-900 md:text-3xl">
292222
<!-- <a
293223
294224
class="flex gap-4 w-96 md:w-48 lg:w-56 items-center justify-center md:justify-left rounded-md border border-transparent bg-yellow-500 px-8 py-3 text-base tracking-wide font-extrabold text-white drop-shadow-2xl hover:bg-yellow-600 md:py-2 md:px-4 md:text-lg italic"
@@ -297,44 +227,28 @@ const viewMore = () => {
297227
298228
<icon-arrow-right class="md:animate-bounce" />
299229
</a> -->
300-
<fec-anchor
301-
v-if="props.getCurrentEvent.rsvplink"
302-
:href="props.getCurrentEvent.rsvplink"
303-
target="_blank"
304-
>Book my seat</fec-anchor
305-
>
230+
<fec-anchor v-if="props.getCurrentEvent.rsvplink" :href="props.getCurrentEvent.rsvplink"
231+
target="_blank">Book my seat</fec-anchor>
306232
</dd>
307233
</div>
308234
</dl>
309235
</div>
310236
</div>
311237
</div>
312238
<div class="lg:mx-auto lg:max-w-[1400px] px-4">
313-
<div
314-
v-if="props.getCurrentEvent.album"
315-
class="flex flex-col items-center gap-8 py-20"
316-
>
239+
<div v-if="props.getCurrentEvent.album" class="flex flex-col items-center gap-8 py-20">
317240
<!-- <pre>
318241
{{ currentAlbum }}
319242
</pre> -->
320243

321244
<div class="w-full grid grid-cols-4 gap-4">
322-
<div
323-
v-for="photo in currentAlbum"
324-
:key="photo"
325-
class="rounded-md overflow-hidden aspect-video"
326-
>
327-
<img
328-
:src="`${source}/${photo}`"
329-
class="object-cover w-full h-full object-center block"
330-
/>
245+
<div v-for="photo in currentAlbum" :key="photo" class="rounded-md overflow-hidden aspect-video">
246+
<img :src="`${source}/${photo}`" class="object-cover w-full h-full object-center block" />
331247
</div>
332248
</div>
333-
<div
334-
v-if="limit < maxAlbumLength"
249+
<div v-if="limit < maxAlbumLength"
335250
class="cursor-pointer hover:opacity-90 transition-all text-md block w-48 rounded-md bg-verse-600 px-4 py-4 text-center font-medium text-white md:w-64 md:px-8 md:text-xl"
336-
@click="viewMore()"
337-
>
251+
@click="viewMore()">
338252
View more
339253
</div>
340254
</div>

packages/frontendmu-astro/src/components/MegaMenu.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const links: TMenu = {
4949
},
5050
{
5151
title: "GitHub",
52-
href: "https://github.com/Front-End-Coders-Mauritius?ref=frontend.mu",
52+
href: "https://github.com/frontendmu?ref=frontend.mu",
5353
class: "",
5454
},
5555
{
@@ -75,7 +75,7 @@ const links: TMenu = {
7575
},
7676
github: {
7777
title: "Github",
78-
href: "https://github.com/Front-End-Coders-Mauritius",
78+
href: "https://github.com/frontendmu",
7979
class: "hidden md:block",
8080
},
8181
};

packages/frontendmu-astro/src/components/TeamComponent.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const contributors: Contributor[] = Contributors;
153153
return (
154154
<li>
155155
<a
156-
href={`https://github.com/Front-End-Coders-Mauritius/frontendmu-astro/commits?author=${person.username}`}
156+
href={`https://github.com/frontendmu/frontend.mu/commits?author=${person.username}`}
157157
target="_blank"
158158
class="space-y-4"
159159
>

packages/frontendmu-astro/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ export const SITE_DESCRIPTION =
66
"Community of Front-End developers who share their passions for the web. Events, workshops and conferences occurs regularly.";
77

88
export const photoAlbumSource =
9-
"https://raw.githubusercontent.com/Front-End-Coders-Mauritius/google-photos-sync/main/";
9+
"https://raw.githubusercontent.com/frontendmu/google-photos-sync/main/";

packages/frontendmu-data/data/meetups-raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/frontendmu-data/data/photos-raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/frontendmu-data/scripts/directus-dump.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function loadSpeakersUncached() {
3535
const loadSpeakers = Memoize(loadSpeakersUncached);
3636

3737
// Photo albums
38-
const photoAlbumSource = "https://raw.githubusercontent.com/Front-End-Coders-Mauritius/google-photos-sync/main/";
38+
const photoAlbumSource = "https://raw.githubusercontent.com/frontendmu/google-photos-sync/main/";
3939
async function loadPhotosUncached() {
4040
let albumsPhotos = await fetch(`${photoAlbumSource}index.json`);
4141
albumsPhotos = await albumsPhotos.json();

packages/frontendmu-data/scripts/update-contributors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from "fs";
22
import { execSync } from "child_process";
33

4-
const owner = "Front-End-Coders-Mauritius";
4+
const owner = "frontendmu";
55
const repo = "frontend.mu";
66
const branch = "main"; // Replace with the default branch of your repository
77

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default defineAppConfig({
22
photoAlbumSource:
3-
'https://raw.githubusercontent.com/Front-End-Coders-Mauritius/google-photos-sync/main/',
3+
'https://raw.githubusercontent.com/frontendmu/google-photos-sync/main/',
44
description: 'A community around front-end development based in Mauritius. We also organise monthly meetups free for anyone interested to attend.',
55
})

0 commit comments

Comments
 (0)