Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chat-query
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
jaden
chat-query
Commits
c55c1f98
Commit
c55c1f98
authored
Jul 10, 2023
by
jaden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix page animation
parent
bb0b47bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pages/index.tsx
pages/index.tsx
+4
-0
No files found.
pages/index.tsx
View file @
c55c1f98
...
@@ -13,6 +13,10 @@ import Script from 'next/script';
...
@@ -13,6 +13,10 @@ import Script from 'next/script';
function
Home
()
{
function
Home
()
{
const
{
t
}
=
useTranslation
();
const
{
t
}
=
useTranslation
();
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
window
?.
fireworks
)
{
document
.
querySelector
(
'
#fireworks
'
)?.
remove
();
fireworks
();
}
return
()
=>
{
return
()
=>
{
document
.
querySelector
(
'
#fireworks
'
)?.
remove
();
document
.
querySelector
(
'
#fireworks
'
)?.
remove
();
};
};
...
...
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