Skip to content

Commit e797829

Browse files
committed
chore: Update webiste.
1 parent 2b6f36e commit e797829

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

website/App.css

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,54 @@ body {
3131
.App-link {
3232
color: #09d3ac;
3333
}
34+
35+
.App-arrow {
36+
display: block;
37+
position: absolute;
38+
height: 40px;
39+
width: 40px;
40+
z-index: 100;
41+
background-size: 100% auto;
42+
bottom: -18px;
43+
left: 50%;
44+
margin-left: -20px;
45+
animation: animate 2s infinite;
46+
}
47+
.App-arrow::after {
48+
content: "";
49+
position: absolute;
50+
width: 20px;
51+
height: 20px;
52+
margin-left: -10px;
53+
border-top: 3px solid #ccc;
54+
border-left: 3px solid #ccc;
55+
transform: rotate(45deg)
56+
}
57+
@keyframes animate {
58+
0% {
59+
opacity:0;-webkit-transform:translateY(0);transform:translateY(0)
60+
}
61+
33%,66% {
62+
opacity:.8
63+
}
64+
50% {
65+
opacity:.8;-webkit-transform:translateY(-8px);transform:translateY(-8px)
66+
}
67+
100% {
68+
opacity:0;-webkit-transform:translateY(-16px);transform:translateY(-16px)
69+
}
70+
}
71+
@-webkit-keyframes animate {
72+
0% {
73+
opacity:0;-webkit-transform:translateY(0)
74+
}
75+
33%,66% {
76+
opacity:.8
77+
}
78+
50% {
79+
opacity:.8;-webkit-transform:translateY(-8px)
80+
}
81+
100% {
82+
opacity:0;-webkit-transform:translateY(-16px)
83+
}
84+
}

website/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const App: React.FC = () => {
1818
<Example />
1919
<ExampleKKT />
2020
</div>
21+
<span className="App-arrow"></span>
2122
</header>
2223
<Markdown
2324
style={{ paddingTop: 25, maxWidth: 680, margin: '0 auto' }}

0 commit comments

Comments
 (0)