Skip to content

Commit e17a3f0

Browse files
authored
Minor css fixes to the conf page (#1387)
1 parent c6ab3ec commit e17a3f0

File tree

4 files changed

+40
-32
lines changed

4 files changed

+40
-32
lines changed

src/components/Conf/Footer/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ const links = [
2424
const FooterConf = () => {
2525
return (
2626
<footer className="text-gray-600 bg-[#0E031C]">
27-
<div className="container py-24 flex md:items-start md:flex-row md:flex-nowrap flex-wrap flex-col">
28-
<div className="w-64 shrink-0 md:mx-0 mx-auto text-center md:text-left">
27+
<div className="container px-5 md:py-24 mx-auto flex md:items-start md:flex-row md:flex-nowrap flex-wrap flex-col">
28+
<div className="w-64 shrink-0 md:mx-0 text-left">
2929
<a
3030
href="/conf/"
31-
className="flex font-medium items-center md:justify-start justify-center text-gray-900"
31+
className="flex font-medium md:items-center justify-start text-gray-900"
3232
>
3333
<img src="/img/conf/graphql-conf-logo.svg" className="w-[200px]" />
3434
</a>
3535
</div>
36-
<div className="grow flex flex-wrap lg:pl-20 -mb-10 md:mt-0 mt-10 md:text-left text-center">
36+
<div className="grow flex flex-wrap justify-between lg:pl-20 -mb-10 md:mt-0 mt-10 text-left">
3737
{links.map((link, i) => (
38-
<div key={i} className="md:w-1/3 w-full px-4">
39-
<div className="list-none mb-20">
38+
<div key={i} className="md:w-1/3 md:px-4">
39+
<div className="list-none mb-10 md:mb-20">
4040
{link.map((link, i) => (
4141
<li key={i}>
4242
<a
@@ -53,7 +53,7 @@ const FooterConf = () => {
5353
</div>
5454
</div>
5555
<div>
56-
<div className="container py-4 flex flex-wrap flex-col sm:flex-row">
56+
<div className="container mt-5 sm:mt-0 py-4 flex flex-wrap flex-col sm:flex-row">
5757
<p className="text-white text-sm text-center sm:text-left">
5858
Copyright © {`${new Date().getFullYear()}`} The GraphQL Foundation.
5959
All rights reserved.

src/components/Conf/SF/index.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,16 @@ const SFConf = () => {
4444
<h1 className="text-4xl text-center mb-5 text-[#0E031C] font-bold pb-6">
4545
About San Francisco
4646
</h1>
47-
<div className="container flex max-xl:flex-wrap justify-center gap-10 ">
48-
{images.map(image => (
49-
<div key={image.name} className="max-w-sm w-full">
50-
<AspectRatio title={image.name} src={image.src} href={image.link} />
47+
<div className="flex flex-wrap w-full justify-center">
48+
{images.map((image, i) => (
49+
<div key={i} className="w-full lg:w-1/5 mx-5 mb-5">
50+
<div className="max-w-sm">
51+
<AspectRatio
52+
title={image.name}
53+
src={image.src}
54+
href={image.link}
55+
/>
56+
</div>
5157
</div>
5258
))}
5359
</div>

src/components/Conf/Schedule/index.tsx

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,29 +21,31 @@ const Days: Day[] = [
2121
const ScheduleGlanceConf = () => {
2222
return (
2323
<div id="schedule">
24-
<div className="bg-[#0E031C] mt-20 mb-6 container">
24+
<div className="bg-[#0E031C] w-full mt-10 mb-6">
2525
<div className="text-center mx-auto text-white">
2626
<h1 className="text-4xl text-white font-bold mb-8">Schedule</h1>
2727
</div>
28-
<div className="flex max-md:flex-wrap justify-center gap-8 mb-5">
29-
{Days.map((day, i) => (
30-
<div key={i}>
31-
<div className="h-full p-4 overflow-hidden bg-[#251C39] shadow-lg rounded-2xl">
32-
<div className="p-4">
33-
<p className="text-2xl text-center text-white font-bold mb-2">
34-
{day.date}
35-
</p>
36-
<ul className="list-disc pl-6 marker:text-[#B48EF1]">
37-
{day.list.map((item, i) => (
38-
<li key={i} className="text-white mb-2">
39-
{item}
40-
</li>
41-
))}
42-
</ul>
28+
<div className="max-w-[80ch] mx-auto">
29+
<div className="mx-auto w-full grid grid-rows-1 md:grid-cols-3 justify-center gap-8 mb-5">
30+
{Days.map((day, i) => (
31+
<div key={i}>
32+
<div className="h-full mx-auto w-64 p-4 overflow-hidden bg-[#251C39] shadow-lg rounded-2xl">
33+
<div className="p-4">
34+
<p className="text-2xl text-center text-white font-bold mb-2">
35+
{day.date}
36+
</p>
37+
<ul className="list-disc pl-6 marker:text-[#B48EF1]">
38+
{day.list.map((item, i) => (
39+
<li key={i} className="text-white mb-2">
40+
{item}
41+
</li>
42+
))}
43+
</ul>
44+
</div>
4345
</div>
4446
</div>
45-
</div>
46-
))}
47+
))}
48+
</div>
4749
</div>
4850
</div>
4951
</div>

src/components/Conf/Venue/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import { ReactComponent as ParkingIcon } from "../../../../static/img/conf/parki
55

66
const VenueConf = () => {
77
return (
8-
<div id="location" className="container">
8+
<div id="location">
99
<h1 className="text-4xl text-white font-bold mt-8 mb-6 mx-auto text-center">
1010
Location &amp; Venue
1111
</h1>
12-
<div className="flex flex-wrap">
13-
<div className="p-4 sm:w-full grid grid-rows-1 md:grid-cols-2 gap-20">
12+
<div className="container flex flex-wrap">
13+
<div className="sm:w-full grid grid-rows-1 md:grid-cols-2 gap-20">
1414
<div>
1515
<h3 className="sm:text-2xl text-xl font-medium text-white mt-6 mb-4">
1616
Hotel Information

0 commit comments

Comments
 (0)