Skip to content

Commit 5a98d02

Browse files
author
erez.efrat
committedJun 18, 2019
header, search, started homepage
1 parent 396a994 commit 5a98d02

11 files changed

+9844
-40
lines changed
 

‎package-lock.json

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎website/package-lock.json

+9,667
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎website/pages/en/index.js

+13-7
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,15 @@ class HomeSplash extends React.Component {
3636
);
3737

3838
const ProjectTitle = () => (
39-
<h2 className="projectTitle">
39+
<h1 className="projectTitle">
4040
{siteConfig.homepage_title}
41-
<small>{siteConfig.tagline}</small>
42-
</h2>
41+
</h1>
42+
);
43+
44+
const ProjectTagline = () => (
45+
<h6 className="projectTagline">
46+
{siteConfig.tagline}
47+
</h6>
4348
);
4449

4550
const PromoSection = props => (
@@ -60,14 +65,15 @@ class HomeSplash extends React.Component {
6065

6166
return (
6267
<SplashContainer>
63-
<Logo img_src={`${baseUrl}img/robot.png`} />
68+
{/* <Logo img_src={`${baseUrl}img/robot.png`} /> */}
6469
<div className="inner">
6570
<ProjectTitle siteConfig={siteConfig} />
66-
<PromoSection>
71+
<ProjectTagline siteConfig={siteConfig} />
72+
{/* <PromoSection>
6773
<Button href={docUrl('start/getting-started')}>Start</Button>
6874
<Button href={docUrl('topics/best-practices-overview')}>Docs</Button>
6975
<Button href={docUrl('api/overwolf-api-overview')}>API</Button>
70-
</PromoSection>
76+
</PromoSection> */}
7177
</div>
7278
</SplashContainer>
7379
);
@@ -201,7 +207,7 @@ class Index extends React.Component {
201207
<HomeSplash siteConfig={siteConfig} language={language} />
202208
<div className="mainContainer">
203209

204-
<Features />
210+
{/* <Features /> */}
205211
</div>
206212
</div>
207213
);

‎website/siteConfig.js

+17-33
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/**
2-
* Copyright (c) 2017-present, Facebook, Inc.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*/
7-
81
// See https://docusaurus.io/docs/site-config for all the possible
92
// site configuration options.
103

@@ -22,20 +15,14 @@ const users = [
2215

2316
const siteConfig = {
2417
title: ' ', // Title for your website.
25-
homepage_title: 'Overwolf Developers',
26-
tagline: 'Easily create apps for PC gamers',
18+
homepage_title: 'Easily create apps for PC gamers',
19+
tagline: 'Overlay, real-time game events, monetization, auto patching, Anti-Cheat compatibility and all that good stuff',
2720
url: 'https://overwolf.github.io', // Your website URL
2821
baseUrl: '/developers-site/', // Base URL for your project */
29-
// For github.io type URLs, you would set the url and baseUrl like:
30-
// url: 'https://facebook.github.io',
31-
// baseUrl: '/test-site/',
3222

3323
// Used for publishing and more
3424
projectName: 'developers-site',
3525
organizationName: 'overwolf',
36-
// For top-level user or org sites, the organization is still the same.
37-
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
38-
// organizationName: 'JoelMarcey'
3926

4027
// For no header links in the top nav bar -> headerLinks: [],
4128
headerLinks: [
@@ -61,30 +48,19 @@ const siteConfig = {
6148
users,
6249

6350
/* path to images for header/footer */
64-
headerIcon: 'img/ow-logo.svg',
51+
title: 'Overwolf SDK',
52+
headerIcon: 'img/headerIcon.svg',
6553
footerIcon: 'img/ow-logo.svg',
6654
favicon: 'img/ow-favicon.ico',
6755

6856
/* Colors for website */
6957
colors: {
70-
primaryColor: '#20232a', //2E8555
71-
secondaryColor: '#205C3B',
58+
primaryColor: '#201C33', //2E8555
59+
secondaryColor: '#201C33',
7260
},
7361

74-
/* Custom fonts for website */
75-
/*
76-
fonts: {
77-
myFont: [
78-
"Times New Roman",
79-
"Serif"
80-
],
81-
myOtherFont: [
82-
"-apple-system",
83-
"system-ui"
84-
]
85-
},
86-
*/
8762
editUrl: 'https://github.com/overwolf/developers-site/tree/master/docs/',
63+
8864
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
8965
copyright: `Copyright © ${new Date().getFullYear()} Overwolf`,
9066

@@ -95,7 +71,7 @@ const siteConfig = {
9571

9672
// Add custom scripts here that would be placed in <script> tags.
9773
scripts: ['https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js', 'https://buttons.github.io/buttons.js', 'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js','/js/code-block-buttons.js'],
98-
stylesheets: ['https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css', '/css/code-block-buttons.css'],
74+
stylesheets: ['https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css', '/css/code-block-buttons.css', 'https://fonts.googleapis.com/css?family=Lato%3A400%2C400i%2C700%2C900&ver=4.5.3'],
9975

10076
// On page navigation for the current documentation page.
10177
onPageNav: 'separate',
@@ -117,7 +93,15 @@ const siteConfig = {
11793
zIndex: 100,
11894
backgroundColor: '#20232A',
11995
},
120-
docsSideNavCollapsible: true
96+
docsSideNavCollapsible: true,
97+
98+
algolia: {
99+
apiKey: 'fe54eceb2ea7e0780cc7030fcd4020d4',
100+
indexName: 'overwolf',
101+
algoliaOptions: {} // https://www.algolia.com/doc/api-reference/api-parameters/
102+
}
103+
// algolia stylings: https://community.algolia.com/docsearch/styling.html
104+
// algolia config: https://github.com/algolia/docsearch-configs/blob/master/configs/overwolf.json
121105

122106
// You may provide arbitrary config keys to be used as needed by your
123107
// template. For example, if you need your repo's URL...

‎website/static/css/style.css

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
@font-face {
2+
font-family: 'Klavika';
3+
src: url("../fonts/klavika/KlavikaWebBasicLight.woff") format("woff");
4+
font-weight: 300;
5+
font-style: normal
6+
}
7+
8+
@font-face {
9+
font-family: 'Klavika';
10+
src: url("../fonts/klavika/KlavikaWebBasicRegular.woff") format("woff");
11+
font-weight: 400;
12+
font-style: normal
13+
}
14+
15+
@font-face {
16+
font-family: 'Klavika';
17+
src: url("../fonts/klavika/KlavikaWebBasicMedium.woff") format("woff");
18+
font-weight: 500;
19+
font-style: normal
20+
}
21+
22+
@font-face {
23+
font-family: 'Klavika';
24+
src: url("../fonts/klavika/KlavikaWebBasicBold.woff") format("woff");
25+
font-weight: 700;
26+
font-style: normal
27+
}
28+
29+
body {
30+
font-family: Lato;
31+
font-style: normal;
32+
font-weight: 300;
33+
font-size: 16px;
34+
line-height: 23px;
35+
36+
background: #F4F2FF;
37+
}
38+
39+
.fixedHeaderContainer header .headerTitleWithLogo {
40+
font-family: 'Klavika', sans-serif;
41+
font-size: 24px;
42+
font-weight: 1;
43+
line-height: 29px;
44+
}
45+
46+
.fixedHeaderContainer {
47+
padding: 0.7%;
48+
box-shadow: 0 2px 4px -1px rgba(0,0,0,0.25);
49+
}
50+
51+
.homeContainer {
52+
height: 550px;
53+
position: relative;
54+
left: 0px;
55+
top: 0px;
56+
57+
background: #161326;
58+
mix-blend-mode: normal;
59+
}
60+
61+
.homeSplashFade {
62+
63+
}
64+
65+
.wrapper.homeWrapper {
66+
margin: 0px;
67+
}
68+
69+
70+
.inner {
71+
72+
}
73+
74+
75+
h1.postHeaderTitle {
76+
font-family: 'Klavika';
77+
font-size: 36px;
78+
font-weight: lighter;
79+
line-height: 48px;
80+
81+
background: #F4F2FF;
82+
}
83+
84+
h1.projectTitle {
85+
position: absolute;
86+
width: 374px;
87+
height: 121px;
88+
left: 464px;
89+
top: 124px;
90+
91+
font-family: 'Klavika';
92+
font-size: 50px;
93+
font-weight: lighter;
94+
line-height: 60px;
95+
96+
text-align: left;
97+
98+
color: #F4F2FF;
99+
}
100+
101+
h6.projectTagline {
102+
position: absolute;
103+
width: 353px;
104+
height: 72px;
105+
left: 464px;
106+
top: 275px;
107+
108+
font-family: 'Lato';
109+
font-style: normal;
110+
font-weight: normal;
111+
font-size: 16px;
112+
line-height: 25px;
113+
114+
text-align: left;
115+
116+
color: #958FB2;
117+
}
118+
119+
h6 {
120+
font-family: 'Lato';
121+
font-style: normal;
122+
font-weight: normal;
123+
font-size: 16px;
124+
line-height: 25px;
125+
126+
color: #958FB2;
127+
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

‎website/static/img/headerIcon.svg

+3
Loading

‎website/static/img/logo.svg

+4
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.