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
a17b034d
Commit
a17b034d
authored
Jan 10, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ident
parent
8bf21140
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
129 additions
and
134 deletions
+129
-134
Footer.vue
components/Footer.vue
+34
-35
NuxtLogo.vue
components/NuxtLogo.vue
+10
-2
navigation.vue
components/navigation.vue
+37
-52
sidebar.vue
components/sidebar.vue
+48
-45
No files found.
components/Footer.vue
View file @
a17b034d
<
template
>
<
template
>
<footer
id=
"container"
>
<footer
id=
"container"
>
<div
id=
"contacts"
>
<div
id=
"contacts"
>
<div
id=
"contacts--contact"
>
<div
id=
"contacts--contact"
>
<p>
xavier.seignard+drangies@gmail.com
</p>
<p>
xavier.seignard+drangies@gmail.com
</p>
<p>
+84965615899
</p>
<p>
+84965615899
</p>
</div>
</div>
<div
id=
"contacts--social"
>
<div
id=
"contacts--social"
>
...
@@ -13,49 +12,49 @@
...
@@ -13,49 +12,49 @@
</div>
</div>
</div>
</div>
<div
id=
"mentions"
>
<div
id=
"mentions"
>
<p>
2018 | mentions légales
</p>
<p>
2018 | mentions légales
</p>
</div>
</div>
</footer>
</footer>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"
footer
"
,
name
:
"
footer
"
,
};
};
</
script
>
</
script
>
<
style
>
<
style
>
#container
{
#container
{
min-height
:
calc
(
100vh
-
40px
);
min-height
:
calc
(
100vh
-
40px
);
padding-top
:
20px
;
padding-top
:
20px
;
margin-top
:
20px
;
margin-top
:
20px
;
width
:
100vw
;
width
:
100vw
;
color
:
white
;
color
:
white
;
background-color
:
#17a2b8
;
background-color
:
#17a2b8
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
}
}
#contacts
{
#contacts
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-around
;
justify-content
:
space-around
;
align-items
:
center
;
align-items
:
center
;
width
:
100%
;
width
:
100%
;
}
}
#contacts--contact
{
#contacts--contact
{
text-align
:
right
;
text-align
:
right
;
}
}
#contacts--social
{
#contacts--social
{
width
:
20%
;
width
:
20%
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
#contacts--social
div
{
#contacts--social
div
{
height
:
30px
;
height
:
30px
;
width
:
30px
;
width
:
30px
;
background-color
:
white
;
background-color
:
white
;
border-radius
:
50%
;
border-radius
:
50%
;
}
}
#mentions
p
{
#mentions
p
{
font-size
:
0.5em
;
font-size
:
0.5em
;
}
}
</
style
>
</
style
>
\ No newline at end of file
components/NuxtLogo.vue
View file @
a17b034d
<
template
>
<
template
>
<svg
class=
"nuxt-logo"
viewBox=
"0 0 45 30"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<svg
<path
d=
"M24.7203 29.704H41.1008C41.6211 29.7041 42.1322 29.5669 42.5828 29.3061C43.0334 29.0454 43.4075 28.6704 43.6675 28.2188C43.9275 27.7672 44.0643 27.2549 44.0641 26.7335C44.0639 26.2121 43.9266 25.6999 43.6662 25.2485L32.6655 6.15312C32.4055 5.70162 32.0315 5.32667 31.581 5.06598C31.1305 4.8053 30.6195 4.66805 30.0994 4.66805C29.5792 4.66805 29.0682 4.8053 28.6177 5.06598C28.1672 5.32667 27.7932 5.70162 27.5332 6.15312L24.7203 11.039L19.2208 1.48485C18.9606 1.03338 18.5864 0.658493 18.1358 0.397853C17.6852 0.137213 17.1741 0 16.6538 0C16.1336 0 15.6225 0.137213 15.1719 0.397853C14.7213 0.658493 14.3471 1.03338 14.0868 1.48485L0.397874 25.2485C0.137452 25.6999 0.000226653 26.2121 2.8053e-07 26.7335C-0.000226092 27.2549 0.136554 27.7672 0.396584 28.2188C0.656614 28.6704 1.03072 29.0454 1.48129 29.3061C1.93185 29.5669 2.44298 29.7041 2.96326 29.704H13.2456C17.3195 29.704 20.3239 27.9106 22.3912 24.4118L27.4102 15.7008L30.0986 11.039L38.1667 25.0422H27.4102L24.7203 29.704ZM13.0779 25.0374L5.9022 25.0358L16.6586 6.36589L22.0257 15.7008L18.4322 21.9401C17.0593 24.2103 15.4996 25.0374 13.0779 25.0374Z"
fill=
"#00DC82"
/>
class=
"nuxt-logo"
viewBox=
"0 0 45 30"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M24.7203 29.704H41.1008C41.6211 29.7041 42.1322 29.5669 42.5828 29.3061C43.0334 29.0454 43.4075 28.6704 43.6675 28.2188C43.9275 27.7672 44.0643 27.2549 44.0641 26.7335C44.0639 26.2121 43.9266 25.6999 43.6662 25.2485L32.6655 6.15312C32.4055 5.70162 32.0315 5.32667 31.581 5.06598C31.1305 4.8053 30.6195 4.66805 30.0994 4.66805C29.5792 4.66805 29.0682 4.8053 28.6177 5.06598C28.1672 5.32667 27.7932 5.70162 27.5332 6.15312L24.7203 11.039L19.2208 1.48485C18.9606 1.03338 18.5864 0.658493 18.1358 0.397853C17.6852 0.137213 17.1741 0 16.6538 0C16.1336 0 15.6225 0.137213 15.1719 0.397853C14.7213 0.658493 14.3471 1.03338 14.0868 1.48485L0.397874 25.2485C0.137452 25.6999 0.000226653 26.2121 2.8053e-07 26.7335C-0.000226092 27.2549 0.136554 27.7672 0.396584 28.2188C0.656614 28.6704 1.03072 29.0454 1.48129 29.3061C1.93185 29.5669 2.44298 29.7041 2.96326 29.704H13.2456C17.3195 29.704 20.3239 27.9106 22.3912 24.4118L27.4102 15.7008L30.0986 11.039L38.1667 25.0422H27.4102L24.7203 29.704ZM13.0779 25.0374L5.9022 25.0358L16.6586 6.36589L22.0257 15.7008L18.4322 21.9401C17.0593 24.2103 15.4996 25.0374 13.0779 25.0374Z"
fill=
"#00DC82"
/>
</svg>
</svg>
</
template
>
</
template
>
...
...
components/navigation.vue
View file @
a17b034d
<
template
>
<
template
>
<v-card
<v-card
class=
"mx-auto"
height=
"400"
width=
"256"
>
class=
"mx-auto"
<v-navigation-drawer
class=
"deep-purple accent-4"
dark
permanent
>
height=
"400"
<v-list>
width=
"256"
<v-list-item
v-for=
"item in items"
:key=
"item.title"
link
>
>
<v-list-item-icon>
<v-navigation-drawer
<v-icon>
{{
item
.
icon
}}
</v-icon>
class=
"deep-purple accent-4"
</v-list-item-icon>
dark
permanent
<v-list-item-content>
>
<v-list-item-title>
{{
item
.
title
}}
</v-list-item-title>
<v-list>
</v-list-item-content>
<v-list-item
</v-list-item>
v-for=
"item in items"
</v-list>
:key=
"item.title"
link
<template
v-slot:append
>
>
<div
class=
"pa-2"
>
<v-list-item-icon>
<v-btn
block
>
Logout
</v-btn>
<v-icon>
{{
item
.
icon
}}
</v-icon>
</div>
</v-list-item-icon>
</
template
>
</v-navigation-drawer>
<v-list-item-content>
</v-card>
<v-list-item-title>
{{
item
.
title
}}
</v-list-item-title>
</template>
</v-list-item-content>
</v-list-item>
<
script
>
</v-list>
export
default
{
name
:
"
navigation
"
,
<template
v-slot:append
>
data
()
{
<div
class=
"pa-2"
>
return
{
<v-btn
block
>
items
:
[
Logout
{
title
:
"
Dashboard
"
,
icon
:
"
mdi-view-dashboard
"
},
</v-btn>
{
title
:
"
Account
"
,
icon
:
"
mdi-account-box
"
},
</div>
{
title
:
"
Admin
"
,
icon
:
"
mdi-gavel
"
},
</
template
>
],
</v-navigation-drawer>
};
</v-card>
},
};
</template>
</
script
>
<
script
>
export
default
{
name
:
"
navigation
"
,
data
()
{
return
{
items
:
[
{
title
:
'
Dashboard
'
,
icon
:
'
mdi-view-dashboard
'
},
{
title
:
'
Account
'
,
icon
:
'
mdi-account-box
'
},
{
title
:
'
Admin
'
,
icon
:
'
mdi-gavel
'
},
],
}
},
}
</
script
>
components/sidebar.vue
View file @
a17b034d
<
template
>
<
template
>
<div>
<div>
<b-button
v-b-toggle
.
sidebar-backdrop
>
More
</b-button>
<b-button
v-b-toggle
.
sidebar-backdrop
>
More
</b-button>
<b-sidebar
<b-sidebar
id=
"sidebar-backdrop"
id=
"sidebar-backdrop"
title=
"Sidebar with backdrop"
title=
"Sidebar with backdrop"
:backdrop-variant=
"variant"
:backdrop-variant=
"variant"
backdrop
backdrop
shadow
shadow
>
>
<div
class=
"px-3 py-2"
>
<div
class=
"px-3 py-2"
>
<b-form-group
label=
"Backdrop variant"
label-for=
"backdrop-variant"
>
<b-form-group
label=
"Backdrop variant"
label-for=
"backdrop-variant"
>
<b-form-select
id=
"backdrop-variant"
v-model=
"variant"
:options=
"variants"
></b-form-select>
<b-form-select
</b-form-group>
id=
"backdrop-variant"
</div>
v-model=
"variant"
</b-sidebar>
:options=
"variants"
</div>
></b-form-select>
</
template
>
</b-form-group>
<
script
>
</div>
export
default
{
</b-sidebar>
name
:
"
sidebar
"
,
</div>
};
</
template
>
</
script
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"
sidebar
"
,
data
()
{
};
return
{
</
script
>
variant
:
'
dark
'
,
<
script
>
variants
:
[
export
default
{
'
transparent
'
,
data
()
{
'
white
'
,
return
{
'
light
'
,
variant
:
"
dark
"
,
'
dark
'
,
variants
:
[
'
primary
'
,
"
transparent
"
,
'
secondary
'
,
"
white
"
,
'
success
'
,
"
light
"
,
'
danger
'
,
"
dark
"
,
'
warning
'
,
"
primary
"
,
'
info
'
,
"
secondary
"
,
]
"
success
"
,
}
"
danger
"
,
}
"
warning
"
,
}
"
info
"
,
</
script
>
],
};
\ No newline at end of file
},
};
</
script
>
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