From 0082ed837ed0b4b9a047520460782562bad0d8aa Mon Sep 17 00:00:00 2001
From: taehoon
Date: Sun, 1 Dec 2019 12:56:53 -0500
Subject: [PATCH] versioning the font resources through webpack
---
index.html | 2 --
{static => src}/font/LICENSE.txt | 0
{static => src}/font/README.txt | 0
{static => src}/font/config.json | 0
{static => src}/font/css/animation.css | 0
{static => src}/font/css/fontello-codes.css | 0
{static => src}/font/css/fontello-embedded.css | 0
{static => src}/font/css/fontello-ie7-codes.css | 0
{static => src}/font/css/fontello-ie7.css | 0
{static => src}/font/css/fontello.css | 0
{static => src}/font/demo.html | 0
{static => src}/font/font/fontello.eot | Bin
{static => src}/font/font/fontello.svg | 0
{static => src}/font/font/fontello.ttf | Bin
{static => src}/font/font/fontello.woff | Bin
{static => src}/font/font/fontello.woff2 | Bin
src/main.js | 3 +++
17 files changed, 3 insertions(+), 2 deletions(-)
rename {static => src}/font/LICENSE.txt (100%)
rename {static => src}/font/README.txt (100%)
rename {static => src}/font/config.json (100%)
rename {static => src}/font/css/animation.css (100%)
rename {static => src}/font/css/fontello-codes.css (100%)
rename {static => src}/font/css/fontello-embedded.css (100%)
rename {static => src}/font/css/fontello-ie7-codes.css (100%)
rename {static => src}/font/css/fontello-ie7.css (100%)
rename {static => src}/font/css/fontello.css (100%)
rename {static => src}/font/demo.html (100%)
rename {static => src}/font/font/fontello.eot (100%)
rename {static => src}/font/font/fontello.svg (100%)
rename {static => src}/font/font/fontello.ttf (100%)
rename {static => src}/font/font/fontello.woff (100%)
rename {static => src}/font/font/fontello.woff2 (100%)
diff --git a/index.html b/index.html
index fd4e795e..1ff944d9 100644
--- a/index.html
+++ b/index.html
@@ -6,8 +6,6 @@
Pleroma
-
-
diff --git a/static/font/LICENSE.txt b/src/font/LICENSE.txt
similarity index 100%
rename from static/font/LICENSE.txt
rename to src/font/LICENSE.txt
diff --git a/static/font/README.txt b/src/font/README.txt
similarity index 100%
rename from static/font/README.txt
rename to src/font/README.txt
diff --git a/static/font/config.json b/src/font/config.json
similarity index 100%
rename from static/font/config.json
rename to src/font/config.json
diff --git a/static/font/css/animation.css b/src/font/css/animation.css
similarity index 100%
rename from static/font/css/animation.css
rename to src/font/css/animation.css
diff --git a/static/font/css/fontello-codes.css b/src/font/css/fontello-codes.css
similarity index 100%
rename from static/font/css/fontello-codes.css
rename to src/font/css/fontello-codes.css
diff --git a/static/font/css/fontello-embedded.css b/src/font/css/fontello-embedded.css
similarity index 100%
rename from static/font/css/fontello-embedded.css
rename to src/font/css/fontello-embedded.css
diff --git a/static/font/css/fontello-ie7-codes.css b/src/font/css/fontello-ie7-codes.css
similarity index 100%
rename from static/font/css/fontello-ie7-codes.css
rename to src/font/css/fontello-ie7-codes.css
diff --git a/static/font/css/fontello-ie7.css b/src/font/css/fontello-ie7.css
similarity index 100%
rename from static/font/css/fontello-ie7.css
rename to src/font/css/fontello-ie7.css
diff --git a/static/font/css/fontello.css b/src/font/css/fontello.css
similarity index 100%
rename from static/font/css/fontello.css
rename to src/font/css/fontello.css
diff --git a/static/font/demo.html b/src/font/demo.html
similarity index 100%
rename from static/font/demo.html
rename to src/font/demo.html
diff --git a/static/font/font/fontello.eot b/src/font/font/fontello.eot
similarity index 100%
rename from static/font/font/fontello.eot
rename to src/font/font/fontello.eot
diff --git a/static/font/font/fontello.svg b/src/font/font/fontello.svg
similarity index 100%
rename from static/font/font/fontello.svg
rename to src/font/font/fontello.svg
diff --git a/static/font/font/fontello.ttf b/src/font/font/fontello.ttf
similarity index 100%
rename from static/font/font/fontello.ttf
rename to src/font/font/fontello.ttf
diff --git a/static/font/font/fontello.woff b/src/font/font/fontello.woff
similarity index 100%
rename from static/font/font/fontello.woff
rename to src/font/font/fontello.woff
diff --git a/static/font/font/fontello.woff2 b/src/font/font/fontello.woff2
similarity index 100%
rename from static/font/font/fontello.woff2
rename to src/font/font/fontello.woff2
diff --git a/src/main.js b/src/main.js
index a9db1cff..6469ba5c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -32,6 +32,9 @@ import VTooltip from 'v-tooltip'
import afterStoreSetup from './boot/after_store.js'
+import './font/css/fontello.css'
+import './font/css/animation.css'
+
const currentLocale = (window.navigator.language || 'en').split('-')[0]
Vue.use(Vuex)