feat: landing page + smart components
This commit is contained in:
7
plugins/formatCountry.js
Normal file
7
plugins/formatCountry.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import Vue from "vue"
|
||||
|
||||
Vue.filter("formatCountry", (countryCode) =>
|
||||
String.fromCodePoint(
|
||||
...[...countryCode.toUpperCase()].map((x) => 0x1f1a5 + x.charCodeAt())
|
||||
)
|
||||
)
|
||||
5
plugins/v-tippy.js
Normal file
5
plugins/v-tippy.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import Vue from "vue"
|
||||
import VueTippy, { TippyComponent } from "vue-tippy"
|
||||
|
||||
Vue.use(VueTippy)
|
||||
Vue.component("Tippy", TippyComponent)
|
||||
Reference in New Issue
Block a user