Skip to content

Commit b303420

Browse files
committed
Add favicon
1 parent 8e8dd8d commit b303420

11 files changed

+62
-3
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# IDE
2+
.idea
3+
.vscode
4+
5+
# macOS
6+
.DS_Store

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM busybox:stable
22

3-
COPY index.html /var/www/html/index.html
3+
COPY www /var/www/html/
44

5-
# Write httpd configuration.
65
RUN <<EOF cat >> /var/www/httpd.conf
76
H:/var/www/html
87
I:index.html

index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

www/apple-touch-icon.png

6.42 KB
Loading

www/favicon-96x96.png

3.12 KB
Loading

www/favicon.ico

14.7 KB
Binary file not shown.

www/favicon.svg

Lines changed: 3 additions & 0 deletions
Loading

www/index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport"
6+
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
7+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<title>Foxogram Docs</title>
9+
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96"/>
10+
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
11+
<link rel="shortcut icon" href="/favicon.ico"/>
12+
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/>
13+
<meta name="apple-mobile-web-app-title" content="Foxogram Docs"/>
14+
<link rel="manifest" href="/site.webmanifest"/>
15+
<style>
16+
body {
17+
margin: 0;
18+
}
19+
20+
iframe {
21+
position: fixed;
22+
width: 100%;
23+
height: 100%;
24+
border: 0;
25+
}
26+
</style>
27+
</head>
28+
<body>
29+
<iframe src="https://api.dev.foxogram.su/swagger-ui/index.html"></iframe>
30+
</body>
31+
</html>

www/site.webmanifest

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "Foxogram Docs",
3+
"short_name": "Foxogram Docs",
4+
"icons": [
5+
{
6+
"src": "/web-app-manifest-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png",
9+
"purpose": "maskable"
10+
},
11+
{
12+
"src": "/web-app-manifest-512x512.png",
13+
"sizes": "512x512",
14+
"type": "image/png",
15+
"purpose": "maskable"
16+
}
17+
],
18+
"theme_color": "#ffffff",
19+
"background_color": "#ffffff",
20+
"display": "standalone"
21+
}

www/web-app-manifest-192x192.png

7.07 KB
Loading

www/web-app-manifest-512x512.png

15.4 KB
Loading

0 commit comments

Comments
 (0)