Skip to content

Commit

Permalink
LDBR-2.25: Добавить фавиконы, поправить верстку. (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
DPeshkoff authored Nov 10, 2021
1 parent cde26da commit 4fdd171
Show file tree
Hide file tree
Showing 21 changed files with 55 additions and 131 deletions.
Binary file added favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/icons/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions public/assets/icons/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name":"Brrrello",
"short_name":"Brr...",
"icons":[
{
"src":"/android-chrome-192x192.png",
"sizes":"192x192","type":"image/png"
},
{
"src":"/android-chrome-512x512.png",
"sizes":"512x512","type":"image/png"
}
],
"theme_color":"#ffffff",
"background_color":"#ffffff",
"display":"standalone"
}
Binary file modified public/assets/logo.webp
Binary file not shown.
3 changes: 3 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *
Crawl-delay: 1
Host: http://95.163.213.142/
2 changes: 2 additions & 0 deletions src/components/Card/Card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ $card-due-date-done: forestgreen;

&__title {
display: inline;
overflow: hidden;
text-overflow: ellipsis;
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/components/CardList/CardList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ $scrollbar-width: 1600px;
&__title {
font-size: 20px;
margin-right: auto;

overflow: hidden;
text-overflow: ellipsis;
}

span:empty {
Expand Down
10 changes: 7 additions & 3 deletions src/components/Footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
@import '../../styles/scss/Constants';
@import '../../styles/scss/Fonts';
@import '../../styles/scss/Common';

/* Таблица стилей для компонента footer */

.footer {
position: fixed;
height: 50px;
background-color: #005f73;
background-color: $main-theme-secondary-color;
bottom: 0;
left: 0;
right: 0;
Expand All @@ -14,8 +18,8 @@


&__text {
color: azure;
font-family: 'IBM Plex Sans', sans-serif;
color: rgb(255, 255, 255);
font-family: 'Montserrat', sans-serif;
text-align: center;
}
}
19 changes: 11 additions & 8 deletions src/components/Navbar/Navbar.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
@import '../../styles/scss/Constants';
@import '../../styles/scss/Fonts';
@import '../../styles/scss/Common';

/* navbar style */

.navbar__wrapper {
background-color: #258085;
background-color: $main-theme-color;
border-bottom: 1px solid #C3C3C3;
user-select: none;
}

.navbar {
z-index: 5;
height: 56px;
max-width: 1680px;
position: relative;
background-color: #258085;
background-color: $main-theme-color;

margin: 0 auto;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-family: 'Montserrat', sans-serif;
}

.navbar__header {
Expand All @@ -29,20 +32,20 @@
}

.navbar__link__title {
color: #ffffff;
color: rgb(255, 255, 255);
text-decoration: none;
}

.navbar__links {
display: inline;
display: block;
float: right;
font-size: 18px;
}

.navbar__link {
display: inline-block;
padding: 16px 10px;
color: #e5e9f5;
padding: 18px 12px;
color: rgb(255, 255, 255);
text-decoration: none;
cursor: pointer;
}
Expand Down
8 changes: 7 additions & 1 deletion src/index_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">

<meta http-equiv="Content-Security-Policy" content="default-src 'self' <%= htmlWebpackPlugin.options.backend %> blob: ws:; style-src 'self'; font-src 'self'; object-src 'none'; script-src 'self' 'unsafe-eval' https://storage.googleapis.com/workbox-cdn">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' <%= htmlWebpackPlugin.options.backend %> blob: ws:; style-src 'self'; font-src 'self'; object-src 'none'; script-src 'self'">

<!-- for super modern broswers - coloring browser header -->
<meta name="theme-color" content="#258085">
Expand All @@ -15,8 +15,14 @@
<meta name="Keywords" content="Trello, Трелло, Brrrello, Брррелло">
<meta name="geo.region" content="RU">
<meta name="geo.placename" content="Moscow">
<meta name="description" content="Brrrello — это сервис для командной работы, позволяющий планировать и публиковать текущие задачи, систематизировать их и следить за их исполнением.">

<title>Brrrello</title>

<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/icons/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicons/favicon-16x16.png">
<link rel="manifest" href="/assets/icons/favicons/site.webmanifest">
</head>

<body>
Expand Down
115 changes: 0 additions & 115 deletions src/styles/scss/Card.scss

This file was deleted.

Empty file removed src/styles/scss/CardList.scss
Empty file.
2 changes: 1 addition & 1 deletion src/styles/scss/CardListPopup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.popup {
z-index: 10;
position: absolute;
background: #ffffff;
background: rgb(255, 255, 255);
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/scss/CardPopup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.popup {
z-index: 10;
position: absolute;
background: #ffffff;
background: rgb(255, 255, 255);
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
Expand Down
1 change: 1 addition & 0 deletions src/styles/scss/Constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $tertiary-bg-color: rgb(170, 201, 208);

$main-theme-color: rgb(37, 128, 133);
$main-theme-color__focus: rgb(77, 156, 245);
$main-theme-secondary-color: rgb(0, 95, 115);

$transparent-bg-color: rgba(255, 255, 255, 0.3);
$default-box-shadow-color: rgba(0, 0, 0, 0.2);
Expand Down
2 changes: 2 additions & 0 deletions src/views/BoardsView/BoardsView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ $team-font-size: 25px;
&__header {
padding-bottom: 1px;
font-size: $card-header-font-size;
overflow: hidden;
text-overflow: ellipsis;
border-bottom: dotted 1px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/views/ProfileView/ProfileView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ body {
/* внешняя обертка под поля регистрации */
.profile__input__wrapper {
position: relative;
margin: 2.4em 0 1.5em 1.5em;
margin: 2.4em 0 1.5em;
}

/* заголовок поля регистрации */
Expand Down

0 comments on commit 4fdd171

Please sign in to comment.