Skip to content

Instantly share code, notes, and snippets.

@maman
Last active July 1, 2020 10:29
Show Gist options
  • Save maman/98146459309e1939244ff8c180320b53 to your computer and use it in GitHub Desktop.
Save maman/98146459309e1939244ff8c180320b53 to your computer and use it in GitHub Desktop.
@import (css)
url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&display=swap&css");
diff --git a/pages/_app.tsx b/pages/_app.tsx
index c7fff5d..fab5e04 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -8,6 +8,8 @@ import { GraphQLClientProvider } from "../lib/graphql";
import { ChatProvider } from "../lib/sendbird";
import LoadingIndicator from "../lib/uikit/LoadingIndicator";
+import "./global.less";
+
const Root: React.FC<AppProps> = ({ Component, pageProps }) => {
const [isRouteChanging, setRouteChanging] = useState(false);
diff --git a/pages/index.module.less b/pages/index.module.less
index a76fd64..ded21c0 100644
--- a/pages/index.module.less
+++ b/pages/index.module.less
@@ -1,14 +1,3 @@
-@import url(
- https://fonts.googleapis.com/css2?family=Montserrat:ital,
- wght@0,
- 500;0,
- 600;0,
- 700;1,
- 500;1,
- 600;1,
- 700&display=swap&css
-);
-
.container {
display: flex;
align-items: center;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment