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
import Link from "next/link"; | |
import { Wrapper, Box, Title, Menu, MenuItem } from "./styles"; | |
const component = () => { | |
return ( | |
<Wrapper> | |
<Box backgroundImageSrc="https://picsum.photos/1200/1300"> | |
<Title>Man</Title> | |
<Menu> | |
<Link href="/catalog"> |
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
import { Wrapper, Content, Box, Title, List, Item } from "./styles"; | |
const component = () => ( | |
<Wrapper> | |
<Content> | |
<Box> | |
<Title>Clothes</Title> | |
<List> | |
<Item>Dresses</Item> | |
<Item>T-shirts</Item> |
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
import React from "react"; | |
import NextApp from "next/app"; | |
import { ModalProvider } from "styled-react-modal"; | |
import { StyleSheetManager } from "styled-components"; | |
import store from "../store"; | |
import { GlobalStyle } from "../styles/App/styles"; | |
GlobalStyle; |
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
static fetchBuff163Dota() { | |
return new Promise(async (resolve, reject) => { | |
try { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.setViewport({ | |
width: 1920, | |
height: 1080, | |
}); | |
await page.goto( |
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
import { handleActions } from "redux-actions"; | |
import * as aboutFilmActions from "../actions/aboutFilmActions"; | |
import { Record, List } from "immutable"; | |
const FilmRecord = Record({ | |
title: "", | |
year: 0, | |
ageRestriction: 0, | |
slug: "", | |
description: "", |
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
case types.SEARCH: | |
const newState = state.filter(el => { | |
for (let prop in el) { | |
return el[prop].includes(action.query); | |
} | |
return false; | |
}); | |
return newState; |
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
import React, { useEffect } from "react"; | |
import { connect } from "react-redux"; | |
import Home from "../pages/Home"; | |
import { initForm } from "../store/forms/actions"; | |
import { FormsActionTypes } from "../store/forms/types"; | |
export interface HomePageContainerProps { | |
onInitForm: FormsActionTypes; | |
} |
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
Томас Алва Эдисон — изобретатель, бизнесмен, получивший за свою жизнь 1093 патента. | |
1. Электрический счетчик голосов на выборах. | |
Это был первый патент Эдисона. Устройство позволяло избирателям нажимать кнопки «да» или «нет», вместо того чтобы писать на бумаге. | |
Медленно работал. | |
Парламент отказался от изобретения в пользу привычного письменного счета. | |
Img: https://bigpicture.ru/wp-content/uploads/2015/02/EdisonInventions01.jpg | |
2. Автоматический телеграф | |
Чтобы усовершенствовать телеграф, Эдисон создал еще один — на основе изобретенного им же перфорированного бора — для которого не нужен был человек, чтобы печатать сообщение на другом конце. Эта новая технология увеличила количество слов, передаваемых в минуту, с 25-40 до 1000! Эдисон также стал изобретателем «говорящего телеграфа». |
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
<div className="towns"> | |
<div className="towns-content"> | |
<div className="towns-content_cards"> | |
<div className="towns-content_cards__card"> | |
<img src="/static/4screen/foto1.png" /> | |
<div className="towns-content_cards__card_label"> | |
<h3>Токио</h3> | |
<p>В Японии начинается сезон сакуры "блабла" lorem chick</p> | |
</div> | |
</div> |
NewerOlder