Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 42 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
],
"dependencies": {
"react": "16.8.6",
"react-dom": "16.8.6"
"react-dom": "16.8.6",
"classnames": "latest"
},
"devDependencies": {
"@hellroot/eslint-config": "1.8.0",
"@hellroot/stylelint-config": "1.1.0",
"@types/classnames": "2.2.8",
"@types/react": "16.8.18",
"eslint": "5.12.0",
"npm-run-all": "4.1.5",
"prettier": "1.17.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<title>React App</title>
<title>Яндекс.Почта</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
27 changes: 0 additions & 27 deletions src/app/app.css

This file was deleted.

25 changes: 0 additions & 25 deletions src/app/app.jsx

This file was deleted.

29 changes: 29 additions & 0 deletions src/app/app.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@font-face {
font-family: YandexSansBold;
/*src: url(fonts/YandexSansDisplay-Bold.ttf);*/
}

@font-face {
font-family: YandexSansThin;
/*src: url(/src/app/fonts/YandexSansDisplay-Thin.ttf);*/
}

@font-face {
font-family: HelveticaNeue;
/*src: url(/src/app/fonts/HelveticaNeueCyr-Medium.otf);*/
}

@font-face {
font-family: HelveticaNeueLight;
/*src: url(/src/app/fonts/HelveticaNeueCyr-Light.otf);*/
}

body {
position: relative;

min-width: 750px;
max-width: 1600px;
padding: 0;
margin: 0 auto;
background: #e5eaf0;
}
11 changes: 0 additions & 11 deletions src/app/app.test.jsx

This file was deleted.

31 changes: 31 additions & 0 deletions src/app/app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import React, { Component } from 'react';

import styles from './app.module.css';
import { Header } from './structure/header/header';
import { Menu } from './structure/menu/menu';
import { MainContent } from './structure/main-content/mainContent';

export interface LetterType {
key: string;
id: string;
// classList: string[];
text: string[];
author : string;
topic : string;
date : string;
isChecked: boolean;
isVisible: boolean;
}


export class App extends Component {
render() {
return (
<div className={styles.body}>
<Header />
<Menu />
<MainContent />
</div>
);
}
}
Binary file added src/app/fonts/HelveticaNeueCyr-Light.otf
Binary file not shown.
Binary file added src/app/fonts/HelveticaNeueCyr-Medium.otf
Binary file not shown.
Binary file added src/app/fonts/YandexSansDisplay-Bold.ttf
Binary file not shown.
Binary file added src/app/fonts/YandexSansDisplay-Thin.ttf
Binary file not shown.
File renamed without changes.
36 changes: 36 additions & 0 deletions src/app/structure/header/header.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*Start SearchInput*/

.header {
margin-top: 7px;
margin-bottom: 18px;
margin-left: 22px;
}

.header__lines,
.header__mainLogo {
margin: 0;
float: left;
}

.header__lines {
margin-top: 12px;
float: left;
}

.header__line {
width: 20px;
height: 3px;
margin-top: 4px;
background-color: #000000;
}

.header__mainLogo {
margin-top: 7px;
margin-left: 11px;
}

.clearfix:after {
display: table;
clear: both;
content: '';
}
Loading