Skip to content

Commit 665f6a3

Browse files
committed
A bunch of changes from lee!
* Moved all assets into a single dir * Set up subpages and corrected all links * Created main page banner * Minor style edits
1 parent 4f7b2d3 commit 665f6a3

File tree

16 files changed

+163
-29
lines changed

16 files changed

+163
-29
lines changed

src/assets/css/_css/conf.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
}
4343
}
4444
.conf-hero::before {
45-
background: url(/img/conf/conf-hero.png) repeat center center;
45+
background-color: #562556;
46+
background: url(/img/conf/graphql-conf-bg.png) repeat center center;
4647
content: "";
4748
display: block;
4849
height: 100%;
@@ -228,7 +229,7 @@
228229
}
229230
.library-howto-expand {
230231
cursor: pointer;
231-
232+
232233
&.not-expanded {
233234
background: -webkit-linear-gradient(
234235
top,

src/assets/css/_css/index.less

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,62 @@ div.index {
77
margin-top: 50px;
88
}
99

10+
// GraphQLConf 2023 - Remove on Oct 1, 2023
11+
section.conf-banner {
12+
background-color: #562556;
13+
background: url("/img/conf/graphql-conf-bg.png") repeat center center;
14+
background-size: cover;
15+
color: #fff;
16+
text-align: center;
17+
max-width: none;
18+
margin-top: 30px;
19+
20+
& > a {
21+
display: flex;
22+
align-items: center;
23+
justify-content: center;
24+
padding: 30px;
25+
margin: 0 auto;
26+
27+
&:hover {
28+
text-decoration: none;
29+
}
30+
31+
& > div {
32+
display: flex;
33+
flex-direction: column;
34+
35+
& > * {
36+
margin: 6px 0;
37+
}
38+
}
39+
}
40+
41+
img {
42+
height: 130px;
43+
margin: 0 30px;
44+
}
45+
46+
.button {
47+
.headline-font(@size: 17px, @color: white);
48+
border: solid 1px fadeout(white, 60%);
49+
border-radius: 6px;
50+
line-height: 1.0;
51+
transition: background 0.1s ease-out, color 0.1s ease-out;
52+
padding: 0.6em 1.6em;
53+
margin: 0 0.8em;
54+
display: inline-block;
55+
text-decoration: none;
56+
57+
&:hover, &:focus, &:active {
58+
color: @text-color;
59+
background: white;
60+
text-decoration: none;
61+
}
62+
}
63+
}
64+
// End GraphQLConf 2023
65+
1066
header {
1167
display: none;
1268
@media screen and (min-width: 1020px) {

src/components/Conf/Button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const ButtonConf = ({ text, href, className }: Props) => {
1111
<button
1212
className={
1313
className ??
14-
"no-underline inline-flex text-white bg-purple-500 border-0 py-2 px-6 focus:outline-none hover:bg-purple-600 rounded text-lg "
14+
"transition ease-in-out no-underline inline-flex text-white bg-[--rhodamine] border-0 py-2 px-6 focus:outline-none hover:drop-shadow-lg hover:scale-105 rounded text-lg"
1515
}
1616
>
1717
<a className="cursor-pointer no-underline hover:no-underline" href={href}>

src/components/Conf/Footer/index.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ const links = [
55
{
66
category: "GraphQLConf",
77
links: [
8-
{ text: "GraphQLConf", href: "/" },
9-
{ text: "Speakers", href: "/#speakers" },
10-
{ text: "Venue", href: "/#venue" },
8+
{ text: "GraphQLConf", href: "/conf/" },
9+
{ text: "Speakers", href: "/conf/#speakers" },
10+
{ text: "Venue", href: "/conf/#venue" },
1111
],
1212
},
1313
{
14-
category: "Register",
14+
category: "Act now",
1515
links: [
16-
{ text: "Register", href: "/#register" },
17-
{ text: "Speak", href: "/cfp" },
18-
{ text: "Sponsor", href: "/PDF" },
16+
{ text: "Register", href: "/conf/#register" },
17+
{ text: "Speak", href: "/conf/speak" },
18+
{ text: "Sponsor", href: "/conf/sponsor" },
1919
],
2020
},
2121
{
2222
category: "FAQ",
2323
links: [
2424
{ text: "FAQ", href: "/faq" },
25-
{ text: "Code of Conduct", href: "/faq#codeofconduct" },
26-
{ text: "Contact Us", href: "/faq#contact" },
25+
{ text: "Code of Conduct", href: "/conf/faq/#codeofconduct" },
26+
{ text: "Contact Us", href: "/conf/faq/#contact" },
2727
],
2828
},
2929
]
@@ -33,8 +33,8 @@ const FooterConf = () => {
3333
<footer className="text-gray-600 body-font">
3434
<div className="container px-5 py-24 mx-auto flex md:items-center lg:items-start md:flex-row md:flex-nowrap flex-wrap flex-col">
3535
<div className="w-64 flex-shrink-0 md:mx-0 mx-auto text-center md:text-left">
36-
<a className="flex title-font font-medium items-center md:justify-start justify-center text-gray-900">
37-
<img src="/img/graphql-conf-logo.svg" className="w-[200px]" />
36+
<a href="/conf/" className="flex title-font font-medium items-center md:justify-start justify-center text-gray-900">
37+
<img src="/img/conf/graphql-conf-logo.svg" className="w-[200px]" />
3838
</a>
3939
</div>
4040
<div className="flex-grow flex flex-wrap md:pl-20 -mb-10 md:mt-0 mt-10 md:text-left text-center">

src/components/Conf/Header/index.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,26 @@ const links: LinkItem[] = [
1111
{
1212
section: "Register",
1313
text: "Register",
14-
href: "/#register",
14+
href: "/conf/#register",
1515
},
1616
{
1717
section: "Speak",
1818
text: "Speak",
19-
href: "/cfp",
19+
href: "/conf/speak/",
2020
},
2121
{
2222
section: "Sponsor",
2323
text: "Sponsor",
24-
href: "/pdf",
24+
href: "/conf/sponsor/",
2525
},
2626
{
2727
section: "FAQ",
2828
text: "FAQ",
29-
href: "/faq/",
29+
href: "/conf/faq/",
3030
},
3131
]
3232

3333
const classes = {
34-
button:
35-
"inline-flex text-white bg-purple-500 border-0 py-2 px-6 focus:outline-none hover:bg-purple-600 rounded text-lg",
3634
background: "bg-[#862e69]",
3735
}
3836

@@ -51,8 +49,8 @@ const HeaderConf = () => {
5149
</a>
5250
))}
5351
</nav>
54-
<a className="flex order-first lg:order-none lg:w-1/5 title-font font-medium items-center lg:items-center lg:justify-center mb-4 md:mb-0">
55-
<img src="/img/graphql-conf-logo.svg" className="w-[150px]" />
52+
<a href="/conf/" className="flex order-first lg:order-none lg:w-1/5 title-font font-medium items-center lg:items-center lg:justify-center mb-4 md:mb-0">
53+
<img src="/img/conf/graphql-conf-logo.svg" className="w-[150px]" />
5654
</a>
5755
<div className="lg:w-2/5 inline-flex lg:justify-end ml-5 lg:ml-0">
5856
<ButtonConf text="REGISTER NOW" href="/" />

src/pages/conf/faq.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from "react"
2+
import Seo from "../../components/Seo"
3+
import FooterConf from "../../components/Conf/Footer"
4+
import HeaderConf from "../../components/Conf/Header"
5+
import "../../assets/css/style.less"
6+
import "../../assets/css/global.css"
7+
import LayoutConf from "../../components/Conf/Layout"
8+
9+
export default () => {
10+
return (
11+
<LayoutConf>
12+
<HeaderConf />
13+
<h1>FAQ</h1>
14+
<FooterConf />
15+
</LayoutConf>
16+
)
17+
}
18+
19+
export function Head() {
20+
return <Seo title="GraphQLConf 2023 FAQ Frequently Asked Questions" />
21+
}

src/pages/conf/index.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@ export default () => {
1111
return (
1212
<LayoutConf>
1313
<HeaderConf />
14-
<div className="text-gray-600 body-font bg-[url('/img/bg-graphql-conf.png')]">
14+
<div className="text-gray-600 body-font bg-color-[#562556] bg-[url('/img/conf/graphql-conf-bg.png')] bg-cover">
1515
<div className="container mx-auto flex px-5 py-24 items-center justify-center flex-col">
1616
<div className="flex flex-col items-center lg:w-2/3 w-full">
17-
<img src="/img/graphql-conf-logo.svg" className="w-[500px] mb-4" />
17+
<img src="/img/conf/graphql-conf-logo.svg" className="w-[500px] mb-4" />
1818
<h1 className="title-font sm:text-4xl text-3xl mb-4 font-extrabold text-white">
1919
SEPTEMBER 19-21, 2023
2020
</h1>
2121
<h2 className="sm:text-2xl text-xl mb-8 text-white leading-relaxed">
2222
SAN FRANCISCO BAY AREA, CA
2323
</h2>
24-
<p className="mb-8 leading-relaxed text-white">#GRAPHQLCONF</p>
2524
<div className="flex justify-center gap-4">
26-
<ButtonConf text="JOIN AS A SPONSOR" href="/" />
27-
<ButtonConf text="SUBMIT TO SPEAK" href="/" />
25+
<ButtonConf text="JOIN AS A SPONSOR" href="/sponsor" />
26+
<ButtonConf text="SUBMIT TO SPEAK" href="/speak" />
2827
</div>
2928
</div>
3029
</div>
@@ -35,5 +34,5 @@ export default () => {
3534
}
3635

3736
export function Head() {
38-
return <Seo title="GraphQL Conf 2023" />
37+
return <Seo title="GraphQLConf 2023 - hosted by the GraphQL Foundation" />
3938
}

src/pages/conf/speak.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import React from "react"
2+
import Seo from "../../components/Seo"
3+
import FooterConf from "../../components/Conf/Footer"
4+
import HeaderConf from "../../components/Conf/Header"
5+
import "../../assets/css/style.less"
6+
import "../../assets/css/global.css"
7+
import LayoutConf from "../../components/Conf/Layout"
8+
import ButtonConf from "../../components/Conf/Button"
9+
10+
export default () => {
11+
return (
12+
<LayoutConf>
13+
<HeaderConf />
14+
<h1>Speak at GraphQLConf 2023</h1>
15+
<ButtonConf text="SUBMIT TO SPEAK" href="https://sessionize.com/graphqlconf2023/" />
16+
<FooterConf />
17+
</LayoutConf>
18+
)
19+
}
20+
21+
export function Head() {
22+
return <Seo title="Speak at GraphQLConf 2023 - (CFP) Call for proposals" />
23+
}

src/pages/conf/sponsor.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import React from "react"
2+
import Seo from "../../components/Seo"
3+
import FooterConf from "../../components/Conf/Footer"
4+
import HeaderConf from "../../components/Conf/Header"
5+
import "../../assets/css/style.less"
6+
import "../../assets/css/global.css"
7+
import LayoutConf from "../../components/Conf/Layout"
8+
import ButtonConf from "../../components/Conf/Button"
9+
10+
export default () => {
11+
return (
12+
<LayoutConf>
13+
<HeaderConf />
14+
<h1>Sponsor GraphQLConf 2023</h1>
15+
<ButtonConf text="SPONSORSHIP PROSPECTUS" href="https://events.linuxfoundation.org/sponsor-graphqlconf-23" />
16+
<ButtonConf text="REQUEST A CONTRACT" href="https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=ba1e05a3-244d-4c94-9b3a-fd769966e479&env=na3&acct=f30e10ec-fea1-4dd8-a262-384a61edabb5&v=2" />
17+
<FooterConf />
18+
</LayoutConf>
19+
)
20+
}
21+
22+
export function Head() {
23+
return <Seo title="Sponsor GraphQLConf 2023 - hosted by the GraphQL Foundation" />
24+
}

src/pages/index.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,20 @@ import Seo from "../components/Seo"
1414

1515
export default ({ pageContext }: PageProps<{}, { sourcePath: string }>) => {
1616
return (
17-
<Layout className={"index"} pageContext={pageContext}>
17+
<Layout className="index" pageContext={pageContext}>
1818
<Hero />
19+
<section className="conf-banner">
20+
<a href="/conf/">
21+
<img src="/img/conf/graphql-conf-logo.svg" />
22+
<div>
23+
<span>The offical GraphQL conference by the GraphQL Foundation.</span>
24+
<i>SEPTEMBER 19-21, 2023 • SAN FRANCISO BAY AREA, CA</i>
25+
<div>
26+
<a className="button" href="/conf/">Register Now!</a>
27+
</div>
28+
</div>
29+
</a>
30+
</section>
1931
<section className="lead">
2032
<h1>A query language for your API</h1>
2133
<p>
File renamed without changes.

0 commit comments

Comments
 (0)