Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
831cfb88
Commit
831cfb88
authored
Jan 12, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add image
parent
3d7ed82f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
204 additions
and
80 deletions
+204
-80
Footer.vue
components/Footer.vue
+1
-1
Header.vue
components/Shared/Header/Header.vue
+6
-1
LoginForm.vue
components/Shared/Header/LoginForm.vue
+61
-0
nav.vue
components/nav.vue
+1
-1
about.vue
pages/about.vue
+2
-0
categories.vue
pages/home/categories.vue
+133
-77
No files found.
components/Footer.vue
View file @
831cfb88
...
...
@@ -30,7 +30,7 @@
<div
class=
"footer-bottom"
>
<div
class=
"footer-bottom-left"
>
<figure
class=
"payment"
>
<img
src=
"~/assets/images/payment.png"
alt=
"payment"
width=
"159"
height=
"29"
>
</img>
<img
src=
"~/assets/images/payment.png"
alt=
"payment"
width=
"159"
height=
"29"
>
</figure>
</div>
<p
class=
"copyright"
>
Riode eCommerce © 2022. All Rights Reserved
</p>
...
...
components/Shared/Header/Header.vue
View file @
831cfb88
...
...
@@ -37,7 +37,7 @@
<b-icon
icon=
"info-circle"
></b-icon>
Need Help
</a>
<a
href=
"#signin"
class=
"login-toggle link-to-tab d-md-show"
>
<a
@
click=
"openModal"
v-b-modal
.
modal-login
class=
"login-toggle link-to-tab d-md-show"
>
<b-icon
icon=
"person"
font-scale=
"1.3"
></b-icon>
Sign in
</a>
...
...
@@ -119,11 +119,16 @@
<
script
>
import
NavBar
from
"
@/components/Shared/Header/NavBar
"
;
import
LoginForm
from
"
@/components/Shared/Header/LoginForm
"
;
export
default
{
name
:
"
Header
"
,
components
:
{
NavBar
,
LoginForm
,
},
methods
:
{
openModal
()
{
this
.
$bvModal
.
show
(
'
modal-login
'
)
}
}
};
</
script
>
...
...
components/Shared/Header/LoginForm.vue
0 → 100644
View file @
831cfb88
<
template
>
<b-modal
id=
"modal-login"
title=
"Create User"
class=
"modal fade"
v-if=
"showModal"
>
<p
class=
"my-4"
>
<form
>
<label>
Name :
</label>
<input
type=
"text"
class=
"form-control mb-2"
placeholder=
"name"
v-model=
"name"
max=
"255"
min=
"1"
required
/>
<label>
Email :
</label>
<input
type=
"email"
class=
"form-control mb-2"
placeholder=
"Email"
v-model=
"email"
required
/>
<label>
Password :
</label>
<input
type=
"password"
class=
"form-control mb-2"
placeholder=
"password"
v-model=
"password"
required
/>
</form>
</p>
<template
#modal-footer
>
<button
v-b-modal
.
modal-close_visit
@
click=
"$bvModal.hide('modal-login')"
class=
"btn btn-danger btn-sm m-1"
>
Close
</button>
<button
@
click=
""
v-b-modal
.
modal-close_visit
class=
"btn btn-success btn-sm m-1"
>
Submit
</button>
</
template
>
</b-modal>
</template>
<
script
>
export
default
{
name
:
"
LoginForm
"
,
data
()
{
return
{
}
},
methods
:
{
show
()
{
this
.
showModal
=
true
},
hide
(){
this
.
showModal
=
false
}
}
}
</
script
>
\ No newline at end of file
components/nav.vue
View file @
831cfb88
...
...
@@ -13,7 +13,7 @@
<b-collapse
id=
"nav-collapse"
is-nav
>
<b-navbar-nav>
<b-nav-item
href=
"/home/users"
>
USER
</b-nav-item>
<b-nav-item
href=
"
#
"
>
CATEGORY
</b-nav-item>
<b-nav-item
href=
"
/home/categories
"
>
CATEGORY
</b-nav-item>
</b-navbar-nav>
<!-- Right aligned nav items -->
...
...
pages/about.vue
View file @
831cfb88
...
...
@@ -3,6 +3,8 @@
<div>
<h1
style=
"text-align: center"
>
ABOUT
</h1>
</div>
...
...
pages/home/
user
.vue
→
pages/home/
categories
.vue
View file @
831cfb88
This diff is collapsed.
Click to expand it.
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