Skip to content

Commit 4d43a53

Browse files
committed
Dima work
Signed-off-by: Tuval <tuval.simha@gmail.com>
1 parent f8d481d commit 4d43a53

File tree

10 files changed

+709
-25
lines changed

10 files changed

+709
-25
lines changed

gatsby-config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const config: GatsbyConfig = {
1111
typesOutputPath: `src/__generated__/gatsby-types.d.ts`,
1212
},
1313
plugins: [
14+
"gatsby-plugin-postcss",
1415
"gatsby-plugin-anchor-links",
1516
{
1617
resolve: "gatsby-source-filesystem",

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
"devDependencies": {
4444
"@types/codemirror": "5.60.5",
4545
"@types/prismjs": "1.26.0",
46-
"prettier": "2.7.1"
46+
"autoprefixer": "^10.4.14",
47+
"gatsby-plugin-postcss": "^6.8.0",
48+
"postcss": "^8.4.21",
49+
"prettier": "2.7.1",
50+
"tailwindcss": "^3.3.0"
4751
}
4852
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}

src/assets/css/global.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;

src/assets/css/style.less

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
@import "_css/codemirror.less";
77
@import "_css/algolia.less";
88
@import "_css/code.less";
9-
@import "_css/conf.less";
109
@import "_css/faq.less";
1110
@import "_css/foundation.less";
1211
@import "_css/brand.less";
13-

src/pages/conf/index.tsx

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
import React from "react"
2-
import Layout from "../../components/Layout"
32
import Seo from "../../components/Seo"
43
import FooterConf from "../../components/Conf/Footer"
54
import HeaderConf from "../../components/Conf/Header"
5+
import "../../assets/css/style.less"
6+
import "../../assets/css/global.css"
7+
8+
const classes = {
9+
button:
10+
"inline-flex text-white bg-purple-500 border-0 py-2 px-6 focus:outline-none hover:bg-purple-600 rounded text-lg",
11+
}
612

713
export default () => {
814
return (
915
<>
10-
<HeaderConf />
11-
<div className="conf-hero">
12-
<div className="conf-hero-inner">
13-
<h1>GraphQLConf</h1>
14-
<p>SEPTEMBER 19-21, 2023</p>
15-
<p>SAN FRANCISCO BAY AREA, CA</p>
16-
<p>#GRAPHQLCONF</p>
16+
<div className="text-gray-600 body-font bg-[url('/img/bg-graphql-conf.png')]">
17+
<div className="container mx-auto flex px-5 py-24 items-center justify-center flex-col">
18+
<div className="flex flex-col items-center lg:w-2/3 w-full">
19+
<img src="/img/graphql-conf-logo.svg" className="w-[500px] mb-4" />
20+
<h1 className="title-font sm:text-4xl text-3xl mb-4 font-extrabold text-white">
21+
SEPTEMBER 19-21, 2023
22+
</h1>
23+
<h2 className="sm:text-2xl text-xl mb-8 text-white leading-relaxed">
24+
SAN FRANCISCO BAY AREA, CA
25+
</h2>
26+
<p className="mb-8 leading-relaxed text-white">#GRAPHQLCONF</p>
27+
<div className="flex justify-center gap-4">
28+
<button className={classes.button}>REGISTER NOW</button>
29+
<button className={classes.button}>SUBMIT TO SPEAK</button>
30+
</div>
31+
</div>
1732
</div>
1833
</div>
1934
<FooterConf />

static/img/bg-graphql-conf.png

749 KB
Loading

0 commit comments

Comments
 (0)