Skip to content

Conversation

@Ramazanmak
Copy link
Collaborator

No description provided.

@Ramazanmak Ramazanmak requested a review from mr150 October 27, 2025 09:37
@Ramazanmak Ramazanmak self-assigned this Oct 27, 2025
src/index.ejs Outdated
@@ -1,5 +1,6 @@
---
layout: 'base.ejs'
title: 'main'
Copy link
Contributor

Choose a reason for hiding this comment

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

Плохое название для параметра. Лучше что-то типа area


<%- include('../_includes/header/header.ejs') %>
<%- include('../_includes/header/header.ejs',{
visibility: headerVisibility
Copy link
Contributor

Choose a reason for hiding this comment

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

Тоже не очень подходящие названия параметров. Вообще не очевидно, что тут утилиты передаются. Все параметры с утилитами должны содержать css в названии

function handleIntersect(entries, observer){
entries.forEach(entry => {
if (!entry.isIntersecting){
logo.style.opacity = 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Просто делать прозрачным не подходит - картинка и ссылка ведь остаются на месте

Copy link
Contributor

Choose a reason for hiding this comment

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

И что с кодстайлом? Хотя бы ; везде должны быть

@Ramazanmak Ramazanmak requested a review from mr150 October 28, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants