Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Peking
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
2023 Competition
Peking
Commits
a785717b
Commit
a785717b
authored
1 year ago
by
Junduo Zheng
Browse files
Options
Downloads
Patches
Plain Diff
over-and-text
parent
9dbdefdf
No related branches found
Branches containing commit
No related tags found
1 merge request
!144
over-and-text
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/index.vue
+22
-29
22 additions, 29 deletions
pages/index.vue
with
22 additions
and
29 deletions
pages/index.vue
+
22
−
29
View file @
a785717b
<
template
>
<div
id=
"index"
class=
"test"
>
<Title>
Home
</Title>
<div
class=
" h-screen relative"
id=
"home page"
style=
"background: url(https://static.igem.wiki/teams/4713/wiki/index/home.jpg) center center / cover"
>
<h3
class=
"text-center pt-52 pb-5 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 bg-clip-text text-transparent text-4xl lg:text-6xl font-bold"
>
<div
class=
" h-screen relative"
id=
"home page"
style=
"background: url(https://static.igem.wiki/teams/4713/wiki/index/home.jpg) center center / cover"
>
<h3
class=
"
tsaf
text-center pt-52 pb-5 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 bg-clip-text text-transparent text-4xl lg:text-6xl font-bold"
>
Welcome to peking igem
</h3>
<h1
class=
"text-center pt-32 pb-64 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 bg-clip-text text-transparent text-8xl lg:text-9xl font-bold"
>
<h1
class=
"
tsaf
text-center pt-32 pb-64 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 bg-clip-text text-transparent text-8xl lg:text-9xl font-bold"
>
Crown Assassin
</h1>
<Indexwave
class=
" absolute bottom-[0] w-full"
/>
...
...
@@ -130,7 +130,7 @@
</div>
<div
class=
" h-screen"
id=
"Our Project3"
style=
"background: url(https://static.igem.wiki/teams/4713/wiki/index/background2.png) center center / cover"
>
<h2
class=
"wordfrom text-center mx-auto pt-10 font-bold
"
style=
"font-size: 40px;
"
>
Concerns and Solutions
</h2>
<h2
class=
"wordfrom text-center mx-auto pt-10 font-bold
text-3xl lg:text-5xl"
style=
"
"
>
Concerns and Solutions
</h2>
<div
class=
"wordfrom text-center mx-auto pt-[8vh]"
style=
"display: grid; grid-template-columns: 33% 33% 33%; align-items: center; grid-column-gap: 0px; font-size: 18px; max-width: 2000px;"
>
<div
class=
"card mx-auto"
>
<div
class=
"card-inner"
>
...
...
@@ -200,12 +200,11 @@
</div>
</div>
<div
class=
"h-screen"
id=
"over"
style=
"background: url(https://static.igem.wiki/teams/4713/wiki/index/background2.png) center center / cover"
>
<div
class=
" relative text-center pt-72 pb-64 ; z-10"
style=
"color: #b36d61"
>
<p
class=
"wordfrom text-7xl lg:text-9xl font-bold"
>
<img
src=
"https://static.igem.wiki/teams/4713/wiki/index/right-1.png"
alt=
"right"
style=
"width: 20% ;right: 0%"
class=
"top-[4rem] sticky float-right arrow z-10"
>
<p
class=
"
tsaf text-center pt-[20%]
wordfrom text-7xl lg:text-9xl font-bold
pb-64"
style=
"color: #b36d61
"
>
discover more
<br>
in our wiki
</p>
</div>
</div>
</div>
</
template
>
...
...
@@ -223,38 +222,23 @@
}
}
@font-face
{
font-family
:
'kalam-regular'
;
src
:
url('../assets/font/Kalam-Regular.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'kalam-bold'
;
src
:
url('../assets/font/Kalam-Bold.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'kalam-light'
;
src
:
url('../assets/font/Kalam-Light.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'saf-regular'
;
src
:
url('../assets/font/SAF-Regular.ttf')
;
font-family
:
'fdko-regular'
;
src
:
url('https://static.igem.wiki/teams/4713/wiki/fonts/fredokaone-regular.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
@font-face
{
font-family
:
'
fdko-regular
'
;
src
:
url('https://static.igem.wiki/teams/4713/wiki/fonts/
fredokaone
-regular.ttf')
;
font-family
:
'
saf
'
;
src
:
url('https://static.igem.wiki/teams/4713/wiki/fonts/
saf
-regular.ttf')
;
font-weight
:
normal
;
font-style
:
normal
;
}
.test
{
font-family
:
'fdko-regular'
;
}
.tsaf
{
font-family
:
'saf'
;
}
.panel
{
display
:
flex
;
justify-content
:
center
;
...
...
@@ -484,6 +468,15 @@ onMounted(() => {
ease
:
"
circ.out
"
,
stagger
:
0.02
,
},
"
+=0
"
);
let
arrow
=
document
.
querySelector
(
"
.arrow
"
)
gsap
.
from
(
arrow
,
{
opacity
:
0
,
scrollTrigger
:{
trigger
:
arrow
,
markers
:
true
,
start
:
"
top 10%
"
,
toggleActions
:
"
play none none reverse
"
}})
})
...
...
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