fix lint errors

This commit is contained in:
AykutSarac 2024-05-14 21:29:56 +03:00
parent 900e6897b9
commit 3f23f50038
No known key found for this signature in database
9 changed files with 21 additions and 11 deletions

View File

@ -1,5 +1,4 @@
import React from "react";
import Link from "next/link";
import { Button, Title } from "@mantine/core";
import styled from "styled-components";
import { MdChevronRight } from "react-icons/md";

View File

@ -3,7 +3,6 @@ import Link from "next/link";
import {
Anchor,
Button,
Center,
Container,
Divider,
Flex,
@ -15,17 +14,26 @@ import {
import dayjs from "dayjs";
import { FaDiscord, FaGithub, FaLinkedin } from "react-icons/fa";
import { FaXTwitter } from "react-icons/fa6";
import { JSONCrackLogo } from "../JsonCrackLogo";
import { JSONCrackLogo } from "./JsonCrackLogo";
export const Footer = () => {
return (
<Container mt={150}>
<Stack align="center">
<Title c="black" order={3}>Get Started with JSON Crack</Title>
<Title c="black" order={3}>
Get Started with JSON Crack
</Title>
<Text fz="lg" c="dimmed">
Designed for everyone, save time understanding your data.
</Text>
<Button color="dark" component={Link} prefetch={false} href="/pricing" radius="lg" size="xl">
<Button
color="dark"
component={Link}
prefetch={false}
href="/pricing"
radius="lg"
size="xl"
>
Get Started
</Button>
</Stack>

View File

@ -1,8 +1,8 @@
import React from "react";
import styled, { ThemeProvider } from "styled-components";
import { lightTheme } from "src/constants/theme";
import { Footer } from "../Footer";
import { Navbar } from "../Navbar";
import { Footer } from "./Footer";
import { Navbar } from "./Navbar";
const StyledLayoutWrapper = styled.div`
padding-bottom: 48px;

View File

@ -2,7 +2,7 @@ import React from "react";
import Link from "next/link";
import { Button } from "@mantine/core";
import styled from "styled-components";
import { JSONCrackLogo } from "../JsonCrackLogo";
import { JSONCrackLogo } from "./JsonCrackLogo";
const StyledNavbarWrapper = styled.div`
z-index: 3;

View File

@ -20,9 +20,12 @@ interface EmbedMessage {
};
}
const Graph = dynamic(() => import("src/containers/Editor/LiveEditor/GraphView").then(c => c.Graph), {
ssr: false,
});
const Graph = dynamic(
() => import("src/containers/Editor/LiveEditor/GraphView").then(c => c.Graph),
{
ssr: false,
}
);
const WidgetPage = () => {
const { query, push, isReady } = useRouter();