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 React from "react";
import Link from "next/link";
import { Button, Title } from "@mantine/core"; import { Button, Title } from "@mantine/core";
import styled from "styled-components"; import styled from "styled-components";
import { MdChevronRight } from "react-icons/md"; import { MdChevronRight } from "react-icons/md";

View File

@ -3,7 +3,6 @@ import Link from "next/link";
import { import {
Anchor, Anchor,
Button, Button,
Center,
Container, Container,
Divider, Divider,
Flex, Flex,
@ -15,17 +14,26 @@ import {
import dayjs from "dayjs"; import dayjs from "dayjs";
import { FaDiscord, FaGithub, FaLinkedin } from "react-icons/fa"; import { FaDiscord, FaGithub, FaLinkedin } from "react-icons/fa";
import { FaXTwitter } from "react-icons/fa6"; import { FaXTwitter } from "react-icons/fa6";
import { JSONCrackLogo } from "../JsonCrackLogo"; import { JSONCrackLogo } from "./JsonCrackLogo";
export const Footer = () => { export const Footer = () => {
return ( return (
<Container mt={150}> <Container mt={150}>
<Stack align="center"> <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"> <Text fz="lg" c="dimmed">
Designed for everyone, save time understanding your data. Designed for everyone, save time understanding your data.
</Text> </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 Get Started
</Button> </Button>
</Stack> </Stack>

View File

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

View File

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

View File

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