Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PORTFOLIO-2025
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clement Franckelemon
PORTFOLIO-2025
Commits
9d77ada8
Commit
9d77ada8
authored
3 months ago
by
Clement Franckelemon
Browse files
Options
Downloads
Patches
Plain Diff
add mobile nav
parent
2f28ab27
No related branches found
No related tags found
No related merge requests found
Pipeline
#59420
passed
3 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/HeaderView.vue
+30
-2
30 additions, 2 deletions
src/components/HeaderView.vue
with
30 additions
and
2 deletions
src/components/HeaderView.vue
+
30
−
2
View file @
9d77ada8
<
template
>
<
template
>
<q-header
reveal
elevated
>
<q-header
reveal
elevated
>
<q-toolbar
class=
"bg-secondary"
>
<q-toolbar
class=
"bg-secondary"
>
<q-drawer
v-model=
"openNav"
show-if-above
:breakpoint=
"1024"
side=
"left"
bordered
class=
"bg-secondary"
>
<div
class=
"full-height row justify-evenly q-ml-sm col-11"
>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"home"
to=
"/#accueil"
label=
"Accueil"
/>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"person"
to=
"/#presentation"
label=
"Présentation"
/>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"school"
to=
"/#formations"
label=
"Formations"
/>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"timeline"
to=
"/#experiences"
label=
"Expériences"
/>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"workspaces"
to=
"/#competences"
label=
"Compétences"
/>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"construction"
to=
"/#projets"
label=
"Projets"
/>
<HeaderButton
class=
"col-6 row justify-center"
icon=
"mail"
to=
"/#contacts"
label=
"Contacts"
/>
</div>
<q-linear-progress
size=
"6px"
color=
"accent"
indeterminate
class=
"bg-dark vertical-progress absolute"
style=
"top:50%; left: -25px ; width: 100vh"
/>
</q-drawer>
<q-btn
flat
round
dense
icon=
"menu"
class=
"q-mr-sm"
@
click=
"openNav = !openNav"
v-if=
"$q.screen.sm || $q.screen.lt.sm"
/>
<div/>
<div/>
<q-space
/>
<q-space
/>
<div
class=
"full-height row"
>
<div
class=
"full-height row"
v-if=
"$q.screen.gt.sm"
>
<HeaderButton
icon=
"home"
to=
"/#accueil"
label=
"Accueil"
/>
<HeaderButton
icon=
"home"
to=
"/#accueil"
label=
"Accueil"
/>
<HeaderButton
icon=
"person"
to=
"/#presentation"
label=
"Présentation"
/>
<HeaderButton
icon=
"person"
to=
"/#presentation"
label=
"Présentation"
/>
<HeaderButton
icon=
"school"
to=
"/#formations"
label=
"Formations"
/>
<HeaderButton
icon=
"school"
to=
"/#formations"
label=
"Formations"
/>
...
@@ -14,6 +34,9 @@
...
@@ -14,6 +34,9 @@
</div>
</div>
<q-space
/>
<q-space
/>
<div/>
<div/>
<div
class=
"q-mr-sm text-bold text-uppercase"
v-if=
"$q.screen.sm || $q.screen.lt.sm"
>
PORTFOLIO 2025 édition
</div>
</q-toolbar>
</q-toolbar>
<q-linear-progress
size=
"6px"
color=
"accent"
class=
"bg-dark"
:value=
"pageAdvanced"
/>
<q-linear-progress
size=
"6px"
color=
"accent"
class=
"bg-dark"
:value=
"pageAdvanced"
/>
</q-header>
</q-header>
...
@@ -24,6 +47,7 @@ import HeaderButton from 'components/HeaderButton.vue'
...
@@ -24,6 +47,7 @@ import HeaderButton from 'components/HeaderButton.vue'
import
{
onMounted
,
ref
}
from
'
vue
'
import
{
onMounted
,
ref
}
from
'
vue
'
const
pageAdvanced
=
ref
(
0
)
const
pageAdvanced
=
ref
(
0
)
const
openNav
=
ref
(
false
)
onMounted
(
()
=>
{
onMounted
(
()
=>
{
window
.
addEventListener
(
'
scroll
'
,
updatePageAdvanced
)
window
.
addEventListener
(
'
scroll
'
,
updatePageAdvanced
)
...
@@ -37,5 +61,9 @@ const updatePageAdvanced = () => {
...
@@ -37,5 +61,9 @@ const updatePageAdvanced = () => {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.vertical-progress
{
transform
:
rotate
(
90deg
)
}
</
style
>
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment