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
e8d79687
Commit
e8d79687
authored
2 months ago
by
Clement Franckelemon
Browse files
Options
Downloads
Patches
Plain Diff
add project image visualizer
parent
e85f25d9
No related branches found
No related tags found
No related merge requests found
Pipeline
#59436
passed
2 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/ImageDialog.vue
+23
-0
23 additions, 0 deletions
src/components/ImageDialog.vue
src/components/ImageView.vue
+7
-0
7 additions, 0 deletions
src/components/ImageView.vue
with
30 additions
and
0 deletions
src/components/ImageDialog.vue
0 → 100644
+
23
−
0
View file @
e8d79687
<
template
>
<q-dialog>
<div
class=
"column justify-center items-center content-center"
>
<q-btn
icon=
"close"
size=
"lg"
class=
"absolute q-mt-md bg-secondary"
style=
"top: 0px; z-index: 20000"
text-color=
"primary"
unelevated
round
v-close-popup
/>
<div
class=
"absolute"
style=
"margin: 10%; height: auto"
>
<img
class=
"full-height full-width"
style=
"border-radius: 10px"
:src=
"src"
/>
</div>
</div>
</q-dialog>
</
template
>
<
script
setup
lang=
"ts"
>
defineProps
({
src
:
{
type
:
String
,
required
:
true
}
})
</
script
>
<
style
scoped
>
</
style
>
This diff is collapsed.
Click to expand it.
src/components/ImageView.vue
+
7
−
0
View file @
e8d79687
...
@@ -19,9 +19,11 @@
...
@@ -19,9 +19,11 @@
>
>
<swiper-slide
v-for=
"
{src,nb} in imageProjet" zoom :key="nb">
<swiper-slide
v-for=
"
{src,nb} in imageProjet" zoom :key="nb">
<img
<img
class=
"cursor-pointer"
:src=
"src"
:src=
"src"
loading=
"lazy"
loading=
"lazy"
style=
"border-radius: 10px"
style=
"border-radius: 10px"
@
click=
"showImg = true;imgSelected = src"
/>
/>
<div
<div
class=
"swiper-lazy-preloader swiper-lazy-preloader-white"
class=
"swiper-lazy-preloader swiper-lazy-preloader-white"
...
@@ -29,6 +31,7 @@
...
@@ -29,6 +31,7 @@
>
>
</swiper>
</swiper>
</div>
</div>
<image-dialog
v-model=
"showImg"
:src=
"imgSelected"
/>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
...
@@ -44,6 +47,10 @@ import 'swiper/css/navigation';
...
@@ -44,6 +47,10 @@ import 'swiper/css/navigation';
import
TitleComposant
from
'
components/TitleComposant.vue
'
;
import
TitleComposant
from
'
components/TitleComposant.vue
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
type
{
PropType
}
from
'
vue
'
;
import
images
from
'
./images
'
;
import
images
from
'
./images
'
;
import
ImageDialog
from
'
components/ImageDialog.vue
'
const
imgSelected
=
ref
(
''
)
const
showImg
=
ref
(
false
)
const
props
=
defineProps
({
const
props
=
defineProps
({
id
:
{
id
:
{
...
...
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