Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: add featured section

AykutSarac7aee4a4c4c0f
diff --git a/public/assets/hn.svg b/public/assets/hn.svg
new file mode 100644
index 00000000..455054ed
--- /dev/null
+++ b/public/assets/hn.svg
@@ -0,0 +1,25 @@
+<svg viewBox="0 0 1126 210" fill="lightgray" xmlns="http://www.w3.org/2000/svg">
+ <g clip-path="url(#clip0_176_19)">
+ <g clip-path="url(#clip1_176_19)">
+ <path
+ d="M210 0.458344H0.458252V210H210V0.458344Z"
+ fill="#FF6600"
+ stroke="white"
+ stroke-width="0.09375"
+ ></path>
+ <path
+ d="M77.6457 46.1674L103 98.9889L128.354 46.1674H150.162L111.906 118.043V164.291H94.0946V118.043L55.8381 46.1674H77.6457Z"
+ fill="white"
+ ></path>
+ </g>
+ <path d="M333.355 151H310.855V112.562H277.633V151H255.133V63.7539H277.633V95.6875H310.855V63.7539H333.355V151ZM394.352 133.832V120.121C391.5 120.355 388.414 120.688 385.094 121.117C381.773 121.508 379.254 121.977 377.535 122.523C375.426 123.188 373.805 124.164 372.672 125.453C371.578 126.703 371.031 128.363 371.031 130.434C371.031 131.801 371.148 132.914 371.383 133.773C371.617 134.633 372.203 135.453 373.141 136.234C374.039 137.016 375.113 137.602 376.363 137.992C377.613 138.344 379.566 138.52 382.223 138.52C384.332 138.52 386.461 138.09 388.609 137.23C390.797 136.371 392.711 135.238 394.352 133.832ZM394.352 144.027C393.219 144.887 391.812 145.922 390.133 147.133C388.453 148.344 386.871 149.301 385.387 150.004C383.316 150.941 381.168 151.625 378.941 152.055C376.715 152.523 374.273 152.758 371.617 152.758C365.367 152.758 360.133 150.824 355.914 146.957C351.695 143.09 349.586 138.148 349.586 132.133C349.586 127.328 350.66 123.402 352.809 120.355C354.957 117.309 358.004 114.906 361.949 113.148C365.855 111.391 370.699 110.141 376.48 109.398C382.262 108.656 388.258 108.109 394.469 107.758V107.406C394.469 103.773 392.984 101.273 390.016 99.9062C387.047 98.5 382.672 97.7969 376.891 97.7969C373.414 97.7969 369.703 98.4219 365.758 99.6719C361.812 100.883 358.98 101.82 357.262 102.484H355.328V86.6055C357.555 86.0195 361.168 85.3359 366.168 84.5547C371.207 83.7344 376.246 83.3242 381.285 83.3242C393.277 83.3242 401.93 85.1797 407.242 88.8906C412.594 92.5625 415.27 98.3438 415.27 106.234V151H394.352V144.027ZM468.941 152.758C463.199 152.758 457.945 152.074 453.18 150.707C448.453 149.34 444.332 147.23 440.816 144.379C437.34 141.527 434.645 137.934 432.73 133.598C430.816 129.262 429.859 124.184 429.859 118.363C429.859 112.23 430.875 106.938 432.906 102.484C434.977 98.0312 437.848 94.3398 441.52 91.4102C445.074 88.6367 449.176 86.6055 453.824 85.3164C458.473 84.0273 463.297 83.3828 468.297 83.3828C472.789 83.3828 476.93 83.8711 480.719 84.8477C484.508 85.8242 488.043 87.0938 491.324 88.6562V106.645H488.336C487.516 105.941 486.52 105.121 485.348 104.184C484.215 103.246 482.809 102.328 481.129 101.43C479.527 100.57 477.77 99.8672 475.855 99.3203C473.941 98.7344 471.715 98.4414 469.176 98.4414C463.551 98.4414 459.215 100.238 456.168 103.832C453.16 107.387 451.656 112.23 451.656 118.363C451.656 124.691 453.199 129.496 456.285 132.777C459.41 136.059 463.824 137.699 469.527 137.699C472.184 137.699 474.566 137.406 476.676 136.82C478.824 136.195 480.602 135.473 482.008 134.652C483.336 133.871 484.508 133.051 485.523 132.191C486.539 131.332 487.477 130.492 488.336 129.672H491.324V147.66C488.004 149.223 484.527 150.453 480.895 151.352C477.301 152.289 473.316 152.758 468.941 152.758ZM575.172 151H550.621L532.164 122.348L526.422 129.32V151H505.328V59.8281H526.422V114.262L549.156 85.1992H573.473L549.801 113.559L575.172 151ZM650.641 121.996H602.359C602.672 127.152 604.625 131.098 608.219 133.832C611.852 136.566 617.184 137.934 624.215 137.934C628.668 137.934 632.984 137.133 637.164 135.531C641.344 133.93 644.645 132.211 647.066 130.375H649.41V147.309C644.645 149.223 640.152 150.609 635.934 151.469C631.715 152.328 627.047 152.758 621.93 152.758C608.727 152.758 598.609 149.789 591.578 143.852C584.547 137.914 581.031 129.457 581.031 118.48C581.031 107.621 584.352 99.0273 590.992 92.6992C597.672 86.332 606.812 83.1484 618.414 83.1484C629.117 83.1484 637.164 85.8633 642.555 91.293C647.945 96.6836 650.641 104.457 650.641 114.613V121.996ZM629.664 109.633C629.547 105.219 628.453 101.898 626.383 99.6719C624.312 97.4453 621.09 96.332 616.715 96.332C612.652 96.332 609.312 97.3867 606.695 99.4961C604.078 101.605 602.613 104.984 602.301 109.633H629.664ZM713.219 105.297H711.344C710.445 104.984 709 104.75 707.008 104.594C705.016 104.438 703.355 104.359 702.027 104.359C699.02 104.359 696.363 104.555 694.059 104.945C691.754 105.336 689.273 106 686.617 106.938V151H665.523V85.1992H686.617V94.8672C691.266 90.8828 695.309 88.2461 698.746 86.957C702.184 85.6289 705.348 84.9648 708.238 84.9648C708.98 84.9648 709.82 84.9844 710.758 85.0234C711.695 85.0625 712.516 85.1211 713.219 85.1992V105.297ZM846.695 151H825.016L787.984 91.1172V151H767.359V63.7539H794.254L826.07 113.734V63.7539H846.695V151ZM932.594 121.996H884.312C884.625 127.152 886.578 131.098 890.172 133.832C893.805 136.566 899.137 137.934 906.168 137.934C910.621 137.934 914.938 137.133 919.117 135.531C923.297 133.93 926.598 132.211 929.02 130.375H931.363V147.309C926.598 149.223 922.105 150.609 917.887 151.469C913.668 152.328 909 152.758 903.883 152.758C890.68 152.758 880.562 149.789 873.531 143.852C866.5 137.914 862.984 129.457 862.984 118.48C862.984 107.621 866.305 99.0273 872.945 92.6992C879.625 86.332 888.766 83.1484 900.367 83.1484C911.07 83.1484 919.117 85.8633 924.508 91.293C929.898 96.6836 932.594 104.457 932.594 114.613V121.996ZM911.617 109.633C911.5 105.219 910.406 101.898 908.336 99.6719C906.266 97.4453 903.043 96.332 898.668 96.332C894.605 96.332 891.266 97.3867 888.648 99.4961C886.031 101.605 884.566 104.984 884.254 109.633H911.617ZM1052.42 85.1992L1032.03 151H1009.64L996.227 106.645L983.043 151H960.367L940.152 85.1992H962.301L973.551 130.551L987.613 85.1992H1006.3L1019.66 130.551L1030.74 85.1992H1052.42ZM1122.2 130.141C1122.2 136.938 1119.16 142.426 1113.06 146.605C1106.97 150.746 1098.63 152.816 1088.04 152.816C1082.18 152.816 1076.87 152.27 1072.11 151.176C1067.34 150.082 1063.51 148.871 1060.62 147.543V130.199H1062.55C1063.61 130.941 1064.82 131.762 1066.19 132.66C1067.59 133.52 1069.57 134.457 1072.11 135.473C1074.29 136.371 1076.77 137.152 1079.55 137.816C1082.32 138.441 1085.29 138.754 1088.45 138.754C1092.59 138.754 1095.66 138.305 1097.65 137.406C1099.64 136.469 1100.64 135.102 1100.64 133.305C1100.64 131.703 1100.05 130.551 1098.88 129.848C1097.71 129.105 1095.48 128.402 1092.2 127.738C1090.64 127.387 1088.51 127.016 1085.82 126.625C1083.16 126.195 1080.74 125.688 1078.55 125.102C1072.57 123.539 1068.14 121.117 1065.25 117.836C1062.36 114.516 1060.91 110.395 1060.91 105.473C1060.91 99.1445 1063.9 93.8906 1069.88 89.7109C1075.89 85.4922 1084.1 83.3828 1094.49 83.3828C1099.41 83.3828 1104.12 83.8906 1108.61 84.9062C1113.14 85.8828 1116.68 86.9375 1119.21 88.0703V104.711H1117.4C1114.27 102.562 1110.7 100.824 1106.68 99.4961C1102.69 98.1289 1098.65 97.4453 1094.55 97.4453C1091.15 97.4453 1088.28 97.9141 1085.93 98.8516C1083.63 99.7891 1082.48 101.117 1082.48 102.836C1082.48 104.398 1083 105.59 1084.06 106.41C1085.11 107.23 1087.59 108.051 1091.5 108.871C1093.65 109.301 1095.95 109.73 1098.41 110.16C1100.91 110.551 1103.41 111.059 1105.91 111.684C1111.46 113.129 1115.56 115.414 1118.22 118.539C1120.88 121.625 1122.2 125.492 1122.2 130.141Z"></path>
+ </g>
+ <defs>
+ <clipPath id="clip0_176_19">
+ <rect width="1126" height="210" fill="white"></rect>
+ </clipPath>
+ <clipPath id="clip1_176_19">
+ <rect width="214" height="214" fill="white" transform="translate(-4 -4)"></rect>
+ </clipPath>
+ </defs>
+ </svg>
\ No newline at end of file
diff --git a/public/assets/ph.svg b/public/assets/ph.svg
new file mode 100644
index 00000000..38c634c1
--- /dev/null
+++ b/public/assets/ph.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 935 219" fill="lightgray" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_176_3)"><path d="M218.991 109.5C218.991 169.999 170.037 219 109.596 219C49.1552 219 0.200928 169.999 0.200928 109.5C0.200928 49.0012 49.1552 0 109.596 0C170.037 0 218.991 49.0012 218.991 109.5Z" fill="#DA552F"></path><path d="M124.182 109.5H93.1866V76.65H124.182C133.207 76.65 140.591 84.0413 140.591 93.075C140.591 102.109 133.207 109.5 124.182 109.5ZM124.182 54.75H71.3076V164.25H93.1866V131.4H124.182C145.332 131.4 162.47 114.245 162.47 93.075C162.47 71.905 145.332 54.75 124.182 54.75Z" fill="white"></path><path d="M333.947 96.0863C333.947 90.0638 329.298 86.4137 323.281 86.4137H307.145V105.668H323.281C329.298 105.668 333.947 102.018 333.947 96.0863ZM291.921 146V73H325.469C341.057 73 349.536 83.4938 349.536 96.0863C349.536 108.588 340.966 119.081 325.469 119.081H307.236V146H291.921Z"></path><path d="M358.743 146V92.8013H372.418V99.8275C376.155 95.3563 382.537 91.5238 389.009 91.5238V104.846C388.006 104.664 386.821 104.573 385.271 104.573C380.713 104.573 374.697 107.128 372.509 110.504V146.091H358.743V146Z"></path><path d="M434.864 118.716C434.864 110.686 430.123 103.66 421.554 103.66C413.076 103.66 408.336 110.686 408.336 118.716C408.336 126.929 413.076 133.864 421.554 133.864C430.123 133.864 434.864 126.838 434.864 118.716ZM394.114 118.716C394.114 104.025 404.416 91.5238 421.463 91.5238C438.693 91.5238 448.994 104.025 448.994 118.716C448.994 133.408 438.693 146 421.463 146C404.416 146 394.114 133.408 394.114 118.716Z"></path><path d="M494.94 127.932V109.591C492.661 106.124 487.738 103.66 483.271 103.66C475.431 103.66 470.053 109.774 470.053 118.716C470.053 127.75 475.431 133.864 483.271 133.864C487.738 133.864 492.661 131.4 494.94 127.932ZM494.94 146V138.061C490.838 143.263 485.277 146 478.895 146C465.859 146 455.922 136.145 455.922 118.716C455.922 101.835 465.677 91.5238 478.895 91.5238C485.003 91.5238 490.838 94.0788 494.94 99.4625V73H508.705V146H494.94Z"></path><path d="M557.204 146V138.152C553.648 141.985 547.449 146 538.971 146C527.576 146 522.197 139.795 522.197 129.666V92.8012H535.872V124.282C535.872 131.491 539.609 133.864 545.444 133.864C550.731 133.864 554.925 130.944 557.295 127.932V92.8012H570.969V146H557.204Z"></path><path d="M581.088 118.716C581.088 102.839 592.666 91.5238 608.619 91.5238C619.285 91.5238 625.667 96.1775 629.131 100.923L620.197 109.318C617.736 105.668 613.998 103.751 609.258 103.751C600.962 103.751 595.219 109.774 595.219 118.808C595.219 127.841 601.053 133.955 609.258 133.955C613.998 133.955 617.736 131.765 620.197 128.298L629.131 136.693C625.667 141.438 619.285 146.183 608.619 146.183C592.666 146 581.088 134.685 581.088 118.716Z"></path><path d="M640.891 131.674V104.664H632.322V92.71H640.891V78.5663H654.565V92.8013H665.049V104.755H654.565V128.115C654.565 131.491 656.297 133.955 659.306 133.955C661.311 133.955 663.317 133.225 664.046 132.313L666.964 142.715C664.958 144.54 661.311 146.091 655.568 146.091C645.905 146 640.891 141.073 640.891 131.674Z"></path><path d="M752.383 146V114.519H718.562V146H703.337V73H718.562V101.196H752.383V73H767.789V146H752.383Z"></path><path d="M816.561 146V138.152C813.006 141.985 806.807 146 798.329 146C786.933 146 781.555 139.795 781.555 129.666V92.8012H795.229V124.282C795.229 131.491 798.967 133.864 804.801 133.864C810.089 133.864 814.282 130.944 816.652 127.932V92.8012H830.327V146H816.561Z"></path><path d="M878.734 146V113.333C878.734 106.124 874.996 103.66 869.162 103.66C863.783 103.66 859.681 106.671 857.311 109.683V146H843.636V92.8013H857.311V99.4625C860.684 95.63 867.065 91.5238 875.452 91.5238C886.938 91.5238 892.408 98.0025 892.408 108.04V146H878.734Z"></path><path d="M908.817 131.674V104.664H900.248V92.71H908.817V78.5663H922.492V92.8013H932.975V104.755H922.492V128.115C922.492 131.491 924.224 133.955 927.232 133.955C929.238 133.955 931.243 133.225 931.973 132.313L934.89 142.715C932.884 144.54 929.238 146.091 923.494 146.091C913.831 146 908.817 141.073 908.817 131.674Z"></path></g><defs><clipPath id="clip0_176_3"><rect width="935" height="219" fill="white"></rect></clipPath></defs></svg>
\ No newline at end of file
diff --git a/public/assets/x.svg b/public/assets/x.svg
new file mode 100644
index 00000000..6d4e96f2
--- /dev/null
+++ b/public/assets/x.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 252 252" fill="white" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_177_29)"><path d="M126 250.793C195.036 250.793 251 194.875 251 125.897C251 56.9181 195.036 1 126 1C56.9644 1 1 56.9181 1 125.897C1 194.875 56.9644 250.793 126 250.793Z" fill="black" stroke="white" stroke-miterlimit="10"></path><path d="M48.9999 53.5352L108.748 133.357L48.6233 198.256H62.1561L114.797 141.435L157.327 198.256H203.377L140.265 113.945L196.23 53.5352H182.697L134.219 105.865L95.0494 53.5352H48.9999ZM68.9004 63.4941H90.0554L183.474 188.297H162.319L68.9004 63.4941Z" fill="white"></path></g><defs><clipPath id="clip0_177_29"><rect width="252" height="252" fill="white"></rect></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 9af460fc..1a57625c 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,7 +1,7 @@
import React from "react";
import Head from "next/head";
import Link from "next/link";
-import { Button, Group } from "@mantine/core";
+import { Button, Flex, Group, Text } from "@mantine/core";
import styled from "styled-components";
import { MdChevronRight } from "react-icons/md";
import Layout from "src/layout/Layout";
@@ -60,6 +60,17 @@ const StyledImageWrapper = styled.div`
}
`;
+const StyledFeaturedSection = styled.section`
+ img {
+ filter: brightness(70%) grayscale(100%);
+ transition: filter 200ms ease;
+ }
+
+ img:hover {
+ filter: none;
+ }
+`;
+
export const HomePage = () => {
return (
<Layout>
@@ -117,6 +128,41 @@ export const HomePage = () => {
</Button>
</Group>
</StyledHeroSectionBody>
+ <StyledFeaturedSection>
+ <Flex
+ mx="auto"
+ align="flex-start"
+ justify="center"
+ pb={120}
+ gap="xl"
+ style={{ whiteSpace: "nowrap" }}
+ >
+ <Text fz="xs" c="dimmed">
+ Featured on
+ </Text>
+ <a
+ href="https://news.ycombinator.com/item?id=32626873"
+ target="_blank"
+ rel="noreferrer"
+ >
+ <img width={128} src="./assets/hn.svg" alt="Hacker News" />
+ </a>
+ <a
+ href="https://www.producthunt.com/products/JSON-Crack"
+ target="_blank"
+ rel="noreferrer"
+ >
+ <img width={128} src="./assets/ph.svg" alt="Product Hunt" />
+ </a>
+ <a
+ href="https://twitter.com/github/status/1519363257794015233"
+ target="_blank"
+ rel="noreferrer"
+ >
+ <img width={32} src="./assets/x.svg" alt="X" />
+ </a>
+ </Flex>
+ </StyledFeaturedSection>
<StyledImageWrapper>
<img src="./assets/preview.png" alt="JSON Crack Preview" />
</StyledImageWrapper>