Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMU-GDMU-CHINA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
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
2024 Competition
SMU-GDMU-CHINA
Commits
70da4c87
Commit
70da4c87
authored
5 months ago
by
Xingan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
fix:footer fade animation
parent
b98f318e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#460248
passed
5 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Footer.tsx
+11
-10
11 additions, 10 deletions
src/components/Footer.tsx
src/containers/App/App.css
+23
-3
23 additions, 3 deletions
src/containers/App/App.css
with
34 additions
and
13 deletions
src/components/Footer.tsx
+
11
−
10
View file @
70da4c87
...
@@ -15,35 +15,36 @@ export function Footer() {
...
@@ -15,35 +15,36 @@ export function Footer() {
<
div
className
=
"bg-rice_yellow"
><
WaveAnimation
/></
div
>
<
div
className
=
"bg-rice_yellow"
><
WaveAnimation
/></
div
>
{
/* The following MUST be on every page: license information and link to the repository on gitlab.igem.org */
}
{
/* The following MUST be on every page: license information and link to the repository on gitlab.igem.org */
}
<
div
className
=
"
row
bg-wine-red footer-container"
>
<
div
className
=
"bg-wine-red footer-container"
>
<
div
className
=
"col-7"
>
{
/* <div className="col-1"></div> */
}
{
/* <div className="col-1"></div> */
}
{
/* <div className="col-5"> */
}
{
/* <div className="col-5"> */
}
<
div
className
=
"slideshow-container mb-5"
>
<
div
className
=
"slideshow-container mb-5"
>
<
div
className
=
"slide fade1 "
>
<
div
className
=
"slide
-small
fade1 "
>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/gdmu2.webp"
alt
=
"Image 1"
/>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/gdmu2.webp"
alt
=
"Image 1"
/>
</
div
>
</
div
>
<
div
className
=
"slide fade2"
>
<
div
className
=
"slide
-small
fade2"
>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/smu.webp"
alt
=
"Image 2"
/>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/smu.webp"
alt
=
"Image 2"
/>
</
div
>
</
div
>
<
div
className
=
"slide fade3"
>
<
div
className
=
"slide
-big
fade3"
>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/yanyintech.webp"
alt
=
"Image 3"
/>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/yanyintech.webp"
alt
=
"Image 3"
/>
</
div
>
</
div
>
</
div
>
</
div
>
{
/* <img
{
/* <img
src="https://static.igem.wiki/teams/5378/school-badge/yanyintech.webp"
src="https://static.igem.wiki/teams/5378/school-badge/yanyintech.webp"
alt="Yanyin tech"
alt="Yanyin tech"
className="responsive-img"
className="responsive-img"
/> */
}
/> */
}
</
div
>
</
div
>
</
div
>
<
div
className
=
"row bg-wine-red footer-container"
>
<
div
className
=
"row bg-wine-red footer-container"
>
<
div
>
<
div
>
<
p
className
=
"mb-0"
>
<
p
className
=
"mb-0"
>
<
small
className
=
"footer-container small-font"
>
<
small
className
=
"footer-container
-text
small-font"
>
© 2024 - Content on this site is licensed under a
{
"
"
}
© 2024 - Content on this site is licensed under a
{
"
"
}
<
a
<
a
className
=
"subfoot small-font"
className
=
"subfoot small-font"
href
=
"https://creativecommons.org/licenses/by/4.0/"
href
=
"https://creativecommons.org/licenses/by/4.0/"
...
@@ -55,7 +56,7 @@ export function Footer() {
...
@@ -55,7 +56,7 @@ export function Footer() {
</
small
>
</
small
>
</
p
>
</
p
>
<
p
>
<
p
>
<
small
className
=
"footer-container small-font"
>
<
small
className
=
"footer-container
-text
small-font"
>
The repository used to create this website is available at
{
"
"
}
The repository used to create this website is available at
{
"
"
}
<
a
href
=
{
`https://gitlab.igem.org/
${
teamYear
}
/
${
teamSlug
}
`
}
className
=
"small-font"
>
<
a
href
=
{
`https://gitlab.igem.org/
${
teamYear
}
/
${
teamSlug
}
`
}
className
=
"small-font"
>
gitlab.igem.org/
{
teamYear
}
/
{
teamSlug
}
gitlab.igem.org/
{
teamYear
}
/
{
teamSlug
}
...
...
This diff is collapsed.
Click to expand it.
src/containers/App/App.css
+
23
−
3
View file @
70da4c87
...
@@ -574,17 +574,29 @@ footer a:hover {
...
@@ -574,17 +574,29 @@ footer a:hover {
.slideshow-container
{
.slideshow-container
{
position
:
relative
;
position
:
relative
;
max-width
:
100%
;
max-width
:
100%
;
width
:
400px
;
height
:
200px
;
height
:
200px
;
overflow
:
hidden
;
/* overflow: hidden; */
justify-content
:
center
;
/* Center horizontally */
align-items
:
center
;
/* Center vertically */
}
.slide-small
{
position
:
absolute
;
/* width: 100%; */
/* height: 100%; */
left
:
25%
;
opacity
:
0
;
transition
:
opacity
1s
ease-in-out
;
justify-content
:
center
;
/* Center horizontally */
justify-content
:
center
;
/* Center horizontally */
align-items
:
center
;
/* Center vertically */
align-items
:
center
;
/* Center vertically */
}
}
.slide
{
.slide
-big
{
position
:
absolute
;
position
:
absolute
;
/* width: 100%; */
/* width: 100%; */
/* height: 100%; */
/* height: 100%; */
left
:
40
%
;
left
:
5
%
;
opacity
:
0
;
opacity
:
0
;
transition
:
opacity
1s
ease-in-out
;
transition
:
opacity
1s
ease-in-out
;
justify-content
:
center
;
/* Center horizontally */
justify-content
:
center
;
/* Center horizontally */
...
@@ -595,6 +607,7 @@ footer a:hover {
...
@@ -595,6 +607,7 @@ footer a:hover {
/* width: auto; */
/* width: auto; */
height
:
200px
;
height
:
200px
;
object-fit
:
cover
;
object-fit
:
cover
;
z-index
:
2
!important
;
}
}
.fade1
{
.fade1
{
...
@@ -832,6 +845,13 @@ span.formula_line::-webkit-scrollbar-track {
...
@@ -832,6 +845,13 @@ span.formula_line::-webkit-scrollbar-track {
}
}
.footer-container
{
.footer-container
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
justify-content
:
center
;
}
.footer-container-text
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
...
...
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