Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Alba María Álvarez
/
front_recipes
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5a236438
authored
Aug 26, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
perf(views): eliminado el Header de las vistas
parent
aefe9138
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 additions
and
16 deletions
src/views/AISearch.vue
src/views/CreateRecipe.vue
src/views/RecipeDetail.vue
src/views/Recipes.vue
src/views/UserDetail.vue
src/views/UserManagement.vue
src/views/AISearch.vue
View file @
5a236438
<
script
setup
>
import
Header
from
'@/components/Header.vue'
;
</
script
>
<
template
>
<Header></Header>
<div
class=
"container my-5"
>
<section
class=
"text-center mb-5"
>
<h1
class=
"display-5 fw-bold text-center-custom"
>
Búsqueda por Inteligencia Artificial
</h1>
...
...
src/views/CreateRecipe.vue
View file @
5a236438
<
template
>
<Header></Header>
<div
class=
"container my-5"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-8 col-md-10"
>
...
...
@@ -93,7 +92,6 @@
<
script
setup
>
import
{
ref
}
from
'vue'
;
import
Header
from
'@/components/Header.vue'
;
const
ingredients
=
ref
([
{
id
:
1
,
quantity
:
''
,
unit
:
''
,
ingredient
:
''
}
...
...
src/views/RecipeDetail.vue
View file @
5a236438
<
template
>
<Header></Header>
<div
class=
"container my-5"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-10 col-md-11"
>
...
...
@@ -118,7 +117,6 @@
<
script
setup
>
import
{
ref
}
from
'vue'
;
import
Header
from
'@/components/Header.vue'
;
// Estado de la vista: 'view' o 'edit'
const
mode
=
ref
(
'view'
);
...
...
@@ -126,7 +124,7 @@ const mode = ref('view');
// Datos de la receta de ejemplo
const
recipe
=
ref
({
name
:
'Tarta de Manzana Clásica'
,
image
:
'/src/assets/default
recipe.jpg'
,
image
:
'/src/assets/default
-
recipe.jpg'
,
description
:
'Una deliciosa tarta de manzana con un toque de canela y una corteza dorada y crujiente.'
,
ingredients
:
[
{
quantity
:
2
,
unit
:
'tazas'
,
ingredient
:
'harina de trigo'
},
...
...
src/views/Recipes.vue
View file @
5a236438
<
script
setup
>
import
Header
from
'@/components/Header.vue'
;
import
RecipeCard
from
'@/components/RecipeCard.vue'
;
</
script
>
<
template
>
<Header
:show-search=
"true"
></Header>
<section
class=
"bg-custom py-5 flex-grow-1"
>
<div
class=
"container px-4 px-lg-5 mt-5"
>
<div
class=
"d-flex flex-wrap gap-3 justify-content-center"
>
...
...
src/views/UserDetail.vue
View file @
5a236438
<
template
>
<Header></Header>
<div
class=
"container"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-8 col-md-10"
>
...
...
@@ -100,7 +99,6 @@
<
script
setup
>
import
{
ref
}
from
'vue'
;
import
Header
from
'@/components/Header.vue'
;
const
mode
=
ref
(
'view'
);
...
...
src/views/UserManagement.vue
View file @
5a236438
<
template
>
<Header
:show-search=
"true"
></Header>
<div
class=
"container my-5"
>
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-12"
>
...
...
@@ -99,7 +98,6 @@
<
script
setup
>
import
{
ref
,
computed
}
from
'vue'
;
import
Header
from
'@/components/Header.vue'
;
const
users
=
ref
([
{
id
:
1
,
name
:
'Adrián'
,
surname
:
'García Pérez'
,
email
:
'adrian@example.com'
,
role
:
'Usuario'
,
active
:
true
,
deactivatedAt
:
null
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment