diff --git a/gulpfile.js b/gulpfile.js
index 2160bf0..4175936 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -7,13 +7,13 @@ const terser = require('gulp-terser');
sass.compiler = require('sass');
function html() {
- return gulp.src('./src/**/*.pug')
+ return gulp.src('./src/index.pug')
.pipe(pug())
.pipe(gulp.dest('./dist/'));
}
function css() {
- return gulp.src('./src/style/**/*.scss')
+ return gulp.src('./src/style/*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(postcss([require('autoprefixer'), require('cssnano')]))
.pipe(gulp.dest('./dist/'));
@@ -25,10 +25,16 @@ function js() {
.pipe(gulp.dest('./dist/'));
}
-exports.default = gulp.parallel(html, css, js);
+function static() {
+ return gulp.src('./src/static/**/*')
+ .pipe(gulp.dest('./dist/'));
+}
+
+exports.default = gulp.parallel(html, css, js, static);
exports.watch = () => {
- gulp.watch('./src/**/*.pug', html);
- gulp.watch('./src/style/**/*.scss', css);
- gulp.watch('./src/script/**/*.js', js);
-}
\ No newline at end of file
+ gulp.watch('./src/index.pug', html);
+ gulp.watch('./src/style/*.scss', css);
+ gulp.watch('./src/script/index.js', js);
+ gulp.watch('./src/static/*', static);
+}
diff --git a/src/index.pug b/src/index.pug
index e7b8d84..a85c79c 100644
--- a/src/index.pug
+++ b/src/index.pug
@@ -7,6 +7,16 @@ html(lang="en")
link(rel="stylesheet", href="main.css")
link(rel="stylesheet", href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Roboto:wght@400;500&display=swap")
+
+ link(rel='apple-touch-icon' sizes='180x180' href='./icons/apple-touch-icon.png')
+ link(rel='icon' type='image/png' sizes='32x32' href='./icons/favicon-32x32.png')
+ link(rel='icon' type='image/png' sizes='16x16' href='./icons/favicon-16x16.png')
+ link(rel='manifest' href='./icons/site.webmanifest')
+ link(rel='mask-icon' href='./icons/safari-pinned-tab.svg' color='#3088d4')
+ link(rel='shortcut icon' href='./icons/favicon.ico')
+ meta(name='msapplication-TileColor' content='#1f232b')
+ meta(name='msapplication-config' content='./icons/browserconfig.xml')
+ meta(name='theme-color' content='#1f232b')
body
header
h1 🐘 toot
diff --git a/src/logo.svg b/src/logo.svg
new file mode 100644
index 0000000..0a02291
--- /dev/null
+++ b/src/logo.svg
@@ -0,0 +1,5 @@
+
+
+
diff --git a/src/static/icons/android-chrome-192x192.png b/src/static/icons/android-chrome-192x192.png
new file mode 100644
index 0000000..fc648e0
Binary files /dev/null and b/src/static/icons/android-chrome-192x192.png differ
diff --git a/src/static/icons/android-chrome-512x512.png b/src/static/icons/android-chrome-512x512.png
new file mode 100644
index 0000000..d227478
Binary files /dev/null and b/src/static/icons/android-chrome-512x512.png differ
diff --git a/src/static/icons/apple-touch-icon.png b/src/static/icons/apple-touch-icon.png
new file mode 100644
index 0000000..3550bb5
Binary files /dev/null and b/src/static/icons/apple-touch-icon.png differ
diff --git a/src/static/icons/browserconfig.xml b/src/static/icons/browserconfig.xml
new file mode 100644
index 0000000..2bd0329
--- /dev/null
+++ b/src/static/icons/browserconfig.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+ #1f232b
+
+
+
diff --git a/src/static/icons/favicon-16x16.png b/src/static/icons/favicon-16x16.png
new file mode 100644
index 0000000..506af94
Binary files /dev/null and b/src/static/icons/favicon-16x16.png differ
diff --git a/src/static/icons/favicon-32x32.png b/src/static/icons/favicon-32x32.png
new file mode 100644
index 0000000..3b65f7d
Binary files /dev/null and b/src/static/icons/favicon-32x32.png differ
diff --git a/src/static/icons/favicon.ico b/src/static/icons/favicon.ico
new file mode 100644
index 0000000..9e302f2
Binary files /dev/null and b/src/static/icons/favicon.ico differ
diff --git a/src/static/icons/mstile-144x144.png b/src/static/icons/mstile-144x144.png
new file mode 100644
index 0000000..1c18b9a
Binary files /dev/null and b/src/static/icons/mstile-144x144.png differ
diff --git a/src/static/icons/mstile-150x150.png b/src/static/icons/mstile-150x150.png
new file mode 100644
index 0000000..e82ef3f
Binary files /dev/null and b/src/static/icons/mstile-150x150.png differ
diff --git a/src/static/icons/mstile-310x150.png b/src/static/icons/mstile-310x150.png
new file mode 100644
index 0000000..a751b8f
Binary files /dev/null and b/src/static/icons/mstile-310x150.png differ
diff --git a/src/static/icons/mstile-310x310.png b/src/static/icons/mstile-310x310.png
new file mode 100644
index 0000000..804c8d1
Binary files /dev/null and b/src/static/icons/mstile-310x310.png differ
diff --git a/src/static/icons/mstile-70x70.png b/src/static/icons/mstile-70x70.png
new file mode 100644
index 0000000..28da34c
Binary files /dev/null and b/src/static/icons/mstile-70x70.png differ
diff --git a/src/static/icons/safari-pinned-tab.svg b/src/static/icons/safari-pinned-tab.svg
new file mode 100644
index 0000000..78469d4
--- /dev/null
+++ b/src/static/icons/safari-pinned-tab.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/static/icons/site.webmanifest b/src/static/icons/site.webmanifest
new file mode 100644
index 0000000..9cec453
--- /dev/null
+++ b/src/static/icons/site.webmanifest
@@ -0,0 +1,20 @@
+{
+ "name": "toot",
+ "short_name": "toot",
+ "icons": [
+ {
+ "src": "android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#1f232b",
+ "background_color": "#1f232b",
+ "start_url": "https://toot.karamoff.dev",
+ "display": "standalone"
+}
diff --git a/src/static/robots.txt b/src/static/robots.txt
new file mode 100644
index 0000000..e223f09
--- /dev/null
+++ b/src/static/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Allow: /$
+Disallow: /