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
d4e8ec79
Commit
d4e8ec79
authored
6 months ago
by
Xingan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
new footer
parent
10b4d3a6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#418998
passed
6 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
+23
-28
23 additions, 28 deletions
src/components/Footer.tsx
src/containers/App/App.css
+67
-0
67 additions, 0 deletions
src/containers/App/App.css
with
90 additions
and
28 deletions
src/components/Footer.tsx
+
23
−
28
View file @
d4e8ec79
...
...
@@ -6,37 +6,33 @@ export function Footer() {
const
teamSlug
=
stringToSlug
(
teamName
);
return
(
<
footer
className
=
"pt-5 pb-5 footer py-5 mt-0 bg-dark text-white"
>
<
div
className
=
"container"
>
<
div
className
=
"row mb-4"
>
<
div
className
=
"col-lg-2 col-xs-12"
>
<
img
src
=
"https://static.igem.wiki/teams/5378/school-badge/smu.webp"
alt
=
"SMU brand"
className
=
"responsive-img"
/>
</
div
>
<
div
className
=
"col-lg-2"
></
div
>
<
div
className
=
"col-lg-2 col-xs-12"
>
<
img
src
=
"https://static.igem.wiki/teams/5378/school-badge/gdmu.webp"
alt
=
"GDMU brand"
className
=
"responsive-img"
/>
</
div
>
<
div
className
=
"col-lg-2"
></
div
>
<
div
className
=
"col-lg-4 col-xs-12 row justify-content-center"
>
<
img
<
footer
className
=
"pt-1 pb-1 footer py-5 mt-0 bg-wine-red text-white"
>
<
hr
/>
{
/* The following MUST be on every page: license information and link to the repository on gitlab.igem.org */
}
<
div
className
=
"row"
>
<
div
className
=
"col-4"
>
{
/* <div className="col-1"></div> */
}
{
/* <div className="col-5"> */
}
<
div
className
=
"slideshow-container"
>
<
div
className
=
"slide fade1 "
>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/gdmu.webp"
alt
=
"Image 1"
/>
</
div
>
<
div
className
=
"slide fade2"
>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/smu.webp"
alt
=
"Image 2"
/>
</
div
>
<
div
className
=
"slide fade3"
>
<
img
className
=
"fade-img"
src
=
"https://static.igem.wiki/teams/5378/school-badge/yanyintech.webp"
alt
=
"Image 3"
/>
</
div
>
</
div
>
{
/* <img
src="https://static.igem.wiki/teams/5378/school-badge/yanyintech.webp"
alt="Yanyin tech"
className="responsive-img"
/>
/> */
}
</
div
>
</
div
>
<
hr
/>
{
/* The following MUST be on every page: license information and link to the repository on gitlab.igem.org */
}
<
div
className
=
"row mt-4"
>
<
div
className
=
"col"
>
<
div
className
=
"col-8"
>
<
p
className
=
"mb-0"
>
<
small
>
© 2024 - Content on this site is licensed under a
{
"
"
}
...
...
@@ -61,7 +57,6 @@ export function Footer() {
</
p
>
</
div
>
</
div
>
</
div
>
</
footer
>
);
}
This diff is collapsed.
Click to expand it.
src/containers/App/App.css
+
67
−
0
View file @
d4e8ec79
...
...
@@ -18,6 +18,9 @@ body {
background-color
:
rgb
(
245
,
245
,
220
);
}
.bg-wine-red
{
background-color
:
#722F37
;
}
/* CALLOUT */
.bd-callout
{
...
...
@@ -417,4 +420,68 @@ footer a:hover {
.green-font
{
color
:
#39d197
;
}
/* footer的切换动画 */
.slideshow-container
{
position
:
relative
;
max-width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
justify-content
:
center
;
/* Center horizontally */
align-items
:
center
;
/* Center vertically */
}
.slide
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
opacity
:
0
;
transition
:
opacity
1s
ease-in-out
;
justify-content
:
center
;
/* Center horizontally */
align-items
:
center
;
/* Center vertically */
}
.fade-img
{
width
:
auto
;
height
:
100%
;
object-fit
:
cover
;
}
.fade1
{
animation
:
fade1
15s
infinite
;
}
@keyframes
fade1
{
0
%
{
opacity
:
0
;
}
5
%
{
opacity
:
1
;
}
30
%
{
opacity
:
1
;
}
35
%
{
opacity
:
0
;
}
100
%
{
opacity
:
0
;
}
}
.fade2
{
animation
:
fade2
15s
infinite
;
}
@keyframes
fade2
{
0
%
{
opacity
:
0
;
}
30
%
{
opacity
:
0
;
}
35
%
{
opacity
:
1
;
}
65
%
{
opacity
:
1
;
}
70
%
{
opacity
:
0
;
}
100
%
{
opacity
:
0
;
}
}
.fade3
{
animation
:
fade3
15s
infinite
;
}
@keyframes
fade3
{
0
%
{
opacity
:
0
;
}
65
%
{
opacity
:
0
;
}
70
%
{
opacity
:
1
;
}
95
%
{
opacity
:
1
;
}
100
%
{
opacity
:
0
;
}
}
\ No newline at end of file
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