Skip to content

Commit db3304c

Browse files
Fix: Css structure
1 parent 5b42679 commit db3304c

File tree

4 files changed

+39
-42
lines changed

4 files changed

+39
-42
lines changed

pages/index.js

Lines changed: 33 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,43 @@ export default function Home() {
88
<title>Web Dev Path</title>
99
<link rel="icon" href="/favicon.ico" />
1010
</Head>
11-
<main>
12-
<h1 className={styles.title}>&lt; Web Dev wannabe? /&gt;</h1>
13-
<div className={styles.description}>
14-
<p>
15-
Hold our hand and enjoy the road to learn how to start a new
16-
project, the magic behind Github while working in a team
17-
environment, and much more...
18-
</p>
19-
</div>
20-
<hr className={styles.divider} />
11+
<h1 className={styles.title}>&lt; Web Dev wannabe? /&gt;</h1>
12+
<div className={styles.description}>
13+
<p>
14+
Hold our hand and enjoy the road to learn how to start a new project,
15+
the magic behind Github while working in a team environment, and much
16+
more...
17+
</p>
18+
</div>
19+
<hr className={styles.divider} />
2120

22-
<div className={styles.grid}>
23-
<a href="https://nextjs.org/docs" className={styles.card}>
24-
<h3>Documentation &rarr;</h3>
25-
<p>Find in-depth information about Next.js features and API.</p>
26-
</a>
21+
<div className={styles.grid}>
22+
<a href="https://nextjs.org/docs" className={styles.card}>
23+
<h3>Documentation &rarr;</h3>
24+
<p>Find in-depth information about Next.js features and API.</p>
25+
</a>
2726

28-
<a href="https://nextjs.org/learn" className={styles.card}>
29-
<h3>Learn &rarr;</h3>
30-
<p>Learn about Next.js in an interactive course with quizzes!</p>
31-
</a>
27+
<a href="https://nextjs.org/learn" className={styles.card}>
28+
<h3>Learn &rarr;</h3>
29+
<p>Learn about Next.js in an interactive course with quizzes!</p>
30+
</a>
3231

33-
<a
34-
href="https://github.com/vercel/next.js/tree/master/examples"
35-
className={styles.card}
36-
>
37-
<h3>Examples &rarr;</h3>
38-
<p>Discover and deploy boilerplate example Next.js projects.</p>
39-
</a>
32+
<a
33+
href="https://github.com/vercel/next.js/tree/master/examples"
34+
className={styles.card}
35+
>
36+
<h3>Examples &rarr;</h3>
37+
<p>Discover and deploy boilerplate example Next.js projects.</p>
38+
</a>
4039

41-
<a
42-
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
43-
className={styles.card}
44-
>
45-
<h3>Deploy &rarr;</h3>
46-
<p>
47-
Instantly deploy your Next.js site to a public URL with Vercel.
48-
</p>
49-
</a>
50-
</div>
51-
</main>
40+
<a
41+
href="https://vercel.com/import?filter=next.js&utm_source=create-next-app&utm_medium=default-template&utm_campaign=create-next-app"
42+
className={styles.card}
43+
>
44+
<h3>Deploy &rarr;</h3>
45+
<p>Instantly deploy your Next.js site to a public URL with Vercel.</p>
46+
</a>
47+
</div>
5248
</div>
5349
);
5450
}

styles/Footer.module.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
align-items: center;
1818
}
1919

20-
.a {
21-
color: inherit;
22-
text-decoration: none;
23-
}
24-
2520
/* code {
2621
background: #fafafa;
2722
border-radius: 5px;

styles/Home.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
max-width: 700px;
3333
padding: 0 1rem;
3434
}
35+
3536
.grid {
3637
display: flex;
3738
align-items: center;

styles/globals.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ body {
66
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
77
}
88

9+
.a {
10+
color: inherit;
11+
text-decoration: none;
12+
}
13+
914
* {
1015
box-sizing: border-box;
1116
}

0 commit comments

Comments
 (0)