Skip to content

Commit ae90fd5

Browse files
committed
Add CodeCrafters forward link
1 parent 8774f40 commit ae90fd5

1 file changed

Lines changed: 102 additions & 0 deletions

File tree

static/codecrafters/index.html

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<title>CodeCrafters 40% off | corrode</title>
7+
<link
8+
rel="stylesheet"
9+
type="text/css"
10+
href="/syntax-theme-dark-custom.css"
11+
media="(prefers-color-scheme: dark)"
12+
/>
13+
<link
14+
rel="stylesheet"
15+
type="text/css"
16+
href="/syntax-theme-light-custom.css"
17+
media="(prefers-color-scheme: light)"
18+
/>
19+
<link rel="stylesheet" type="text/css" href="/style.css" />
20+
<style>
21+
html,
22+
.container {
23+
height: 100%;
24+
display: flex;
25+
flex-direction: column;
26+
justify-content: center;
27+
align-items: center;
28+
box-sizing: border-box;
29+
}
30+
.logo {
31+
width: 200px;
32+
max-width: 100%;
33+
filter: invert(1);
34+
}
35+
#codecrafters {
36+
max-width: 600px;
37+
text-align: center;
38+
padding: 20px;
39+
}
40+
p {
41+
margin: 1rem 0;
42+
font-size: 1.2rem;
43+
line-height: 1.5;
44+
}
45+
.product-name {
46+
color: #fab71c;
47+
font-weight: 600;
48+
}
49+
.cta-link {
50+
display: inline-flex;
51+
align-items: center;
52+
background-color: #3a3f52;
53+
color: white;
54+
text-decoration: none;
55+
padding: 1rem 2rem;
56+
border-radius: 8px;
57+
font-weight: 600;
58+
font-size: 1.1rem;
59+
border: 1px solid white;
60+
}
61+
.cta-link svg {
62+
margin-left: 10px;
63+
width: 16px;
64+
height: 16px;
65+
opacity: 0.8;
66+
}
67+
.context {
68+
font-size: 0.9rem;
69+
opacity: 0.8;
70+
}
71+
</style>
72+
</head>
73+
<body>
74+
<div class="container">
75+
<img class="logo" src="/corrode.svg" alt="Corrode Logo" />
76+
<div id="codecrafters">
77+
<p>
78+
Learn Rust by building <b>real systems</b> with
79+
<span class="product-name">CodeCrafters</span>.
80+
</p>
81+
<p>
82+
Build your own Redis, SQLite, Git, and more through guided challenges!
83+
</p>
84+
<a href="https://app.codecrafters.io/join?via=mre" class="cta-link">
85+
Try CodeCrafters for free
86+
<svg
87+
xmlns="http://www.w3.org/2000/svg"
88+
viewBox="0 0 20 20"
89+
fill="currentColor"
90+
>
91+
<path
92+
fill-rule="evenodd"
93+
d="M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z"
94+
clip-rule="evenodd"
95+
/>
96+
</svg>
97+
</a>
98+
<p class="context">Get 40% off if you upgrade to a paid plan.</p>
99+
</div>
100+
</div>
101+
</body>
102+
</html>

0 commit comments

Comments
 (0)