Skip to content
Merged
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
17 changes: 13 additions & 4 deletions public/css/product/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,17 @@ header {
transform: scale(0.98);
}

@media (max-width: 1024px) {
@media (max-width: 1250px) {
.products-container {
width: 90%;
grid-template-columns: 1fr 1fr;
gap: 40px;
padding: 20px 30px;
padding: 0;
justify-self: center;
}
}

@media (max-width: 1024px) {
.product-text {
font-size: 20px;
}
Expand All @@ -177,11 +181,17 @@ header {
}
}

@media (max-width: 930px) {
.filters {
flex-direction: column;
gap: 5px;
}
}

@media (max-width: 768px) {
.products-container {
grid-template-columns: 1fr;
gap: 30px;
padding: 0 30%;
}

.product-card-details {
Expand Down Expand Up @@ -217,7 +227,6 @@ header {

.products-container {
gap: 20px;
padding: 15px;
}

.product-card {
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/en/product/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'title' => 'Products - InsuMax',
'reminder' => 'Remind to buy',
'reminder' => 'Remember to buy',
'in' => 'in',
'days' => 'day(s).',
'subtitle' => 'Our products',
Expand Down
6 changes: 3 additions & 3 deletions resources/lang/es/layout/admin.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

return [
'subtitle' => 'Panel de Administrador',
'subtitle' => 'Panel de Admin',
'home' => 'Inicio',
'products' => 'Administrar Productos',
'wishlists' => 'Administrar Listas de Deseo',
'products' => 'Productos',
'wishlists' => 'Listas de Deseo',
'logout' => 'Cerrar Sesión',
];
3 changes: 2 additions & 1 deletion resources/views/admin/wishlist/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
@endif
</div>

<form class="flex column center" action="{{ route('admin.wishlist.update', ['id' => $viewData['wishlist']->getId(), 'userId' => $viewData['wishlist']->getUserId()]) }}" method="POST" enctype="multipart/form-data">
<form class="flex column center" action="{{ route('admin.wishlist.update', ['id' => $viewData['wishlist']->getId(), 'userId' => $viewData['wishlist']->getUser()->getId()]) }}" method="POST" enctype="multipart/form-data">
@csrf
@method('PUT')
<label for="name">{{ __('admin/wishlist/create.name') }}</label>
<input type="text" id="name" name="name" value="{{ $viewData['wishlist']->getName() }}" required>
<label for="userId">{{ __('admin/wishlist/create.userId') }}</label>
<input type="text" id="userId" name="userId" value="{{ $viewData['wishlist']->getUser()->getId() }}" required>
<button class="btn-dark-blue" type="submit" class="btn btn-primary">
{{ __('admin/wishlist/edit.submit') }}
Expand Down