Skip to content

Commit

Permalink
Fix pages deploy (#44)
Browse files Browse the repository at this point in the history
* add links to signup buttons

* add customdomain preserving in deploy script. and missing date fields.
  • Loading branch information
JorgeX committed Sep 7, 2023
1 parent 0af8cb6 commit 7ff8008
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"deploy": "touch dist/.nojekyll && gh-pages --dist dist --dotfiles true",
"deploy": "touch dist/.nojekyll && echo 'ouludevmeetup.com' > ./dist/CNAME && gh-pages --dist dist --dotfiles true",
"preview": "astro preview",
"astro": "astro",
"test": "vitest"
Expand Down
4 changes: 2 additions & 2 deletions packages/site/src/components/MeetupCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const {
description,
location,
locationLink,
time,
date,
organizer,
organizerLink,
signupLink,
Expand Down Expand Up @@ -74,7 +74,7 @@ const {
<dd
class="mt-1 font-semibold leading-6 text-gray-700 sm:col-span-2 sm:mt-0"
>
{time}
{date}
</dd>
</div>
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
Expand Down
4 changes: 2 additions & 2 deletions packages/site/src/components/MeetupPageCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const meetupProps = Astro.props;
const {
location,
locationLink,
time,
date,
organizer,
organizerLink,
signupLink,
Expand Down Expand Up @@ -99,7 +99,7 @@ const { Content } = await meetupProps.meetup.render();
<dd
class="mt-1 font-semibold leading-6 text-gray-700 sm:col-span-2 sm:mt-0"
>
{time}
{date}
</dd>
</div>
<div class="px-4 py-6 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6">
Expand Down
4 changes: 2 additions & 2 deletions packages/site/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const meetups: any = await getCollection(collectionName);
const nextMeetup = getNextMeetup(meetups);
const createDescription = (meetup) => {
const createDescription = (meetup: any) => {
if (meetup.body.length > 100) {
return meetup.body.substring(0, 100) + '...';
} else return meetup.body;
Expand All @@ -25,7 +25,7 @@ const meetupDetails = nextMeetup
name: nextMeetup.data.title,
location: nextMeetup.data.location,
locationLink: nextMeetup.data.locationLink,
time: nextMeetup.data.date,
date: nextMeetup.data.date,
organizer: nextMeetup.data.organizer,
organizerLink: nextMeetup.data.organizerLink,
signupLink: nextMeetup.data.signupLink,
Expand Down

0 comments on commit 7ff8008

Please sign in to comment.