Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ecolyo_landing_page
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
ecolyo_landing_page
Commits
f06958f5
Commit
f06958f5
authored
2 years ago
by
Bastien DUMONT
Browse files
Options
Downloads
Patches
Plain Diff
feat: update link connect to my cozy
parent
8fa0e52c
No related branches found
No related tags found
1 merge request
!18
Resolve "[0] Ecolyo.com Se reconnecter à Ecolyo / son Cozy => se connecter a cozy via la landing page"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.html
+13
-13
13 additions, 13 deletions
index.html
with
13 additions
and
13 deletions
index.html
+
13
−
13
View file @
f06958f5
...
...
@@ -261,13 +261,13 @@
<img
src=
"assets/cloud-mgl.svg"
alt=
"logo cloud grand Lyon"
/>
<h2>
J'ai déjà un compte
</h2>
<p
class=
"text-18-white-padding"
>
Vous avez déjà un compte
mais ne savez plus comment y accéder
?
Vous avez déjà un compte ?
<br
/>
Pas de panique, pour retrouver l'accès à votre cloud personnel
Grand Lyon au sein duquel vous retrouverez Ecolyo, cliquez sur le
bouton ci-dessous
</p>
<a
href=
"https://manager.cozygrandlyon.cloud/grdlyon/
reminder
"
href=
"https://manager.cozygrandlyon.cloud/
v2/
grdlyon/
login
"
target=
"_blank"
class=
"button robots-nocontent"
>
...
...
@@ -311,16 +311,16 @@
</footer>
</body>
<script>
const
navBar
=
document
.
querySelector
(
"
nav
"
);
const
navBar
=
document
.
querySelector
(
'
nav
'
);
//smooth scroll
document
.
querySelectorAll
(
'
a[href^="#"]
'
).
forEach
((
anchor
)
=>
{
anchor
.
addEventListener
(
"
click
"
,
function
(
e
)
{
anchor
.
addEventListener
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
let
item
=
document
.
querySelector
(
this
.
getAttribute
(
"
href
"
));
let
item
=
document
.
querySelector
(
this
.
getAttribute
(
'
href
'
));
window
.
scrollTo
({
top
:
item
.
offsetTop
-
50
,
behavior
:
"
smooth
"
,
behavior
:
'
smooth
'
,
});
});
});
...
...
@@ -329,7 +329,7 @@
let
scrollUp
=
true
;
let
hideDistance
=
200
;
let
headerHeight
=
"
6.25rem
"
;
let
headerHeight
=
'
6.25rem
'
;
let
vw
;
let
vh
;
let
scrollHeightSent
=
false
;
...
...
@@ -352,23 +352,23 @@
};
onload
=
setDeviceWidth
();
window
.
addEventListener
(
"
resize
"
,
()
=>
{
window
.
addEventListener
(
'
resize
'
,
()
=>
{
setDeviceWidth
();
});
window
.
addEventListener
(
"
load
"
,
()
=>
{
window
.
addEventListener
(
'
load
'
,
()
=>
{
setDeviceHeight
();
});
window
.
addEventListener
(
"
scroll
"
,
(
event
)
=>
{
window
.
addEventListener
(
'
scroll
'
,
(
event
)
=>
{
if
(
vw
<
1200
)
{
if
(
scrollY
>
hideDistance
)
{
scrollUp
=
this
.
oldScroll
>
this
.
scrollY
;
if
(
scrollUp
===
false
)
{
navBar
.
style
.
marginTop
=
"
-
"
+
headerHeight
;
navBar
.
style
.
marginTop
=
'
-
'
+
headerHeight
;
}
if
(
scrollUp
===
true
)
{
navBar
.
style
.
marginTop
=
"
0
"
;
navBar
.
style
.
marginTop
=
'
0
'
;
}
this
.
oldScroll
=
this
.
scrollY
;
}
...
...
@@ -377,7 +377,7 @@
// Send scroll event to matomo if user has scrolled 50% of page, then disable event
if
(
scrollY
>
vh
/
2
&&
!
scrollHeightSent
)
{
scrollHeightSent
=
true
;
_paq
.
push
([
"
trackEvent
"
,
"
Scroll_depth
"
,
"
50%
"
]);
_paq
.
push
([
'
trackEvent
'
,
'
Scroll_depth
'
,
'
50%
'
]);
}
});
</script>
...
...
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