Skip to content

Commit

Permalink
update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
thal0x committed Sep 12, 2023
1 parent cf2d694 commit 7a04993
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
9 changes: 2 additions & 7 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import { ChainProvider } from "@cosmos-kit/react";
import * as RadixToast from "@radix-ui/react-toast";
import { QueryClientProvider } from "@tanstack/react-query";
import { Analytics } from "@vercel/analytics/react";
import { assets,chains } from "chain-registry";
import { assets, chains } from "chain-registry";
import { AppProps } from "next/app";
import { Jost } from "next/font/google";
import Head from "next/head";

import MainLayout from "@/components/MainLayout";
Expand All @@ -20,10 +19,6 @@ import { ToastProvider } from "@/context/toast";
import { SkipProvider } from "@/solve";
import { queryClient } from "@/utils/query";

const jost = Jost({
subsets: ["latin"],
});

export default function App({ Component, pageProps }: AppProps) {
chains.push({
$schema: "../chain.schema.json",
Expand Down Expand Up @@ -181,7 +176,7 @@ export default function App({ Component, pageProps }: AppProps) {
content="Interchain transfers and swaps on any Cosmos chain"
/>
</Head>
<main className={jost.className}>
<main>
<QueryClientProvider client={queryClient}>
<ChainProvider
chains={chains}
Expand Down
13 changes: 12 additions & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ import { Head, Html, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head />
<Head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin=""
/>
<link
href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600&display=swap"
rel="stylesheet"
/>
</Head>
<body className="bg-[#FFDC61]">
<img
src="/site-bg-2.svg"
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ module.exports = {
"site-bg-2": "url('/site-bg-2.svg')",
squiggle: "url('/squiggle.svg')",
},
fontFamily: {
sans: ["Jost", "sans-serif"],
},
},
},
plugins: [],
Expand Down

0 comments on commit 7a04993

Please sign in to comment.