Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add background #1

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Add background #1

wants to merge 3 commits into from

Conversation

IlyaBat9
Copy link
Member

@IlyaBat9 IlyaBat9 commented Mar 8, 2020

No description provided.

@IlyaBat9 IlyaBat9 requested a review from toplenboren March 8, 2020 01:07
@IlyaBat9 IlyaBat9 added enhancement New feature or request invalid This doesn't seem right labels Mar 8, 2020
@IlyaBat9
Copy link
Member Author

IlyaBat9 commented Mar 8, 2020

image

@IlyaBat9 IlyaBat9 requested a review from SophyaKazakova March 8, 2020 01:10
@@ -3,4 +3,34 @@
}
.mb-20 {
margin-bottom: 20px
}
body {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше стили тегов в самый верх помечать, а классы ниже уже

let num = Math.floor(Math.random() * (imgArr.length));
let imageName = "url('static/background/" + imgArr[num]+ "')";
// let block = document.getElementsByClassName('bg-image');
// block.style.backgroundImage = imageName;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Комменты:(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это я хотел проконсультироваться у тебя, почему не работает.

@@ -0,0 +1,11 @@
function changeBackgroundImage() {
let imgArr = ["1.bmp","2.bmp","3.bmp","4.bmp","5.bmp"];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bmp дорогие, почему не jpeg?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А они вложены в репозиторий?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да, уже в dev лежат. Да, папка весит 40 Мб.

width: 100%;
text-align: center;
}
li a{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^

@IlyaBat9
Copy link
Member Author

IlyaBat9 commented Mar 8, 2020

Ты не понял. Я тебя не техническую сторону спрашиваю, а эстетическую. Скриншот приложил.

@toplenboren
Copy link
Member

Ты не понял. Я тебя не техническую сторону спрашиваю, а эстетическую. Скриншот приложил.

Так ты пиши тогда хотя бы дескрипшене пулл-рекветса, что это ворк-ин-прогресс, Дескрипшен пустой

@toplenboren
Copy link
Member

Текст на белый на всех фотках изменен? На многих фотках будет просто ничего не видно. Например на 5.bmp или на 4.bmp

Мне с точки зрения визуала все ок, интерфейс свою функцию «Быстро дать доступ к информации» выполняет, с фотками это будет эстетичнее и прикольнее.

В блюре фотографии на 8% сильно не уверен, мне кажется, стоит либо жестко блюрить (25-40), либо уже вообще не блюрить. Создается эффект некачественного изображения

Мне кажется лучше проконсультироваться у @Sophushka8

@IlyaBat9
Copy link
Member Author

IlyaBat9 commented Mar 8, 2020

Нет, специально подложил прозрачную тёмную подложку. С её помощью всё видно.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants