Skip to content

Commit 6fb625d

Browse files
committed
Remove o que não esta sendo usado
1 parent 421d442 commit 6fb625d

File tree

8 files changed

+2136
-294
lines changed

8 files changed

+2136
-294
lines changed

package-lock.json

Lines changed: 2086 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Nav.svelte

Lines changed: 50 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,57 @@
11
<script>
2-
export let segment;
2+
export let segment;
33
</script>
44

55
<style>
6-
nav {
7-
border-bottom: 1px solid rgba(255,62,0,0.1);
8-
font-weight: 300;
9-
padding: 0 1em;
10-
}
11-
12-
ul {
13-
margin: 0;
14-
padding: 0;
15-
}
16-
17-
/* clearfix */
18-
ul::after {
19-
content: '';
20-
display: block;
21-
clear: both;
22-
}
23-
24-
li {
25-
display: block;
26-
float: left;
27-
}
28-
29-
.selected {
30-
position: relative;
31-
display: inline-block;
32-
}
33-
34-
.selected::after {
35-
position: absolute;
36-
content: '';
37-
width: calc(100% - 1em);
38-
height: 2px;
39-
background-color: rgb(255,62,0);
40-
display: block;
41-
bottom: -1px;
42-
}
43-
44-
a {
45-
text-decoration: none;
46-
padding: 1em 0.5em;
47-
display: block;
48-
}
6+
nav {
7+
border-bottom: 1px solid rgba(255, 62, 0, 0.1);
8+
font-weight: 300;
9+
padding: 0 1em;
10+
}
11+
12+
ul {
13+
margin: 0;
14+
padding: 0;
15+
}
16+
17+
/* clearfix */
18+
ul::after {
19+
content: "";
20+
display: block;
21+
clear: both;
22+
}
23+
24+
li {
25+
display: block;
26+
float: left;
27+
}
28+
29+
.selected {
30+
position: relative;
31+
display: inline-block;
32+
}
33+
34+
.selected::after {
35+
position: absolute;
36+
content: "";
37+
width: calc(100% - 1em);
38+
height: 2px;
39+
background-color: rgb(255, 62, 0);
40+
display: block;
41+
bottom: -1px;
42+
}
43+
44+
a {
45+
text-decoration: none;
46+
padding: 1em 0.5em;
47+
display: block;
48+
}
4949
</style>
5050

5151
<nav>
52-
<ul>
53-
<li><a class='{segment === undefined ? "selected" : ""}' href='.'>home</a></li>
54-
<li><a class='{segment === "about" ? "selected" : ""}' href='about'>about</a></li>
55-
56-
<!-- for the blog link, we're using rel=prefetch so that Sapper prefetches
57-
the blog data when we hover over the link or tap it on a touchscreen -->
58-
<li><a rel=prefetch class='{segment === "blog" ? "selected" : ""}' href='blog'>blog</a></li>
59-
</ul>
60-
</nav>
52+
<ul>
53+
<li>
54+
<a class={segment === undefined ? 'selected' : ''} href=".">home</a>
55+
</li>
56+
</ul>
57+
</nav>

src/routes/about.svelte

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/routes/blog/[slug].json.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/routes/blog/[slug].svelte

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/routes/blog/_posts.js

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/routes/blog/index.json.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/routes/blog/index.svelte

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)