Лабораторная 2

This commit is contained in:
Даниил Путинцев 2023-11-13 22:17:17 +04:00
parent 0939ffc69f
commit ec1ad0352e
30 changed files with 2978 additions and 0 deletions

3
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

9
.idea/RepIP.iml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/RepIP.iml" filepath="$PROJECT_DIR$/.idea/RepIP.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

67
Lab2/about-us.html Normal file
View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>О нас</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class= "allAboutUs d-flex flex-fill align-items-center justify-content-center min-vh-100">
<div class="bg-white rounded-5 p-5">
<h1 class="text-center">О нас</h1>
<div class="d-flex flex-column flex-md-row justify-content-evenly align-items-center">
<p class="text-center">С самого детства мы<br>хотели открыть<br>ресторан и шли к нашей<br>мечте. На пути было<br>много трудностей но<br>мы справились<br>с каждой</p>
<img class= "w-50 h-50" src="images/Man1.png" alt="">
</div>
</div>
</div>
</main>
<footer>
<div class="container mb-0">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</body>
</html>

55
Lab2/admin.html Normal file
View File

@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>Войти/Регистрация</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark d-flex justify-content-center">
<h2 class="text-light">Страница Админа</h2>
</nav>
</header>
<main>
<div class= "allAdmin d-flex align-items-center justify-content-center min-vh-100">
<div class="bg-white rounded-5 p-5">
<h1 class="text-center">Настройка предложений</h1>
<p class="mt-3">Выберите файл с картинкой для блюда</p>
<div class="mt-3 mb-3">
<input class="form-control" type="file" id="formFile">
</div>
<p class="mt-3">Напишите цену блюда</p>
<div class="mt-3 mb-3">
<input class="form-control" type="text">
</div>
<p class="mt-3">Описание блюда</p>
<div class="mt-3 mb-3">
<textarea name="fjdjfj" id="" cols="30" rows="10"></textarea>
</div>
<div class="d-flex justify-content-center">
<a href="menu.html" class="btn btn-danger">Добавить блюдо</a>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</body>
</html>

91
Lab2/basket.html Normal file
View File

@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>О нас</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class= "allRegistration d-flex align-items-center justify-content-center min-vh-100">
<div class="bg-white rounded-5 p-5">
<h1 class="text-center">Корзина</h1>
<p class="mt-3">В вашей корзине:</p>
<div class="row d-flex justify-content-center align-items-center border-bottom">
<div class="col-12 col-md-3 d-flex justify-content-center">
<img class="w-50 h-50" src="images/Shaurma.png" alt="">
</div>
<div class="col-12 col-md-3 mt-2">
<p class="text-center mb-0">Шаурма с курицей</p>
</div>
<div class="col-12 col-md-3 mt-2 mb-2">
<p class="text-center mb-0">Цена: 240</p>
</div>
<div class="col-12 col-md-3 d-flex justify-content-center flex-row">
<button class="d-flex align-items-center" type="button">
-
</button>
<div class="d-flex align-items-center">
<p class="text-center mb-0">240</p>
</div>
<button class="d-flex align-items-center" type="button">
+
</button>
</div>
</div>
<p></p>
<div class="d-flex justify-content-center">
<a href="" class="btn btn-danger">Оформить заказ</a>
</div>
</div>
</div>
</main>
<footer>
<div class="container mb-0">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</body>
</html>

87
Lab2/contacts.html Normal file
View File

@ -0,0 +1,87 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>Наши контакты</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class= "allAboutUs d-flex flex-fill align-items-center justify-content-center min-vh-100">
<div class="bg-white rounded-5 p-5">
<h1 class="text-center mb-5">Наши контакты</h1>
<div class="justify-content-evenly align-items-center">
<div class="row">
<div class="col text-center">
Адресс
</div>
<div class="col text-center">
Телефон
</div>
<div class="col text-center">
Соцсети
</div>
</div>
<div class="row mt-3">
<div class="col text-center">
Ул. Врача михайлова 65
</div>
<div class="col text-center">
+79439419513
</div>
<div class="col text-center">
ВК: Fastest Food<br>ТГ: Fastest Food
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</body>
</html>

BIN
Lab2/images/Background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
Lab2/images/Burger.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
Lab2/images/Cola.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
Lab2/images/Man1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

BIN
Lab2/images/Salat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
Lab2/images/Shaurma.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
Lab2/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

76
Lab2/index.html Normal file
View File

@ -0,0 +1,76 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>Главная страница</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<div class="d-flex flex-column flex-fill">
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="row d-flex align-content-center flex-fill mx-0 min-vh-100">
<div class="col-lg-6 col-sm-12 d-flex align-items-center justify-content-center">
<div class="offer p-5 rounded-5 d-flex flex-column justify-content-center">
<p class="text-center font-size">НОВИНКУ!!!<br>за 240 рублей<br>куриная шаурма</p>
<button type="button" class="btn btn-danger rounded-pill">Купить</button>
</div>
</div>
<div class="col-lg-6 col-sm-12 d-flex align-content-center justify-content-center py-4">
<img class = "im w-100" src="images/Shaurma.png">
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>

70
Lab2/login.html Normal file
View File

@ -0,0 +1,70 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>Войти/Регистрация</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<div class="position-absolute background-overlay"></div>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class= "allRegistration d-flex align-items-center justify-content-center min-vh-100">
<div class="bg-white rounded-5 p-5">
<h1 class="text-center">Регистрация/Вход</h1>
<p>Почта</p>
<input type="text" value="">
<p class="mt-3">Пароль</p>
<input type="text" value="">
<button type="button" class="mt-3">Войти</button>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</body>
</html>

71
Lab2/meal.html Normal file
View File

@ -0,0 +1,71 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>О нас</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class= "allAboutUs d-flex flex-fill align-items-center justify-content-center min-vh-100">
<div class="bg-white rounded-5 p-5">
<h1 class="text-center">Шаурма</h1>
<div class="d-flex flex-column flex-md-row justify-content-evenly align-items-center">
<p class="text-center">Вкуснейшая шаурма сделанная из специально выращенной курицы, овощей,<br>сбираемых на плантации специально для нашей компании</p>
<img class= "w-50 h-50" src="images/Shaurma.png">
</div>
<div class="d-flex justify-content-center">
<a href="basket.html" class="btn btn-danger">Добавить в корзину</a>
</div>
</div>
</div>
</main>
<footer>
<div class="container mb-0">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
</body>
</html>

107
Lab2/menu.html Normal file
View File

@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="./style.css">
<title>Меню</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
</head>
<body>
<header>
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
<a href="index.html" class="navbar-brand">Fastest Food</a>
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
aria-controls="navbarContent" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarContent">
<ul class="navbar-nav me-auto mb-auto">
<li class="nav-item">
<a href="login.html" class="nav-link">Войти/Регистрация</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">О нас</a>
</li>
<li class="nav-item">
<a href="menu.html" class="nav-link">Меню</a>
</li>
<li class="nav-item">
<a href="contacts.html" class="nav-link">Наши контакты</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="d-flex justify-content-center min-vh-100 align-items-center">
<div class="container menu mx-0">
<div class="row">
<div class="col-lg-3 col-sm-6 d-flex justify-content-center">
<img class="Menu" src="images/ShaurmaForMenu.png">
</div>
<div class="col-lg-3 col-sm-6 d-flex justify-content-center">
<img class="Menu" src="images/Burger.png">
</div>
<div class="col-lg-3 col-sm-6 d-flex justify-content-center">
<img class="Menu" src="images/Salat.png">
</div>
<div class="col-lg-3 col-sm-6 d-flex justify-content-center">
<img class="Menu" src="images/Cola.png">
</div>
</div>
<div class="row mt-3">
<div class="col-lg-3 col-sm-6 text-center">
<p>Шаурма с курицей</p>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<p>Бургер с говядиной</p>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<p>Салат цезарь</p>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<p>Кола</p>
</div>
</div>
<div class="row mt-3">
<div class="col-lg-3 col-sm-6 text-center">
<a href="meal.html" class="btn-danger btn">Купить</a>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<a href="" class="btn-danger btn">Купить</a>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<a href="" class="btn-danger btn">Купить</a>
</div>
<div class="col-lg-3 col-sm-6 text-center">
<a href="" class="btn-danger btn">Купить</a>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col d-flex align-items-center">
<h2>Fastest Food</h2>
</div>
<div class="col">
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>

2240
Lab2/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

20
Lab2/package.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "int-prog",
"version": "1.0.0",
"type": "module",
"scripts": {
"start": "vite",
"serve": "http-server -p 3000 ./dist/",
"build": "vite build",
"prod": "npm-run-all build serve"
},
"dependencies": {
"bootstrap": "5.3.2",
"@fortawesome/fontawesome-free": "6.4.2"
},
"devDependencies": {
"http-server": "14.1.1",
"vite": "4.4.9",
"npm-run-all": "4.1.5"
}
}

48
Lab2/style.css Normal file
View File

@ -0,0 +1,48 @@
main{
background-color: bisque;
}
.offer{
background-color: #ffffff;
}
.time{
font-size: 14px;
}
p{
font-size: 16px;
font-family: Inter;
}
.allRegistration{
background-image: url(images/BakcgroundRegistration.png);
}
.allAboutUs{
background-image: url(images/BackgroundAboutUs.png);
}
.allOurContacts{
background-image: url(images/BackgroundOurContacts.png);
}
@media (max-width: 768px){
.allAboutUs{
background-image: none;
background-color: #ffffff;
}
.allOurContacts{
background-image: none;
background-color: #ffffff;
}
.allRegistration{
background-image: none;
background-color: #ffffff;
}
.allAdmin{
background-image: none;
background-color: #ffffff;
}
}
.Menu{
width: 250px;
height: 220px;
}

14
Lab2/vite.config.js Normal file
View File

@ -0,0 +1,14 @@
import { resolve } from 'path'
import { defineConfig } from 'vite'
export default defineConfig({
build: {
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html'),
page2: resolve(__dirname, 'page2.html'),
page3: resolve(__dirname, 'page3.html'),
},
},
},
})