Skip to content
Open

. #1

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
176 changes: 176 additions & 0 deletions catalog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meow</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style>
.sidebar {
width: 200px;
background-color: #000;
color: #fff;
height: 100vh;
position: fixed;
}
.sidebar a {
color: #fff;
padding: 10px;
display: block;
}
.sidebar a:hover {
background-color: #343a40;
text-decoration: none;
}
.sidebar .active {
background-color: #007bff;
}
.main-content {
margin-left: 220px;
padding: 20px;
}
.card {
border: 1px solid #ddd;
margin-bottom: 50px;
max-width: 420px;
margin-left: auto;
margin-right: auto;
}
.card-img-top {
background-color: #666;
height: 250px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.profile-panel {
position: fixed;
bottom: 20px;
left: 20px;
width: 40px;
height: 40px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.profile-panel:hover {
background-color: #f8f9fa;
}
.profile-menu {
position: fixed;
bottom: 70px;
left: 20px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 0.25rem;
padding: 0.5rem;
display: none;
}
.profile-panel:hover + .profile-menu {
display: block;
}
.profile-menu a {
display: block;
padding: 0.25rem 1rem;
color: #000;
text-decoration: none;
font-size: 0.9rem;
}
.profile-menu a:hover {
background-color: #e9ecef;
}
</style>
</head>
<body>
<div class="sidebar">
<ul class="list-unstyled">
<li><a href="home.html">Главная</a></li>
<li><a class="active" href="catalog.html">Категории</a></li>
<li><a href="orders.html">Заказы</a></li>
<li><a href="contacts.html">Контакты</a></li>
</ul>
</div>
<div class="main-content">
<h1>Каталог</h1>
<div class="row row-cols-1 row-cols-md-2 g-3">
<div class="col">
<div class="card h-100">
<div class="card-img-top">Thumbnail</div>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.</p>
<div class="btn-group">
<a href="#" class="btn btn-sm btn-outline-secondary">View</a>
<a href="#" class="btn btn-sm btn-outline-secondary">Edit</a>
</div>
<div class="d-flex justify-content-end">
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<div class="card-img-top">Thumbnail</div>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.</p>
<div class="btn-group">
<a href="#" class="btn btn-sm btn-outline-secondary">View</a>
<a href="#" class="btn btn-sm btn-outline-secondary">Edit</a>
</div>
<div class="d-flex justify-content-end">
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<div class="card-img-top">Thumbnail</div>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.</p>
<div class="btn-group">
<a href="#" class="btn btn-sm btn-outline-secondary">View</a>
<a href="#" class="btn btn-sm btn-outline-secondary">Edit</a>
</div>
<div class="d-flex justify-content-end">
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
<div class="col">
<div class="card h-100">
<div class="card-img-top">Thumbnail</div>
<div class="card-body">
<p class="card-text">This is a wider card with supporting text below as a natural lead-in to
additional content. This content is a little bit longer.</p>
<div class="btn-group">
<a href="#" class="btn btn-sm btn-outline-secondary">View</a>
<a href="#" class="btn btn-sm btn-outline-secondary">Edit</a>
</div>
<div class="d-flex justify-content-end">
<small class="text-muted">9 mins</small>
</div>
</div>
</div>
</div>
</div>
<div class="profile-panel">
<span>👤</span>
</div>
<div class="profile-menu">
<a href="#" class="dropdown-item">Профиль</a>
<a href="#" class="dropdown-item">Выход</a>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
132 changes: 132 additions & 0 deletions contacts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meow</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<style>
.sidebar {
width: 200px;
background-color: #000;
color: #fff;
height: 100vh;
position: fixed;
}
.sidebar a {
color: #fff;
padding: 10px;
display: block;
}
.sidebar a:hover {
background-color: #343a40;
text-decoration: none;
}
.sidebar .active {
background-color: #007bff;
}
.main-content {
margin-left: 220px;
padding: 20px;
}
.form-container {
max-width: 400px;
}
.profile-panel {
position: fixed;
bottom: 20px;
left: 20px;
width: 40px;
height: 40px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.profile-panel:hover {
background-color: #f8f9fa;
}
.profile-menu {
position: fixed;
bottom: 70px;
left: 20px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 0.25rem; /* Используем Bootstrap-радиус */
padding: 0.5rem; /* Используем Bootstrap-отступ */
display: none;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Bootstrap-тень */
}
.profile-panel:hover + .profile-menu {
display: block;
}
.profile-menu a {
display: block;
padding: 0.25rem 1rem; /* Bootstrap-отступы */
color: #000;
text-decoration: none;
font-size: 0.9rem; /* Легкая корректировка размера текста */
}
.profile-menu a:hover {
background-color: #e9ecef; /* Bootstrap-цвет при наведении */
}
</style>
</head>
<body>
<div class="sidebar">
<ul class="list-unstyled">
<li><a href="home.html">Главная</a></li>
<li><a href="catalog.html">Категории</a></li>
<li><a href="orders.html">Заказы</a></li>
<li><a class="active" href="contacts.html">Контакты</a></li>
</ul>
</div>
<div class="main-content">
<h2>Контакты</h2>
<div class="row">
<div class="col-md-6">
<div class="form-container">
<form>
<div class="mb-3">
<label for="name" class="form-label">Имя</label>
<input type="text" class="form-control" id="name" placeholder="Ваше имя">
</div>
<div class="mb-3">
<label for="email" class="form-label">Почта</label>
<input type="email" class="form-control" id="email" placeholder="Ваша почта">
</div>
<div class="mb-3">
<label for="message" class="form-label">Сообщение</label>
<textarea class="form-control" id="message" rows="3" placeholder="Сообщение"></textarea>
</div>
<button type="submit" class="btn btn-primary">Отправить</button>
</form>
</div>
</div>
<div class="col-md-5">
<div class="feedback-text">
<h4>Наши контакты</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.</p>
<p>While these feedback styles cannot be styled with CSS, you can still customize the feedback text
through JavaScript.</p>
</div>
</div>
</div>
</div>
<div class="profile-panel">
<span>👤</span>
</div>
<div class="profile-menu">
<a href="#" class="dropdown-item">Профиль</a>
<a href="#" class="dropdown-item">Выход</a>
</div>
</body>
</html>
Loading