-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c1b888
commit c9c001b
Showing
9 changed files
with
289 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,4 @@ | ||
@import "mixins.scss"; | ||
@import "colors.scss"; | ||
|
||
.App { | ||
position: relative; | ||
margin: 0 auto; | ||
padding-top: 40px; | ||
z-index: 1; | ||
@include desktop { | ||
width: 1176px; | ||
} | ||
} | ||
|
||
.App__section { | ||
@include mobile { | ||
display: block; | ||
width: 100%; | ||
padding: 50px 20px; | ||
|
||
&--introduction { | ||
padding: 50px 0; | ||
} | ||
} | ||
|
||
@include desktop { | ||
display: inline-block; | ||
vertical-align: middle; | ||
margin: 0 auto; | ||
padding-top: 76px; | ||
width: 75%; | ||
height: 550px; | ||
transform: perspective(1200px); | ||
transform-style: preserve-3d; | ||
-webkit-transform: perspective(1200px) rotateY(5deg) !important; | ||
-moz-transform: perspective(1200px) rotateY(5deg) !important; | ||
-ms-transform: perspective(1200px) rotateY(5deg) !important; | ||
-o-transform: perspective(1200px) rotateY(5deg) !important; | ||
-moz-transform-origin: -10% 25%; | ||
-ms-transform-origin: -10% 25%; | ||
-o-transform-origin: -10% 25%; | ||
} | ||
} | ||
|
||
.App__menu { | ||
@include mobile { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
display: block; | ||
width: 100%; | ||
} | ||
@include desktop { | ||
vertical-align: bottom; | ||
position: relative; | ||
display: inline-block; | ||
width: 25%; | ||
} | ||
} | ||
|
||
.App__sectionDescription { | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React, { Component, createRef } from 'react' | ||
import cx from 'classnames' | ||
import { Subject } from 'rxjs' | ||
import { takeUntil, tap } from 'rxjs/operators' | ||
|
||
import IntroductionMD from 'templates/Introduction.md' | ||
|
||
import './Landing.scss' | ||
|
||
type Props = { | ||
|
||
} | ||
|
||
class Landing extends Component<Props> { | ||
destroy$ = new Subject() | ||
|
||
state = {} | ||
|
||
componentDidMount() { | ||
|
||
} | ||
|
||
componentWillUnmount() { | ||
this.destroy$.next(true) | ||
} | ||
|
||
render() { | ||
|
||
return ( | ||
<div className="Landing"> | ||
<div className="Landing__header"> | ||
<p className="Landing__title">Welcome</p> | ||
<img className="Landing__logo" src="/static/images/favicon@256.png" /> | ||
</div> | ||
<div | ||
className="Landing__description" | ||
dangerouslySetInnerHTML={{ | ||
__html: IntroductionMD, | ||
}} | ||
/> | ||
</div> | ||
) | ||
} | ||
} | ||
|
||
export default Landing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.Landing { | ||
width: 720px; | ||
display: block; | ||
margin: 0 auto; | ||
} | ||
|
||
.Landing__header { | ||
position: relative; | ||
display: block; | ||
height: 120px; | ||
} | ||
|
||
.Landing__logo { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
display: inline-block; | ||
width: 96px; | ||
height: 96px; | ||
margin: 0 auto; | ||
margin-bottom: 6px; | ||
} | ||
|
||
.Landing__title { | ||
@include font-style('font-1-28'); | ||
display: block; | ||
font-weight: bold; | ||
color: #333333; | ||
text-align: left; | ||
margin-bottom: 30px; | ||
} | ||
|
||
.Landing__description { | ||
@include font-style('font-1-16'); | ||
line-height: 24px; | ||
color: #666666; | ||
|
||
a { | ||
color: #81C4A7; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.