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
8769242b
Commit
8769242b
authored
10 months ago
by
Tianyi Liang
Browse files
Options
Downloads
Patches
Plain Diff
refactor: camelCase
parent
d3da823e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/AttributionForm/index.tsx
+2
-2
2 additions, 2 deletions
src/components/AttributionForm/index.tsx
src/components/Footer/index.tsx
+5
-5
5 additions, 5 deletions
src/components/Footer/index.tsx
with
7 additions
and
7 deletions
src/components/AttributionForm/index.tsx
+
2
−
2
View file @
8769242b
function
AttributionForm
()
{
const
team
_id
=
import
.
meta
.
env
.
VITE_TEAM_ID
;
const
team
ID
=
import
.
meta
.
env
.
VITE_TEAM_ID
;
// Listen to size change and update form height
window
.
addEventListener
(
"
message
"
,
function
(
e
)
{
...
...
@@ -19,7 +19,7 @@ function AttributionForm() {
<
iframe
style
=
{
{
width
:
"
100%
"
}
}
id
=
"igem-attribution-form"
src
=
{
`https://teams.igem.org/
${
team
_id
}
/attributions`
}
src
=
{
`https://teams.igem.org/
${
team
ID
}
/attributions`
}
/>
</>
);
...
...
This diff is collapsed.
Click to expand it.
src/components/Footer/index.tsx
+
5
−
5
View file @
8769242b
import
{
stringToSlug
}
from
"
../../utils
"
;
function
ExampleFooter
()
{
const
team
_y
ear
=
import
.
meta
.
env
.
VITE_TEAM_YEAR
;
const
team
_n
ame
=
import
.
meta
.
env
.
VITE_TEAM_NAME
;
const
team
_s
lug
=
stringToSlug
(
team
_n
ame
);
const
team
Y
ear
=
import
.
meta
.
env
.
VITE_TEAM_YEAR
;
const
team
N
ame
=
import
.
meta
.
env
.
VITE_TEAM_NAME
;
const
team
S
lug
=
stringToSlug
(
team
N
ame
);
return
(
<
footer
className
=
"pt-5 pb-5 footer py-5 mt-5 bg-dark text-white"
>
...
...
@@ -66,8 +66,8 @@ function ExampleFooter() {
<
p
>
<
small
>
The repository used to create this website is available at
{
"
"
}
<
a
href
=
{
`https://gitlab.igem.org/
${
team
_y
ear
}
/
${
team
_s
lug
}
`
}
>
gitlab.igem.org/
{
team
_y
ear
}
/
{
team
_s
lug
}
<
a
href
=
{
`https://gitlab.igem.org/
${
team
Y
ear
}
/
${
team
S
lug
}
`
}
>
gitlab.igem.org/
{
team
Y
ear
}
/
{
team
S
lug
}
</
a
>
.
</
small
>
...
...
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