feat: landing page + smart components

This commit is contained in:
Liyas Thomas
2021-07-02 05:01:29 +00:00
committed by GitHub
parent a0e26c6c4f
commit dd41ac3888
23 changed files with 1124 additions and 55 deletions

7
plugins/formatCountry.js Normal file
View 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
View File

@@ -0,0 +1,5 @@
import Vue from "vue"
import VueTippy, { TippyComponent } from "vue-tippy"
Vue.use(VueTippy)
Vue.component("Tippy", TippyComponent)