Skip to content

Commit 77c97c1

Browse files
authored
Minor layout fixes (graphql#1393)
1 parent 743f359 commit 77c97c1

File tree

5 files changed

+21
-15
lines changed

5 files changed

+21
-15
lines changed

src/assets/css/_css/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ div.index {
4545
}
4646

4747
img {
48-
height: 150px;
48+
height: 80px;
4949
}
5050

5151
.button {

src/components/Conf/Section/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ interface Props {
88
}
99

1010
const SectionConf = ({ id, title, children }: Props): JSX.Element => (
11-
<div key={id} id={id}>
11+
// Padding down so hash-links to this id display below the header menu
12+
<div key={id} id={id} className="pt-16 -mt-16">
1213
<h2>
1314
<a href={`#${id}`} className="no-underline">{title}</a>
1415
</h2>

src/components/Conf/Venue/index.tsx

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const VenueConf = () => {
3131
<div className="sm:w-full grid grid-rows-1 md:grid-cols-2 gap-20">
3232
<div>
3333
<h3 className="sm:text-2xl text-xl font-medium text-white mt-6 mb-4">
34-
Venue Information
34+
Venue &amp; Lodging
3535
</h3>
3636
<p>
3737
<a
@@ -59,23 +59,29 @@ const VenueConf = () => {
5959
room block is full)
6060
</i>
6161
<br />
62-
Please note, rooms will most likely sell out in advance of the <a href="https://www.hyatt.com/en-US/group-booking/SFOBU/G-LIFO" target="_blank">room block</a> close dates. We encourage you to book
63-
early to secure a room at the conference rate.
62+
Please note, rooms will most likely sell out in advance of the{" "}
63+
<a
64+
href="https://www.hyatt.com/en-US/group-booking/SFOBU/G-LIFO"
65+
target="_blank"
66+
>
67+
room block
68+
</a>{" "}
69+
close dates. We encourage you to book early to secure a room at
70+
the conference rate.
6471
</div>
65-
<h3 className="sm:text-2xl text-xl font-medium text-white mt-6 mb-4">Alternate lodging options</h3>
72+
</div>
73+
74+
<div>
75+
<h3 className="sm:text-2xl text-xl font-medium text-white mt-6 mb-4">
76+
Alternate lodging options
77+
</h3>
6678
<a
6779
href="https://www.ihg.com/holidayinnexpress/hotels/us/en/burlingame/urlbh/hoteldetail"
6880
target="_blank"
6981
rel="noreferrer"
7082
>
7183
Holiday Inn Express San Francisco Airport South, and IHG Hotel
7284
</a>
73-
</div>
74-
75-
<div>
76-
<h3 className="sm:text-2xl text-xl font-medium text-white mt-6 mb-4">
77-
Additional Information
78-
</h3>
7985
<p className="leading-relaxed mb-3 text-white text-base">
8086
<span className="font-bold">Important:</span> The Linux Foundation
8187
will never reach out to attendees by phone to make hotel

src/pages/conf/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default () => {
1818
<HeaderConf />
1919
<div className="text-gray-600 bg-color-[#562556] bg-[url(http://github.com/'/img/conf/graphql-conf-bg.png')] bg-cover bg-blend-multiply bg-opacity-20 bg-black">
2020
<div className="container flex py-16 md:py-36 items-center justify-center flex-col">
21-
<div className="flex flex-col justify-center items-center w-full gap-2 md:gap-32 md:flex-row">
21+
<div className="flex flex-col justify-center items-center w-full gap-2 lg:gap-32 lg:flex-row">
2222
<div>
2323
<img
2424
src="/img/conf/graphql-conf-logo.svg"

src/pages/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ import WithoutVersions from "../Containers/Sections/WithoutVersion"
1111
import PowerFulTools from "../Containers/Sections/PowerFulTools"
1212
import WhosUsing from "../Containers/Sections/WhosUsing"
1313
import Seo from "../components/Seo"
14-
import { ReactComponent as GraphQLConfLogo } from "../../static/img/conf/graphql-conf-logo.svg"
1514

1615
export default ({ pageContext }: PageProps<{}, { sourcePath: string }>) => {
1716
return (
1817
<Layout className="index" pageContext={pageContext}>
1918
<Hero />
2019
<section className="conf-banner">
2120
<a href="/conf/">
22-
<GraphQLConfLogo />
21+
<img src="/img/conf/graphql-conf-logo.svg" />
2322
<div>
2423
<span>
2524
The offical GraphQL conference, by the GraphQL Foundation

0 commit comments

Comments
 (0)