Skip to content

Commit

Permalink
fix: change inlive room label to inlive event (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
faiq-naufal authored Mar 8, 2024
1 parent bc3667a commit 89c06d2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions app/(pages)/events/[eventID]/edit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const generateMetadata = async ({

if (!user || !user.id) {
return {
title: `Login Required — inLive Room`,
title: `Login Required — inLive Event`,
description: 'You need to be logged in to access this page',
};
}
Expand All @@ -40,13 +40,13 @@ export const generateMetadata = async ({

if (event.createdBy !== user.id) {
return {
title: `You Are Not Authorized — inLive Room`,
title: `You Are Not Authorized — inLive Event`,
description: `You don't have permission to access this page. Please sign in with different account.`,
};
}

return {
title: `Edit ${event.name} — inLive Room`,
title: `Edit ${event.name} — inLive Event`,
};
};

Expand Down
6 changes: 3 additions & 3 deletions app/(pages)/events/[eventID]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ export const generateMetadata = async ({
const descriptionSummary = `${description.slice(0, 150) + '...'}`;

return {
title: `Webinar — ${eventData.name} — inLive Room`,
title: `Webinar — ${eventData.name} — inLive Event`,
description: descriptionSummary,
openGraph: {
title: `Webinar — ${eventData.name} — inLive Room`,
title: `Webinar — ${eventData.name} — inLive Event`,
description: descriptionSummary,
url: `/events/${eventData.slug}`,
images: [imageSrc],
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: `Webinar — ${eventData.name} — inLive Room`,
title: `Webinar — ${eventData.name} — inLive Event`,
description: descriptionSummary,
images: [imageSrc],
},
Expand Down
2 changes: 1 addition & 1 deletion app/(pages)/events/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { EventType } from '@/_shared/types/event';
import { InternalApiFetcher } from '@/_shared/utils/fetcher';
import { whitelistFeature } from '@/_shared/utils/flag';

const title = 'My Events — inLive Event';
const title = 'Events — inLive Event';
const description = `Enjoy features like analytics, hassle-free event registration, and automatic virtual room integration all conveniently accessible within a single application.`;
const ogImage = '/images/webinar/og-image-webinar.png';

Expand Down
4 changes: 2 additions & 2 deletions app/(pages)/past-events/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export const generateMetadata = (): Metadata => {

if (!user || !user.id) {
return {
title: `Login Required — inLive Room`,
title: `Login Required — inLive Event`,
description: 'You need to be logged in to access this page',
};
}

return {
title: `Past Events — inLive Room`,
title: `Past Events — inLive Event`,
};
};

Expand Down
2 changes: 1 addition & 1 deletion app/_features/event/components/event-stat-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function PastEvents({
return (
<div className="bg-zinc-900">
<div className="min-viewport-height mx-auto flex h-full w-full max-w-7xl flex-1 flex-col px-4">
<Header logoText="inLive Room" logoHref="/" />
<Header logoText="inLive Event" logoHref="/" />
<main className="flex-1">
<TabNavigation navLinks={navLinks} />
<div className="mt-5 pb-5 md:pb-10">
Expand Down

0 comments on commit 89c06d2

Please sign in to comment.