Skip to content

Commit

Permalink
Merge pull request #2 from AndroidMontreal/renaming
Browse files Browse the repository at this point in the history
Adjust speaker section
  • Loading branch information
ldev6 committed Aug 28, 2024
2 parents fec421d + 342339a commit 7183b7e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/app/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Image from 'next/image';
import Header from '@/components/sections/Header';
import EventHeader from '@/components/sections/EventHeader';
import SpeakerCall from '@/components/sections/SpeakerCall';
import Speakers from '@/components/sections/Speakers';
import Organizers from '@/components/sections/Organizers';
import Sponsors from '@/components/sections/Sponsors';
import EventPhotos from '@/components/sections/EventPhotos';
Expand All @@ -13,7 +13,7 @@ export default function Home() {
<Header />
<div className="flex flex-col gap-20">
<EventHeader />
<SpeakerCall />
<Speakers />
<EventPhotos />
<Sponsors />
<Organizers />
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/EventHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const EventHeader = () => {
<PillButton onClick={() => {
window.open('https://devfestmontreal2024.eventbrite.ca', '_blank');
}} label="Get your tickets" />

</div>
</div>
);
Expand Down
11 changes: 1 addition & 10 deletions src/components/sections/Organizers.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
'use client';
import OrganizersCard from '@/components/elements/OrganizersCard';
import TitleWithSubtitle from '@/components/elements/TitleWithSubtitle';
import PillButton from '@/components/elements/PillButton';
import { organizers } from '@/data/data';
import OrganizersCard from '@/components/elements/OrganizersCard';

const Organizers = () => {
return (
Expand All @@ -12,16 +11,8 @@ const Organizers = () => {
subTitle="A joint effort with Montreal's leading tech communities"
titleClassName="max-w-xl"
subTitleClassName="max-w-lg" />

<OrganizersCard organizers={organizers} />

<PillButton onClick={() => {
window.open('https://www.papercall.io/devfest-2024-mtl', '_blank');
}} label="Call for paper" />

</div>


);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import TitleWithSubtitle from '@/components/elements/TitleWithSubtitle';
import PillButton from '@/components/elements/PillButton';

const SpeakerCall = () => {
const Speakers = () => {
return (
<div className="flex flex-col gap-6 text-center items-center justify-center my-10">
<TitleWithSubtitle
title="Call for Speakers"
subTitle="Got a groundbreaking idea or tech innovation to share? We got just the platform for you to join us as a speaker and make an impact!"
title="Speakers"
subTitle="Learn from the best in the industry. Our speakers are experts in their field and are excited to share their knowledge with you."
titleClassName="max-w-2xl"
subTitleClassName="max-w-xl" />
<PillButton onClick={() => {
Expand All @@ -18,4 +18,4 @@ const SpeakerCall = () => {
);
};

export default SpeakerCall;
export default Speakers;

0 comments on commit 7183b7e

Please sign in to comment.