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
f48a5ece
authored
Aug 23, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
perf(sign): cambio en el script para importar los componentes
parent
aa87ab99
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
26 deletions
src/components/SignLayout.vue
src/views/Login.vue
src/views/Register.vue
src/components/SignLayout.vue
View file @
f48a5ece
<
script
setup
>
import
Footer
from
'@/components/Footer.vue'
;
</
script
>
<
template
>
<div
class=
"d-flex flex-column min-vh-100 bg-custom"
>
<div
class=
"container flex-grow-1 d-flex align-items-center justify-content-center"
>
...
...
@@ -21,8 +17,6 @@
</section>
</div>
</div>
<Footer></Footer>
</div>
</
template
>
...
...
src/views/Login.vue
View file @
f48a5ece
<
script
>
import
SignLayout
from
'@/components/SignLayout.vue'
;
export
default
{
name
:
'Login'
,
components
:
{
SignLayout
}
}
<
script
setup
>
import
Header
from
'@/components/Header.vue'
;
import
SignLayout
from
'@/components/SignLayout.vue'
;
</
script
>
<
template
>
<Header></Header>
<SignLayout>
<div
class=
"form-signin w-100 p-5 shadow rounded bg-white form-card"
>
<h2
class=
"mb-4 text-center"
>
Iniciar Sesión
</h2>
...
...
@@ -60,7 +55,7 @@
}
.form-card
.btn-style
:hover
{
background-color
:
#5e3054
;
/* un tono más oscuro */
background-color
:
#5e3054
;
color
:
#fff
;
}
...
...
src/views/Register.vue
View file @
f48a5ece
<
script
>
import
SignLayout
from
'@/components/SignLayout.vue'
;
export
default
{
name
:
'Register'
,
components
:
{
SignLayout
}
}
<
script
setup
>
import
SignLayout
from
'@/components/SignLayout.vue'
;
</
script
>
<
template
>
...
...
@@ -82,7 +75,7 @@
}
.form-card
.btn-style
:hover
{
background-color
:
#5e3054
;
/* un tono más oscuro */
background-color
:
#5e3054
;
color
:
#fff
;
}
...
...
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