feat: landing page + smart components

This commit is contained in:
Liyas Thomas
2021-07-02 05:01:29 +00:00
committed by GitHub
parent fb93db6ad4
commit a130cfcadb
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())
)
)