-
Notifications
You must be signed in to change notification settings - Fork 661
Expand file tree
/
Copy pathApp.astro
More file actions
86 lines (77 loc) · 1.65 KB
/
App.astro
File metadata and controls
86 lines (77 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
---
import Navbar from './Navbar.astro';
import LinkButton from './LinkButton.astro';
import ProjectList from './ProjectList.astro';
import SocialShare from './SocialShare.astro';
---
<div class="App">
<Navbar />
<div class="App-header">
<h1>
Make your first <br/>
<a href="https://firstcontributions.github.io/contribute-to-opensource">
open source <span>contribution</span>
</a>
<br/> in 5 minutes
</h1>
</div>
<LinkButton />
<ProjectList />
<SocialShare />
</div>
<style>
.App {
background-color: #0a0a0a;
text-align: center;
display: flex;
justify-content: center;
flex-direction: column;
min-height: 100vh;
}
.App-header {
padding: 7px;
color: white;
}
.App-header a {
text-decoration: none;
color: inherit;
}
.App-header > h1 {
font-size: 5.1rem;
letter-spacing: -0.05em;
font-weight: 700;
margin: 0 0 20px 0;
line-height: 1.2;
}
.App-header > h1 span {
background: linear-gradient(90deg, #60a5fa, #1d4ed8, #60a5fa);
background-size: 200% 200%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@media (max-width: 700px) {
.App-header > h1 {
font-size: 3.1rem;
letter-spacing: -0.05em;
font-weight: 700;
}
}
@media (max-width: 480px) {
.App-header > h1 {
font-size: 2.5rem;
}
}
</style>