Email and better layout
This commit is contained in:
parent
7d152d529f
commit
4d092a052f
4 changed files with 72 additions and 19 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
"lang": "English",
|
"lang": "English",
|
||||||
"company_name": "AYO inc.",
|
"company_name": "AYO inc.",
|
||||||
"address_one_line": "Tokyo Itabashi Akatsukashinmachi 3-chōme-33-3",
|
"address_one_line": "Tokyo Itabashi Akatsukashinmachi 3-chōme-33-3",
|
||||||
|
"email_contact": "contact@ayo.tokyo",
|
||||||
"flow1": "From repetitive tasks done by human",
|
"flow1": "From repetitive tasks done by human",
|
||||||
"flow2": "With the help of data gathered",
|
"flow2": "With the help of data gathered",
|
||||||
"flow3": "To automated systems"
|
"flow3": "To automated systems"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
{
|
{
|
||||||
"lang": "日本語",
|
"lang": "日本語",
|
||||||
"company_name": "AYO\u200B合同会社",
|
"company_name": "AYO\u200b合同会社",
|
||||||
"address_one_line": "東京\u200B都板橋区\u200B赤塚新町\u200B三丁目33番3ー102号",
|
"address_one_line": "東京\u200b都板橋区\u200b赤塚新町\u200b三丁目33番3ー102号",
|
||||||
"flow1": "人によって繰り返される作業",
|
"email_contact": "contact@ayo.tokyo",
|
||||||
"flow2": "収集されたデータ(の助け)によって",
|
"flow1": "人によって\u200b繰り返される\u200b作業",
|
||||||
"flow3": "システムを自動化するため"
|
"flow2": "収集された\u200bデータ\u200b(の助け)\u200bによって",
|
||||||
|
"flow3": "システム\u200bを自動化するため"
|
||||||
}
|
}
|
||||||
72
src/main.css
72
src/main.css
|
|
@ -11,6 +11,57 @@ body
|
||||||
font-family: sans;
|
font-family: sans;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 420px)
|
||||||
|
{
|
||||||
|
body
|
||||||
|
{
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
.process-flow
|
||||||
|
{
|
||||||
|
padding: 3px 3vw;
|
||||||
|
}
|
||||||
|
.process-flow .svg:nth-child(even) > svg
|
||||||
|
{
|
||||||
|
width: 18px;
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 420px) and (max-width: 600px)
|
||||||
|
{
|
||||||
|
body
|
||||||
|
{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
.process-flow
|
||||||
|
{
|
||||||
|
padding: 5px 5vw;
|
||||||
|
}
|
||||||
|
.process-flow .svg:nth-child(even) > svg
|
||||||
|
{
|
||||||
|
width: 5vw;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 600px)
|
||||||
|
{
|
||||||
|
body
|
||||||
|
{
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
.process-flow
|
||||||
|
{
|
||||||
|
padding: 10px 10vw;
|
||||||
|
}
|
||||||
|
.process-flow .svg:nth-child(even) > svg
|
||||||
|
{
|
||||||
|
width: 5vw;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
footer
|
footer
|
||||||
{
|
{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -35,6 +86,7 @@ main
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
min-width: 375px;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav
|
nav
|
||||||
|
|
@ -48,6 +100,14 @@ nav
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .actions
|
nav .actions
|
||||||
|
{
|
||||||
|
display: inline-flex;
|
||||||
|
justify-content: flex-end;
|
||||||
|
align-items: center;
|
||||||
|
flex: 1 1 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav .main-logo
|
||||||
{
|
{
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
@ -72,12 +132,6 @@ svg
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 20px 10vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.process-flow > *
|
|
||||||
{
|
|
||||||
margin: 0 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.process-flow h3
|
.process-flow h3
|
||||||
|
|
@ -93,12 +147,6 @@ svg
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.process-flow .svg:nth-child(even) > svg
|
|
||||||
{
|
|
||||||
width: 5vw;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.toggle
|
.toggle
|
||||||
{
|
{
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
|
|
|
||||||
|
|
@ -48,8 +48,10 @@ class MainComponent extends Component
|
||||||
<main>
|
<main>
|
||||||
<link rel="stylesheet" type="text/css" href={'/assets/theme/' + this.props.theme + '.css'} />
|
<link rel="stylesheet" type="text/css" href={'/assets/theme/' + this.props.theme + '.css'} />
|
||||||
<nav>
|
<nav>
|
||||||
<div></div>
|
<div className="actions"> </div>
|
||||||
<Svg src={LogoSvg}/>
|
<div className="main-logo">
|
||||||
|
<Svg src={LogoSvg}/>
|
||||||
|
</div>
|
||||||
<div className="actions">
|
<div className="actions">
|
||||||
<SvgToggle default={LangSvg} text={this.props.strings.lang}
|
<SvgToggle default={LangSvg} text={this.props.strings.lang}
|
||||||
toggle={(checked) => this.toggleLang(checked)} value={this.props.lang === 'en'}/>
|
toggle={(checked) => this.toggleLang(checked)} value={this.props.lang === 'en'}/>
|
||||||
|
|
@ -78,6 +80,7 @@ class MainComponent extends Component
|
||||||
<footer>
|
<footer>
|
||||||
<div>{this.props.strings.company_name}</div>
|
<div>{this.props.strings.company_name}</div>
|
||||||
<div>{this.props.strings.address_one_line}</div>
|
<div>{this.props.strings.address_one_line}</div>
|
||||||
|
<div>{this.props.strings.email_contact}</div>
|
||||||
</footer>
|
</footer>
|
||||||
</main>)
|
</main>)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue