Skip to content

Commit d158141

Browse files
committed
Revert "Reorder section on the home page"
This reverts commit 73121ac.
1 parent 73121ac commit d158141

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

src/components/pages/home/schedule/schedule.jsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@ const Schedule = () => (
66
<section className="safe-paddings container-md text-center">
77
<h2 id="schedule">Schedule</h2>
88
<p className="text-balance">
9-
Check out what is happening right now, or see the full schedule and mark talks you're
10-
interested in so you won't miss a session.
9+
See the full schedule and mark talks you're interested in so you won't miss a session.
1110
</p>
12-
<div className="flex flex-row justify-center gap-4 flex-wrap">
13-
<Button to="/live" className="my-6">
14-
Live now
15-
</Button>
16-
<Button to={scheduleUrl} className="my-6">
17-
Full schedule
18-
</Button>
19-
</div>
11+
<Button to={scheduleUrl} className="my-6">
12+
Full schedule
13+
</Button>
2014
{/* <div className="flex flex-row flex-wrap justify-around md:flex-col mt-4 gap-y-2">
2115
<div className="w-[32%] md:w-full bg-gray-12 rounded-md p-4 flex-col inline-block justify-center content-start">
2216
<strong className="text-sm bg-orange py-1 px-2 rounded-full">Tuesday, October 8</strong>

src/components/pages/speakers/speakers.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ const Speakers = ({ keynote }) => {
2626

2727
return (
2828
<section className="safe-paddings container-lg text-center">
29-
{keynote ? (
30-
<h2 id="speakers">Keynote Speakers</h2>) :
31-
(<h1 id="speakers">Speakers</h1>)
32-
}
29+
<h1 id="speakers">{keynote && 'Keynote '}Speakers</h1>
3330
<div className="flex flex-row flex-wrap gap-10 justify-center">
3431
{speakers.map(({ profilePicture, fullName, tagLine, id }) => (
3532
<a onClick={() => handleSpeakerClick(id)}>

src/constants/menus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import LINKS from 'constants/links.js';
33
const MENUS = {
44
header: [
55
{ text: 'Live', ...LINKS.live },
6-
// { text: 'Tickets', ...LINKS.tickets },
6+
{ text: 'Tickets', ...LINKS.tickets },
77
{ text: 'Schedule', ...LINKS.schedule },
88
{ text: 'Speakers', ...LINKS.speakers },
99
{ text: 'Venue', ...LINKS.venue },

src/pages/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ import Speakers from '../components/pages/speakers/speakers';
1717
const HomePage = () => (
1818
<Layout homepage>
1919
<Hero />
20-
{/* <Tickets /> */}
20+
<Tickets />
2121
{/* <Cfp /> */}
2222
{/* <Info /> */}
23-
<Schedule />
2423
<Speakers keynote />
24+
<Schedule />
2525
<Venue />
2626
<WrapUp />
2727
{/* <Sponsors /> */}

0 commit comments

Comments
 (0)