diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..96c8fe0 --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,30 @@ +{ + "name": "Tissue", + "short_name": "Tissue", + "description": "気持ちよくティッシュを使った、そのあとの感想戦。", + "display": "minimal-ui", + "start_url": "/", + "share_target": { + "action": "/checkin", + "method": "GET", + "enctype": "application/x-www-form-urlencoded", + "url_template": "/checkin?link={url}", + "params": { + "title": "", + "text": "link", + "url": "link" + } + }, + "icons": [ + { + "src": "apple-touch-icon.png", + "type": "image/png", + "sizes": "180x180" + }, + { + "src": "chrome-touch-icon-192x192.png", + "type": "image/png", + "sizes": "192x192" + } + ] +} \ No newline at end of file diff --git a/public/sw.js b/public/sw.js new file mode 100644 index 0000000..5e52397 --- /dev/null +++ b/public/sw.js @@ -0,0 +1 @@ +self.addEventListener('fetch', function() {}); \ No newline at end of file diff --git a/resources/views/layouts/base.blade.php b/resources/views/layouts/base.blade.php index 6367385..685232e 100644 --- a/resources/views/layouts/base.blade.php +++ b/resources/views/layouts/base.blade.php @@ -12,6 +12,7 @@