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
9 changes: 9 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-export-default-from"
]
}
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = {
},
plugins: [
],
ignorePatterns: ['dist/*.js'],
rules: {
'max-len': ['error', { code: 120 }],
},
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ node_modules/
.eslintcache

# Istanbul test coverage tool
.nyc_output
.nyc_output
13 changes: 0 additions & 13 deletions base/parser-error.js

This file was deleted.

3,707 changes: 3,707 additions & 0 deletions dist/index.0eb7560e44a0ca795f3b.js

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Github Issues Browser</title>
<link href="styles.0eb7560e44a0ca795f3b.css" rel="stylesheet"></head>

<body>
<div class="search">
https://github.com/
<input class='search__user-input' type="search" placeholder="user"></input> /
<input class='search__repo-input' type="search" placeholder="repo">
<button class='search__button'>Поиск</button>
</div>
<div class="loader"></div>
<div class="search-result"></div>
<script src="index.0eb7560e44a0ca795f3b.js"></script></body>

</html>
42 changes: 42 additions & 0 deletions dist/styles.0eb7560e44a0ca795f3b.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.search__user-input {
border-color: transparent;
border-bottom: 1px solid;
}

.search__user-input:active {
border-color: transparent;
border-bottom: 1px solid #1c87c9;
}

.search__repo-input {
border-color: transparent;
border-bottom: 1px solid;
}

.search__repo-input:active {
border-color: transparent;
border-bottom: 1px solid #1c87c9;
}

.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid darkgray;
width: 80px;
height: 80px;
animation: spin 2s linear infinite;
display: none;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.search-result__issue {
border-radius: 8px;
background: #f0f0f0; /* Цвет фона */
border: 1px solid black; /* Параметры рамки */
padding: 15px; /* Поля вокруг текста */
margin-bottom: 10px; /* Отступ снизу */
}
34 changes: 0 additions & 34 deletions index.html

This file was deleted.

Loading