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
ef2cd520
Commit
ef2cd520
authored
6 months ago
by
Xingan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
home page update,add promotion video
parent
1a821e5e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#414932
passed
6 months ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/asset/img/miami.jpg
+0
-0
0 additions, 0 deletions
src/asset/img/miami.jpg
src/containers/App/App.css
+10
-1
10 additions, 1 deletion
src/containers/App/App.css
src/contents/home.tsx
+18
-97
18 additions, 97 deletions
src/contents/home.tsx
with
28 additions
and
98 deletions
src/asset/miami.jpg
→
src/asset/
img/
miami.jpg
+
0
−
0
View file @
ef2cd520
File moved
This diff is collapsed.
Click to expand it.
src/containers/App/App.css
+
10
−
1
View file @
ef2cd520
...
...
@@ -14,6 +14,10 @@ body {
background-color
:
#45b06c
ff
;
}
.bg-victoria
{
background-color
:
rgb
(
211
,
240
,
130
);
}
.bg-miami
{
background-image
:
url('/src/asset/miami.jpg')
;
/* 背景图片路径 */
background-size
:
cover
;
/* 使背景图片覆盖整个容器 */
...
...
@@ -92,9 +96,14 @@ footer a:hover {
/* header */
.bg-miami
{
background-image
:
url('/src/asset/miami.jpg')
;
/* 背景图片路径 */
background-image
:
url('/src/asset/
img/
miami.jpg')
;
/* 背景图片路径 */
background-size
:
cover
;
/* 使背景图片覆盖整个容器 */
background-position
:
center
;
/* 居中对齐背景图片 */
background-repeat
:
no-repeat
;
/* 防止背景图片重复 */
background-attachment
:
fixed
;
/* 固定背景图片,使其在滚动时不移动 */
}
.px100
{
font-size
:
100px
;
color
:
#72d6b0
;
}
This diff is collapsed.
Click to expand it.
src/contents/home.tsx
+
18
−
97
View file @
ef2cd520
import
{
Inspirations
,
InspirationLink
}
from
"
../components
"
;
//
import {
url } from "inspector
";
export
function
Home
()
{
const
links
:
InspirationLink
[]
=
[
{
year
:
2022
,
teamName
:
"
DTU-Denmark
"
,
pageName
:
""
},
{
year
:
2022
,
teamName
:
"
Virginia
"
,
pageName
:
""
},
{
year
:
2022
,
teamName
:
"
Crete
"
,
pageName
:
""
},
{
year
:
2022
,
teamName
:
"
Estonia_TUIT
"
,
pageName
:
""
},
{
year
:
2022
,
teamName
:
"
AshesiGhana
"
,
pageName
:
""
},
{
year
:
2021
,
teamName
:
"
SDU-Denmark
"
,
pageName
:
""
},
{
year
:
2020
,
teamName
:
"
XMU-China
"
,
pageName
:
""
},
{
year
:
2020
,
teamName
:
"
TAS_Taipei
"
,
pageName
:
""
},
];
return
(
<>
<
div
className
=
"row"
>
<
div
className
=
"col"
>
<
h2
>
Before you start
</
h2
>
<
hr
/>
<
p
>
Please read the following pages:
</
p
>
<
ul
>
<
li
>
<
a
href
=
"https://competition.igem.org/deliverables/team-wiki"
target
=
"_blank"
>
Wiki Requirements page
</
a
>
</
li
>
<
li
>
<
a
href
=
"https://competition.igem.org/judging/pages-for-awards"
target
=
"_blank"
>
Standard URL Pages for Awards
</
a
>
</
li
>
</
ul
>
</
div
>
</
div
>
<
div
className
=
"row mt-4"
>
<
div
className
=
"col"
>
<
h2
>
Styling your wiki
</
h2
>
<
hr
/>
<
p
>
Feel free to customize the page styling according to your
preferences, or you can simply leave the style as it is. It's wise
to focus on a clear content first, and on a clean design later.
</
p
>
<
p
>
Be cautious with the size of the assets like images, videos, and
more, that you put in your wiki. Large file sizes can hinder the
presentation of wikis due to slow internet connections. Remember to
compress large files before uploading them to iGEM servers.
</
p
>
<
p
>
This default wiki meets the requirements, enhances navigability, and
provides a user-friendly experience for visitors. You should not
feel obligated to go beyond the provided styling.
</
p
>
</
div
>
</
div
>
<
div
className
=
"row mt-4"
>
<
div
className
=
"col-lg-8"
>
<
h2
>
Tips
</
h2
>
<
hr
/>
<
p
>
This wiki will be your team's first interaction with the rest of the
world, so here are a few tips to help you get started:
</
p
>
<
ul
>
<
li
>
State your accomplishments! Tell people what you have achieved
from the start.
</
li
>
<
li
>
Be clear about what you are doing and how you plan to do this.
</
li
>
<
li
>
You have a global audience! Consider the different backgrounds
that your users come from.
</
li
>
<
li
>
Make sure information is easy to find; nothing should be more than
3 clicks away.
</
li
>
<
li
>
Avoid using very small fonts and low contrast colors; information
should be easy to read.
</
li
>
<
li
>
Start documenting your project as early as possible; don't leave
anything to the last minute before the Wiki Freeze. For a complete
list of deadlines visit the
{
"
"
}
<
a
href
=
"https://competition.igem.org/calendar"
target
=
"_blank"
>
iGEM Competition calendar
</
a
>
</
li
>
<
li
>
Have lots of fun!
</
li
>
</
ul
>
<
div
className
=
"container"
>
<
div
className
=
"row justify-content-center bg-victoria "
>
<
div
></
div
>
<
div
className
=
"col-md-8"
>
<
div
className
=
"row justify-content-center h1"
>
Promotion Video
</
div
>
<
div
className
=
"embed-responsive embed-responsive-16by9"
>
<
video
className
=
"embed-responsive-item"
controls
>
<
source
src
=
{
"
https://static.igem.org/peertube/streaming-playlists/hls/b8667885-e1be-48b2-ab9b-d1aac71db0da/e35183e1-c8b5-45b0-a83a-d2b98dcb6996-480-fragmented.mp4
"
}
type
=
"video/mp4"
/>
Your browser does not support the video tag.
</
video
>
</
div
>
</
div
>
<
Inspirations
inspirationLinkList
=
{
links
}
/>
</
div
>
</
div
>
</>
);
}
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