diff --git a/README.md b/README.md index 836b9ed..a2d7f52 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,6 @@ Web component created using [lit](https://lit.dev/) ``` - ``` 1. Generate a [google maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key) diff --git a/public/assets/fonts_google/poppins/fonts.css b/public/assets/fonts_google/poppins/fonts.css deleted file mode 100644 index 41e02ad..0000000 --- a/public/assets/fonts_google/poppins/fonts.css +++ /dev/null @@ -1,37 +0,0 @@ -/* Ref: Paste of https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap */ - -/* latin */ -@font-face { - font-family: "Poppins"; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url(pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, - U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, - U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -/* latin */ -@font-face { - font-family: "Poppins"; - font-style: normal; - font-weight: 500; - font-display: swap; - src: url(pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, - U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, - U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} - -/* latin */ -@font-face { - font-family: "Poppins"; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url(pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2) format("woff2"); - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, - U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, - U+2193, U+2212, U+2215, U+FEFF, U+FFFD; -} diff --git a/public/assets/fonts_google/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2 b/public/assets/fonts_google/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2 deleted file mode 100644 index 568b553..0000000 Binary files a/public/assets/fonts_google/poppins/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2 and /dev/null differ diff --git a/public/assets/fonts_google/poppins/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2 b/public/assets/fonts_google/poppins/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2 deleted file mode 100644 index ebe2c49..0000000 Binary files a/public/assets/fonts_google/poppins/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2 and /dev/null differ diff --git a/public/assets/fonts_google/poppins/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2 b/public/assets/fonts_google/poppins/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2 deleted file mode 100644 index ed45aa4..0000000 Binary files a/public/assets/fonts_google/poppins/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2 and /dev/null differ diff --git a/public/index.html b/public/index.html index 4e27f28..ce2fb3a 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,6 @@ // Copy / paste the lines below directly inside the
tag of front page of app --> - diff --git a/src/alpaca-map-marker.js b/src/alpaca-map-marker.js index ff8200e..f0857fe 100644 --- a/src/alpaca-map-marker.js +++ b/src/alpaca-map-marker.js @@ -36,11 +36,6 @@ export default class AlpacaMapMarker extends LitElement { box-shadow: 10px 10px 5px #0003; color: var(--almost-black); - /* Override google map font to avoid flicker when load */ - font: - 400 1.5em Poppins, - Arial, - sans-serif; padding: 0.75rem; width: auto; diff --git a/src/alpaca-map.js b/src/alpaca-map.js index 76610a1..8f9151b 100644 --- a/src/alpaca-map.js +++ b/src/alpaca-map.js @@ -4,7 +4,6 @@ import { MarkerClusterer } from "@googlemaps/markerclusterer"; import { Loader } from "@googlemaps/js-api-loader"; import STYLED_MAP_TYPE from "./styles-map.js"; -import stylesGoogle from "./styles-google.js"; import "./alpaca-map-marker.js"; import "./alpaca-map-icon.js"; @@ -18,7 +17,6 @@ export default class AlpacaMap extends LitElement { }; static styles = [ - stylesGoogle, css` /********* Overall layout *********/ :host { diff --git a/src/styles-google.js b/src/styles-google.js deleted file mode 100644 index 946e0ea..0000000 --- a/src/styles-google.js +++ /dev/null @@ -1,10 +0,0 @@ -import { css } from "lit"; - -export default css` - :host { - font-family: "Poppins"; - - /* To reduce flicker when font loads */ - line-height: 1.5em; - } -`;