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
10 changes: 0 additions & 10 deletions .babelrc

This file was deleted.

21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# hh-school-html

[Demo](http://leonidfeskov.github.io/hh-school-html/)

## Установка
* Установите [Node.js](https://nodejs.org/en/download/)
`brew install node`
* Установите [yarn](https://yarnpkg.com/lang/en/docs/install/)
`brew install yarn`
* Установите [parcel](https://parceljs.org)
`yarn global add parcel-bundler`
* Установите зависимости проекта `yarn install`

- Установите [Node.js](https://nodejs.org/en/download/)
`brew install node`
- Установите [yarn](https://yarnpkg.com/lang/en/docs/install/)
`brew install yarn`
- Установите зависимости проекта `yarn install`

## Для разработки:
`yarn dev`

откройте http://localhost:1234/
`yarn dev`

## Сборка:
`yarn build`

## Деплой на gh-pages:
`yarn deploy`
`yarn build`
4 changes: 0 additions & 4 deletions css/blocks/logo/logo-dark.svg

This file was deleted.

41 changes: 27 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
{
"name": "hh-school-html",
"version": "1.0.0",
"homepage": "http://leonidfeskov.github.io/hh-school-html/",
"main": "index.js",
"author": "Leonid Feskov",
"private": true,
"repository": "https://github.com/evgdudareff/hh-school-html",
"author": "Evgeny Dudarev <evgduda@mail.ru>",
"license": "MIT",
"scripts": {
"dev": "parcel index.html",
"dev2": "parcel popup.html",
"build": "parcel build index.html --public-url .",
"deploy": "yarn build && gh-pages -d dist"
"build": "cross-env NODE_ENV=production webpack --mode production",
"dev": "cross-env NODE_ENV=development webpack-dev-server --mode development --open"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/core": "^7.8.3",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"cross-env": "^7.0.0",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"gh-pages": "^2.1.1",
"less": "^3.10.3"
},
"dependencies": {
"@babel/runtime-corejs2": "^7.7.7"
"file-loader": "^5.0.2",
"html-webpack-plugin": "^3.2.0",
"imagemin-webpack-plugin": "^2.4.2",
"less": "^3.10.3",
"less-loader": "^5.0.0",
"mini-css-extract-plugin": "^0.9.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"style-loader": "^1.1.3",
"terser-webpack-plugin": "^2.3.4",
"url-loader": "^3.0.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
5 changes: 5 additions & 0 deletions src/images/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
9 changes: 4 additions & 5 deletions index.html → src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<title>HTML и CSS</title>
<link rel="stylesheet" href="css/styles.less" />
</head>
<body class="body">
<section class="navbar">
Expand Down Expand Up @@ -40,7 +39,7 @@
<div class="columns-wrapper">
<div class="header__content">
<div class="header__logo">
<a href="#" class="logo-link"><img class="logo" src="css/blocks/logo/logo.svg" alt="hh.ru" /></a>
<a href="#" class="logo-link"><img class="logo" src="images/logo.svg" alt="hh.ru" /></a>
</div>
<div class="header__nav">
<ul class="nav">
Expand Down Expand Up @@ -229,7 +228,7 @@ <h2 class="heading heading_level-2">Популярные товары</h2>
<div class="feature features-section__feature">
<img class="feature__image" src="images/delivery@3x.png" alt="Круглосуточная служба поддержки" />
<div class="feature__description">
Круглосуточная служба&nbspподдержки
Круглосуточная служба&nbsp;поддержки
</div>
</div>
</div>
Expand Down Expand Up @@ -280,7 +279,7 @@ <h2 class="heading heading_level-2">Популярные товары</h2>
<div class="column column_s-2 column_m-2 column_l-4">
<div class="footer__logo logo">
<div class="logo">
<a href="#" class="logo-link"><img class="logo" src="css/blocks/logo/logo-dark.svg" alt="hh.ru" /></a>
<a href="#" class="logo-link"><img class="logo" src="images/logo-dark.svg" alt="hh.ru" /></a>
</div>
</div>
</div>
Expand All @@ -300,7 +299,7 @@ <h2 class="heading heading_level-2">Популярные товары</h2>
</div>
</div>
</footer>
<script src="js/index.js"></script>

</body>

</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading