Skip to content

Commit b9b9471

Browse files
committed
Update homepage
1 parent dd4df74 commit b9b9471

File tree

2 files changed

+38
-33
lines changed

2 files changed

+38
-33
lines changed

public/images/logo.jpg

166 KB
Loading

src/pages/index.astro

Lines changed: 38 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,45 @@ import { createLocalPath } from "../utils/link";
55
---
66

77
<BaseLayout title="Home">
8-
<div class="lg:w-[50%] w-[90%] mx-auto my-12">
9-
<h1>Have you ever?</h1>
10-
<p>
11-
Felt stuck when you encounter a merge conflict because you have never seen
12-
it before? Wouldn't it be great if you could practice these scenarios
13-
without the worry of messing up an important project repository?
14-
</p>
8+
<div class="lg:w-[50%] w-[90%] mx-auto my-12 flex flex-col gap-4">
9+
<div class="flex flex-col gap-4 justify-center items-center">
10+
<img
11+
src="/learning-lab/images/logo.jpg"
12+
width="150"
13+
/>
14+
<h1>Welcome to the git-mastery learning lab!</h1>
15+
<p class="text-lg text-justify">
16+
Learn Git through hands-on problems designed to test your understanding
17+
through real-world scenarios. Work on problems locally, submit your
18+
progress, and receive direct feedback to improve your skills!
19+
</p>
20+
<a
21+
href="https://git-mastery.github.io"
22+
class="hover:cursor-pointer hover:bg-white hover:text-black !no-underline transition duration-300 inline-block text-center items-center px-8 py-2 rounded-4xl bg-black border-2 border-black text-white font-bold"
23+
>
24+
Find out more &nearr;
25+
</a>
26+
</div>
1527

16-
<p>
17-
Or have you just started learning Git and realized that the tutorial
18-
examples feel too simple and you aren't getting enough practice but don't
19-
know where to start?
20-
</p>
28+
<div class="w-[20%] border-t-2 mx-auto border-dotted border-t-neutral-300">
29+
</div>
2130

22-
<div class="w-[80%] my-4 m-auto border-b-neutral-300 border-b-1"></div>
23-
24-
<h1>Introducing... git-mastery!</h1>
25-
<p>
26-
git-mastery looks to help to bridge these gaps in your understanding,
27-
providing realistic story-based scenarios to tackle Git problems. These
28-
give you the opportunity to put your understanding of Git theory to the
29-
test!
30-
</p>
31-
32-
<p>
33-
No matter if you are looking to learn Git or looking to hone your Git
34-
skills, git-mastery has got you covered!
35-
</p>
36-
37-
<a
38-
href={createLocalPath("setup")}
39-
class="hover:cursor-pointer hover:bg-blue-400 hover:text-white !no-underline transition duration-300 inline-block text-center mt-8 items-center w-full px-4 py-2 rounded-md bg-blue-200 font-bold"
40-
>
41-
Are you ready? →
42-
</a>
31+
<div class="flex flex-col gap-4 self-center">
32+
<h2 class="text-center">Get started!</h2>
33+
<div class="flex lg:flex-row flex-col gap-4 self-center">
34+
<a
35+
href={createLocalPath("setup")}
36+
class="hover:cursor-pointer hover:bg-white hover:text-black !no-underline transition duration-300 inline-block text-center items-center px-8 py-2 rounded-4xl bg-blue-300 border-2 border-blue-300 font-bold"
37+
>
38+
Setup git-mastery &rarr;
39+
</a>
40+
<a
41+
href={createLocalPath("lessons")}
42+
class="hover:cursor-pointer hover:bg-white hover:text-black !no-underline transition duration-300 inline-block text-center items-center px-8 py-2 rounded-4xl bg-red-300 border-2 border-red-300 font-bold"
43+
>
44+
Jump to lessons &rarr;
45+
</a>
46+
</div>
47+
</div>
4348
</div>
4449
</BaseLayout>

0 commit comments

Comments
 (0)