unknown 5 kuukautta sitten
vanhempi
commit
ccc1debb8b

BIN
AlterAuto/AlterAuto/assets/imgs/Thumbs.db


BIN
AlterAuto/AlterAuto/assets/imgs/чел.jpg


+ 1 - 14
AlterAuto/AlterAuto/assets/styles/style.css

@@ -708,17 +708,4 @@ div[style*="display: grid;"] {
 .profile-picture .plus {
     font-size: 2em;
     color: white;
-}
-
-/*для двух кнопок на одном уровне*/
-
-.button-container {
-    display: flex;
-    justify-content: space-between;
-    width: 100%;
-}
-
-.half-orange {
-    width: 48%;
-    margin-top: 10px;
-}
+}

+ 11 - 0
AlterAuto/AlterAuto/lifeAkk.html

@@ -89,6 +89,17 @@
             }
         }
     </script>
+    <style>
+        .button-container {
+            display: flex;
+            justify-content: space-between;
+            width: 100%;
+        }
 
+        .half-orange {
+            width: 48%;
+            margin-top: 10px;
+        }
+    </style>
 </body>
 </html>

+ 2 - 3
AlterAuto/AlterAuto/main.html

@@ -286,9 +286,8 @@
 
 
     <div class="map" id="map">
-        <iframe
-            src="https://yandex.ru/map-widget/v1/?um=constructor%3Acade9232eb2af085e77e885e4d30f6826f4cebf21c063fc1d1bcaf3fdc442935&amp;source=constructor"
-            width="100%" height="499" frameborder="0"></iframe>
+        <iframe src="https://yandex.ru/map-widget/v1/?um=constructor%3Afdfa194cd4d629f4f06983ece2f3ce46e702b7a28ceaa80a6081d7d696fe3d13&amp;source=constructor" 
+        width="100%" height="505" frameborder="0"></iframe>
         <div class="location">
             <div class="logo">
                 <img src="assets/imgs/logoo.png" alt="logo">

+ 143 - 0
AlterAuto/AlterAuto/otziv.html

@@ -0,0 +1,143 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <link rel="stylesheet" href="./assets/styles/style.css">
+    <title>Отзывы</title>
+</head>
+<body>
+    <div class="big_con" style="height: 100vh; display: flex; justify-content: center; align-items: center;">
+        <div class="block_auth" style="width: 600px; border-radius: 0;">
+            <h2 style="color: black; padding-bottom: 10px;">ОТЗЫВЫ</h2>
+            <div class="review-container">
+                <div class="review-item">
+                    <div class="profile-picture">
+                        <img src="/assets/imgs/чел.jpg" alt="Профиль">
+                    </div>
+                    <div class="review-info">
+                        <p class="review-name">Иван Иванов</p>
+                        <p class="review-text">Отзыв об автосалоне импортных машин.</p>
+                    </div>
+                </div>
+            </div>
+            <div class="arrow-container" style="margin-top: 20px;">
+                <span class="arrow left-arrow" onclick="showPreviousReview()">&lt;</span>
+                <span class="arrow right-arrow" onclick="showNextReview()">&gt;</span>
+            </div>
+            <span class="close" onclick="window.location.href='main.html'">&times;</span>
+        </div>
+    </div>
+    <script>
+        const reviews = [
+            { name: "Иван Иванов", text: "Отзыв об автосалоне импортных машин.", avatar: "avatar.jpg" },
+            { name: "Петр Петров", text: "Отличный сервис, рекомендую!", avatar: "avatar2.jpg" },
+            // Добавьте больше отзывов
+        ];
+
+        let currentReviewIndex = 0;
+
+        function showPreviousReview() {
+            currentReviewIndex = (currentReviewIndex - 1 + reviews.length) % reviews.length;
+            updateReview();
+        }
+
+        function showNextReview() {
+            currentReviewIndex = (currentReviewIndex + 1) % reviews.length;
+            updateReview();
+        }
+
+        function updateReview() {
+            const review = reviews[currentReviewIndex];
+            const reviewItem = document.querySelector('.review-item');
+            reviewItem.querySelector('.review-name').textContent = review.name;
+            reviewItem.querySelector('.review-text').textContent = review.text;
+            reviewItem.querySelector('.profile-picture img').src = review.avatar;
+        }
+
+        updateReview();
+    </script>
+    <style>
+        .big_con {
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            height: 100vh;
+        }
+
+        .block_auth {
+            background-color: #fff;
+            padding: 30px;
+            border-radius: 10px;
+            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
+            width: 600px;
+        }
+
+        .review-container {
+            display: flex;
+            align-items: center;
+            margin-bottom: 20px;
+        }
+
+        .review-item {
+            display: flex;
+            align-items: center;
+            padding: 20px;
+            border: 1px solid #ccc;
+            border-radius: 10px;
+            width: 100%;
+        }
+
+        .profile-picture {
+            width: 100px;
+            height: 100px;
+            border-radius: 50%;
+            overflow: hidden;
+            margin-right: 20px;
+        }
+
+        .profile-picture img {
+            width: 100%;
+            height: 100%;
+            object-fit: cover;
+        }
+
+        .review-info {
+            flex: 1;
+        }
+
+        .review-name {
+            font-weight: bold;
+            font-size: 1.2em;
+            margin-bottom: 10px;
+        }
+
+        .review-text {
+            font-size: 1em;
+            line-height: 1.5;
+        }
+
+        .arrow-container {
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            margin-top: 20px;
+        }
+
+        .arrow {
+            cursor: pointer;
+            font-size: 24px;
+            color: #777;
+        }
+
+        .close {
+            position: absolute;
+            top: 10px;
+            right: 10px;
+            font-size: 24px;
+            cursor: pointer;
+            color: #777;
+        }
+    </style>
+</body>
+</html>

+ 0 - 0
AlterAuto/AlterAuto/otzv2.html


+ 0 - 0
AlterAuto/AlterAuto/otzv3.html


+ 0 - 0
AlterAuto/AlterAuto/otzv4.html


+ 0 - 0
AlterAuto/AlterAuto/otzv5.html


+ 0 - 0
AlterAuto/AlterAuto/otzv6.html


+ 0 - 0
AlterAuto/AlterAuto/otzv7.html