From ef1ae42bda60ddc83081e0b198753a61bc2118a2 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Sun, 22 Sep 2024 22:29:57 +0300 Subject: [PATCH] landing update --- src/containers/Landing/HeroSection.tsx | 30 ++++--------------- src/containers/Landing/LovedBy.tsx | 40 ++++++++++++++++++++++++-- src/layout/Navbar.tsx | 10 ++----- src/pages/index.tsx | 16 ++++++++++- 4 files changed, 61 insertions(+), 35 deletions(-) diff --git a/src/containers/Landing/HeroSection.tsx b/src/containers/Landing/HeroSection.tsx index 86c76ba3f36..c06be18e4ec 100644 --- a/src/containers/Landing/HeroSection.tsx +++ b/src/containers/Landing/HeroSection.tsx @@ -1,9 +1,9 @@ import React from "react"; import { Plus_Jakarta_Sans } from "next/font/google"; import Link from "next/link"; -import { Stack, Flex, Button, Badge } from "@mantine/core"; +import { Stack, Flex, Button, Image } from "@mantine/core"; import styled from "styled-components"; -import { FaChevronRight, FaFire } from "react-icons/fa6"; +import { FaChevronRight } from "react-icons/fa6"; const plusJakartaSans = Plus_Jakarta_Sans({ subsets: ["latin-ext"], @@ -105,28 +105,10 @@ export const HeroSection = () => { - } - tt="unset" - visibleFrom="xs" - > - NEW: Now faster & more powerful — ToDiagram.com - - } - tt="unset" - hiddenFrom="xs" - > - NEW: Now faster & more powerful — ToDiagram.com - + + built by + Todiagram Logo + Visualize JSON into interactive graphs diff --git a/src/containers/Landing/LovedBy.tsx b/src/containers/Landing/LovedBy.tsx index ca984ec5632..e1a92b710c1 100644 --- a/src/containers/Landing/LovedBy.tsx +++ b/src/containers/Landing/LovedBy.tsx @@ -1,8 +1,8 @@ import React from "react"; -import { Container, Flex, Text } from "@mantine/core"; +import { Button, Container, Flex, Text, Image } from "@mantine/core"; import styled from "styled-components"; import CountUp from "react-countup"; -import { FaGithub, FaHackerNews, FaProductHunt } from "react-icons/fa6"; +import { FaGithub, FaHackerNews, FaLinkedin, FaProductHunt, FaXTwitter } from "react-icons/fa6"; interface LovedByProps { stars: number; @@ -63,6 +63,42 @@ export const LovedBy = ({ stars }: LovedByProps) => { return ( + + + + + ); }; diff --git a/src/layout/Navbar.tsx b/src/layout/Navbar.tsx index 670fdfd6420..13eb67b9f81 100644 --- a/src/layout/Navbar.tsx +++ b/src/layout/Navbar.tsx @@ -1,6 +1,6 @@ import React from "react"; import Link from "next/link"; -import { Button, Flex, Image, Stack } from "@mantine/core"; +import { Button } from "@mantine/core"; import styled from "styled-components"; import { JSONCrackLogo } from "./JsonCrackLogo"; @@ -55,13 +55,7 @@ export const Navbar = () => { - - - - from - Todiagram Logo - - +