Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
source-Alexander-Rudenko committed Dec 16, 2024
1 parent 3968694 commit d3f5b3c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Frontend проекта "KudaGo" Команда 7
* [Backend](https://github.com/go-park-mail-ru/2024_2_Team7)

# Проект
* [vyhodnoy.ru](http://37.139.40.252/)
* [vyhodnoy.online](https://vyhodnoy.online/events)

# figma
* https://www.figma.com/design/B9I0SPwTjYkMcqq6MwO2jW/kudaGo?node-id=0-1&t=DndAvQ4zTz4isemp-1
Expand Down
28 changes: 14 additions & 14 deletions public/src/components/EventContentPage/EventContentPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,42 +149,42 @@
font-weight: bold;
text-align: center;
}
/* Кнопка приглашения */

.buttonInvite {
background: #fff;
border: 2px solid #007bff; /* Цвет рамки */
color: #007bff; /* Цвет текста */
padding: 10px 20px; /* Отступы */
border-radius: 20px; /* Скругление углов */
font-size: 16px; /* Размер шрифта */
cursor: pointer; /* Указатель при наведении */
transition: background-color 0.2s ease, color 0.2s ease; /* Плавный переход */
border: 2px solid #007bff;
color: #007bff;
padding: 10px 20px;
border-radius: 20px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}

.buttonInvite:hover {
background-color: #007bff; /* Цвет фона при наведении */
color: #fff; /* Цвет текста при наведении */
background-color: #007bff;
color: #fff;
}
/* Добавьте это в ваш CSS файл */

.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Затемнение */
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000; /* Убедитесь, что это выше других элементов */
z-index: 1000;
}

.invite-container {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1001; /* Убедитесь, что это выше overlay */
z-index: 1001;
}
.avatar-image {
width: 40px; /* Ширина аватарки */
Expand Down
5 changes: 1 addition & 4 deletions public/src/components/EventContentPage/EventContentPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@ export class EventContentPage {
zoom: mock_data.zoom,
controls: ['geolocationControl', 'typeSelector', 'fullscreenControl', 'zoomControl', 'rulerControl'],
});
// создать метку
const myPlacemark = new ymaps.Placemark([mock_data.latitude, mock_data.longitude], {
hintContent: 'Место',
}, {
iconLayout: 'default#image',
// Своё изображение иконки метки.
iconImageHref: locationIcon,
iconImageSize: [32, 32],
iconImageOffset: [-16, -32]
});
myPlacemark.events.add('click', () => {
//navigate(mock_data.id);
});
myMap.geoObjects.add(myPlacemark);
};
Expand Down Expand Up @@ -247,7 +244,7 @@ export class EventContentPage {
navigate(currentPath + "/edit");
});

//array of post ids
//array of post

const favoritesAddButton = document.createElement('button');
favoritesAddButton.className = 'buttonSubscribe';
Expand Down
2 changes: 0 additions & 2 deletions public/src/components/EventCreateForm/EventCreateForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export class EventCreateForm {
});

this.form.innerHTML = html;
//config?
const hiddenLatitudeInput = document.createElement('input');
hiddenLatitudeInput.type = 'hidden';
hiddenLatitudeInput.id = 'latitude';
Expand All @@ -164,7 +163,6 @@ export class EventCreateForm {
mapContainer.style.height = '400px'; // Высота карты
this.form.insertBefore(mapContainer, this.form.querySelector('.event-create-form__submit-btn'));

let mock_data = { latitude: 55.79720450649618, longitude: 37.53777629133753, zoom: 17, needMark: false };

const img = document.createElement('img');
img.src = placeholderImage;
Expand Down

0 comments on commit d3f5b3c

Please sign in to comment.