Skip to content

Commit 8dfd1b2

Browse files
committed
πŸ“πŸŽ¨πŸ”οΈ docs: Add sitemap, robots.txt, 404 template
1 parent d5dc9d9 commit 8dfd1b2

File tree

5 files changed

+80
-2
lines changed

5 files changed

+80
-2
lines changed

β€Ždocs/assets/css/main.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,14 @@ a.section-link:hover,
6060
.section-link.active {
6161
color: #1393e0;
6262
}
63-
6463
a.section-link.internal-section-link {
6564
color: #1393e0;
6665
}
6766

67+
a.btn {
68+
color: #fff;
69+
}
70+
6871
blockquote {
6972
font-style: italic;
7073
color: #868e96;

β€Ždocs/assets/img/404.gif

1.31 MB
Loading

β€Ždocs/pages/404.html

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,42 @@
1-
404 Nothing Found
1+
<style>
2+
.page_404 {
3+
padding:40px 0;
4+
}
5+
6+
.page_404_bg {
7+
background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
8+
/* background-image: url("./assets/img/404.gif"); */
9+
height: 400px;
10+
background-position: center;
11+
}
12+
13+
.page_404_bg h1 {
14+
font-size:80px;
15+
}
16+
17+
.page_404_bg h3 {
18+
font-size:80px;
19+
}
20+
21+
.page_404_content {
22+
margin-top: -50px;
23+
}
24+
</style>
25+
26+
<section class="page_404">
27+
<div class="container">
28+
<div class="row">
29+
<div class="col-sm-12 text-center">
30+
<div class="page_404_bg">
31+
<h1 class="text-center">404</h1>
32+
</div>
33+
34+
<div class="page_404_content">
35+
<h3 class="h2">Oops, Looks like you're lost</h3>
36+
<p>This page does not exist!</p>
37+
<a href="./" class="btn btn-success simple-link">Home</a>
38+
</div>
39+
</div>
40+
</div>
41+
</div>
42+
</section>

β€Ždocs/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Sitemap: https://typeahead.digitalfortress.tech/sitemap.xml

β€Ždocs/sitemap.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset
3+
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
4+
xmlns:xhtml="http://www.w3.org/1999/xhtml"
5+
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
8+
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
9+
10+
11+
<url>
12+
<loc>https://typeahead.digitalfortress.tech/</loc>
13+
</url>
14+
<url>
15+
<loc>https://typeahead.digitalfortress.tech/#install</loc>
16+
</url>
17+
<url>
18+
<loc>https://typeahead.digitalfortress.tech/#usage</loc>
19+
</url>
20+
<url>
21+
<loc>https://typeahead.digitalfortress.tech/#config</loc>
22+
</url>
23+
<url>
24+
<loc>https://typeahead.digitalfortress.tech/#styles</loc>
25+
</url>
26+
<url>
27+
<loc>https://typeahead.digitalfortress.tech/#references</loc>
28+
</url>
29+
<url>
30+
<loc>https://typeahead.digitalfortress.tech/#playground</loc>
31+
</url>
32+
</urlset>

0 commit comments

Comments
Β (0)