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: update landing

AykutSarac6771ce15dca2
diff --git a/README.md b/README.md
index a03d9f4f..ab66ab6a 100644
--- a/README.md
+++ b/README.md
@@ -26,7 +26,7 @@
## About the Project
-<img width="100%" alt="booking-screen" src="./public/assets/jsoncrack-screenshot.jpeg">
+<img width="100%" alt="booking-screen" src="./public/assets/preview.png">
# More Than a JSON Editor
diff --git a/public/assets/jsoncrack-screenshot.jpeg b/public/assets/jsoncrack-screenshot.jpeg
deleted file mode 100644
index 36acfd13..00000000
Binary files a/public/assets/jsoncrack-screenshot.jpeg and /dev/null differ
diff --git a/public/assets/preview.png b/public/assets/preview.png
new file mode 100644
index 00000000..209941b2
Binary files /dev/null and b/public/assets/preview.png differ
diff --git a/public/assets/taken.svg b/public/assets/taken.svg
deleted file mode 100644
index 0ac47149..00000000
--- a/public/assets/taken.svg
+++ /dev/null
@@ -1,229 +0,0 @@
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-
-<svg id="ab01b6ca-fda4-4c55-a447-43113c79b51e" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="865.76" height="682.89" viewBox="0 0 865.76 682.89">
-
-<defs>
-
-<style xmlns="http://www.w3.org/1999/xhtml">*, ::after, ::before { box-sizing: border-box; }
-img, svg { vertical-align: middle; }
-</style>
-
-<style xmlns="http://www.w3.org/1999/xhtml">*, body, html { -webkit-font-smoothing: antialiased; }
-img, svg { max-width: 100%; }
-</style>
-
-</defs>
-
-<g id="aacbc6a0-2124-4f6c-b34d-11346ed3b501" data-name="freepik--background-simple--inject-2">
-
-<path d="M732.32,286.81s19.57-46.27,1.78-119.22S634.47,91.07,565,82.18,490.32,28.8,415.6,23.46s-138.76,40.93-151.24,89,1.78,72.95-51.58,110.32-105,69.39-83.65,138.79,74.73,69.39,83.63,115.65,71.17,103.15,144.13,126.34,122.77-41,190.38-37.37S679,564.37,711,512.78s-14.24-101.43-5.34-137S725.29,320.6,732.32,286.81Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M732.32,286.81s19.57-46.27,1.78-119.22S634.47,91.07,565,82.18,490.32,28.8,415.6,23.46s-138.76,40.93-151.24,89,1.78,72.95-51.58,110.32-105,69.39-83.65,138.79,74.73,69.39,83.63,115.65,71.17,103.15,144.13,126.34,122.77-41,190.38-37.37S679,564.37,711,512.78s-14.24-101.43-5.34-137S725.29,320.6,732.32,286.81Z" fill="#fff" opacity="0.7" style="isolation:isolate"/>
-
-</g>
-
-<g id="a4889a5a-1504-4c3e-a144-1f84ee95c415" data-name="freepik--Mountains--inject-2">
-
-<path d="M711,512.78c14.33-23.14,13-45.85,7.89-67.2-2.62-.2-5.53-.34-8.85-.34-21.25,0-26.25,36.26-38.68,37.51S640.07,464,618.82,464s-48.71,86.25-58.74,92.51-17.51-5-38.76-13.75-48.71,18.75-73.75,27.49-52.5-6.24-61.25-22.49S357.56,484,340.07,485.24s-35,13.75-45,2.51S251.31,385.24,238.82,384c-8.16-.82-45.56,21.78-70.59,37.58,19.78,17.77,39.44,29.23,44.53,55.62,8.89,46.26,71.17,103.15,144.13,126.34s122.77-41,190.38-37.37S679,564.37,711,512.78Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M711,512.78c14.33-23.14,13-45.85,7.89-67.2-2.62-.2-5.53-.34-8.85-.34-21.25,0-26.25,36.26-38.68,37.51S640.07,464,618.82,464s-48.71,86.25-58.74,92.51-17.51-5-38.76-13.75-48.71,18.75-73.75,27.49-52.5-6.24-61.25-22.49S357.56,484,340.07,485.24s-35,13.75-45,2.51S251.31,385.24,238.82,384c-8.16-.82-45.56,21.78-70.59,37.58,19.78,17.77,39.44,29.23,44.53,55.62,8.89,46.26,71.17,103.15,144.13,126.34s122.77-41,190.38-37.37S679,564.37,711,512.78Z" fill="#fff" opacity="0.5" style="isolation:isolate"/>
-
-</g>
-
-<g id="b373a570-594e-4f19-bd18-202c80330dc7" data-name="freepik--Stars--inject-2">
-
-<path d="M661.74,264.26a6.53,6.53,0,1,0,6.52,6.54h0A6.52,6.52,0,0,0,661.74,264.26Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M606.89,271.38a3.27,3.27,0,1,0,3.25,3.28v0A3.26,3.26,0,0,0,606.89,271.38Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M673.91,211.17a3.27,3.27,0,1,0,3.25,3.28h0A3.27,3.27,0,0,0,673.91,211.17Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M713.35,266.05a3.27,3.27,0,1,0,3.25,3.28v0A3.26,3.26,0,0,0,713.35,266.05Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M614.32,344.57a6.52,6.52,0,1,0,9,2.25,6.52,6.52,0,0,0-9-2.25Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M584.51,302.29a3.25,3.25,0,1,0,4.47,1.12A3.26,3.26,0,0,0,584.51,302.29Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M670.58,328.86a3.25,3.25,0,1,0,4.47,1.12,3.25,3.25,0,0,0-4.47-1.12Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M643.79,390.88a3.27,3.27,0,1,0,4.48,1.13h0A3.27,3.27,0,0,0,643.79,390.88Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M243.6,284.43a6.52,6.52,0,1,0,9,2.25A6.52,6.52,0,0,0,243.6,284.43Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M213.8,242.13a3.27,3.27,0,1,0,4.48,1.15h0A3.28,3.28,0,0,0,213.8,242.13Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M299.87,268.7a3.27,3.27,0,1,0,4.47,1.14h0A3.26,3.26,0,0,0,299.87,268.7Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M273.06,330.73a3.25,3.25,0,1,0,4.48,1.12,3.25,3.25,0,0,0-4.48-1.12Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M182.8,344.37a6.52,6.52,0,1,0,8.95,2.25,6.53,6.53,0,0,0-8.95-2.25Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M153,302.09a3.26,3.26,0,1,0,4.47,1.12,3.27,3.27,0,0,0-4.47-1.12Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M239.06,328.66a3.25,3.25,0,1,0,4.48,1.11,3.26,3.26,0,0,0-4.48-1.11Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M212.27,390.62a3.26,3.26,0,1,0,4.48,1.13h0A3.27,3.27,0,0,0,212.27,390.62Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M330.41,52.07a6.52,6.52,0,1,0,8.72,3h0A6.53,6.53,0,0,0,330.41,52.07Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M379.45,27.47A3.25,3.25,0,1,0,383.79,29a.36.36,0,0,0,0-.09A3.26,3.26,0,0,0,379.45,27.47Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M345.61,96.73a3.16,3.16,0,1,0,.11-.06Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M286.11,79a3.27,3.27,0,1,0,4.38,1.46v0A3.27,3.27,0,0,0,286.11,79Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M625.1,135.32a6.52,6.52,0,1,0,2.47,8.89v0A6.53,6.53,0,0,0,625.1,135.32Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M573.83,114.55a3.25,3.25,0,1,0,1.23,4.44,3.25,3.25,0,0,0-1.23-4.44Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M650.07,103.16a3.25,3.25,0,1,0,1.23,4.44,3.25,3.25,0,0,0-1.23-4.44Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M665.94,167.93a3.27,3.27,0,1,0-1.22-4.45h0A3.29,3.29,0,0,0,665.94,167.93Z" fill="#014D4E" data-primary="true"/>
-
-<g opacity="0.3">
-
-<path d="M661.74,264.26a6.53,6.53,0,1,0,6.52,6.54h0A6.52,6.52,0,0,0,661.74,264.26Z" fill="#fff"/>
-
-<path d="M606.89,271.38a3.27,3.27,0,1,0,3.25,3.28v0A3.26,3.26,0,0,0,606.89,271.38Z" fill="#fff"/>
-
-<path d="M673.91,211.17a3.27,3.27,0,1,0,3.25,3.28h0A3.27,3.27,0,0,0,673.91,211.17Z" fill="#fff"/>
-
-<path d="M713.35,266.05a3.27,3.27,0,1,0,3.25,3.28v0A3.26,3.26,0,0,0,713.35,266.05Z" fill="#fff"/>
-
-<path d="M614.32,344.57a6.52,6.52,0,1,0,9,2.25,6.52,6.52,0,0,0-9-2.25Z" fill="#fff"/>
-
-<path d="M584.51,302.29a3.25,3.25,0,1,0,4.47,1.12A3.26,3.26,0,0,0,584.51,302.29Z" fill="#fff"/>
-
-<path d="M670.58,328.86a3.25,3.25,0,1,0,4.47,1.12,3.25,3.25,0,0,0-4.47-1.12Z" fill="#fff"/>
-
-<path d="M643.79,390.88a3.27,3.27,0,1,0,4.48,1.13h0A3.27,3.27,0,0,0,643.79,390.88Z" fill="#fff"/>
-
-<path d="M243.6,284.43a6.52,6.52,0,1,0,9,2.25A6.52,6.52,0,0,0,243.6,284.43Z" fill="#fff"/>
-
-<path d="M213.8,242.13a3.27,3.27,0,1,0,4.48,1.15h0A3.28,3.28,0,0,0,213.8,242.13Z" fill="#fff"/>
-
-<path d="M299.87,268.7a3.27,3.27,0,1,0,4.47,1.14h0A3.26,3.26,0,0,0,299.87,268.7Z" fill="#fff"/>
-
-<path d="M273.06,330.73a3.25,3.25,0,1,0,4.48,1.12,3.25,3.25,0,0,0-4.48-1.12Z" fill="#fff"/>
-
-<path d="M182.8,344.37a6.52,6.52,0,1,0,8.95,2.25,6.53,6.53,0,0,0-8.95-2.25Z" fill="#fff"/>
-
-<path d="M153,302.09a3.26,3.26,0,1,0,4.47,1.12,3.27,3.27,0,0,0-4.47-1.12Z" fill="#fff"/>
-
-<path d="M239.06,328.66a3.25,3.25,0,1,0,4.48,1.11,3.26,3.26,0,0,0-4.48-1.11Z" fill="#fff"/>
-
-<path d="M212.27,390.62a3.26,3.26,0,1,0,4.48,1.13h0A3.27,3.27,0,0,0,212.27,390.62Z" fill="#fff"/>
-
-<path d="M330.41,52.07a6.52,6.52,0,1,0,8.72,3h0A6.53,6.53,0,0,0,330.41,52.07Z" fill="#fff"/>
-
-<path d="M379.45,27.47A3.25,3.25,0,1,0,383.79,29a.36.36,0,0,0,0-.09A3.26,3.26,0,0,0,379.45,27.47Z" fill="#fff"/>
-
-<path d="M345.61,96.73a3.16,3.16,0,1,0,.11-.06Z" fill="#fff"/>
-
-<path d="M286.11,79a3.27,3.27,0,1,0,4.38,1.46v0A3.27,3.27,0,0,0,286.11,79Z" fill="#fff"/>
-
-<path d="M625.1,135.32a6.52,6.52,0,1,0,2.47,8.89v0A6.53,6.53,0,0,0,625.1,135.32Z" fill="#fff"/>
-
-<path d="M573.83,114.55a3.25,3.25,0,1,0,1.23,4.44,3.25,3.25,0,0,0-1.23-4.44Z" fill="#fff"/>
-
-<path d="M650.07,103.16a3.25,3.25,0,1,0,1.23,4.44,3.25,3.25,0,0,0-1.23-4.44Z" fill="#fff"/>
-
-<path d="M665.94,167.93a3.27,3.27,0,1,0-1.22-4.45h0A3.29,3.29,0,0,0,665.94,167.93Z" fill="#fff"/>
-
-</g>
-
-</g>
-
-<ellipse cx="441.92" cy="141.46" rx="82.81" ry="64.64" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M500.35,100.85c12.32,10.79,19.81,25,19.81,40.61,0,33.72-35,61.06-78.21,61.06s-78.21-27.34-78.21-61.06c0-21.08,13.68-39.65,34.48-50.62" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.24"/>
-
-<path d="M408,86.42a94.3,94.3,0,0,1,19.5-5" fill="#263238" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.24"/>
-
-<ellipse cx="441.92" cy="156.71" rx="133.93" ry="44.44" fill="#014D4E" data-primary="true"/>
-
-<ellipse cx="441.92" cy="172.73" rx="190.83" ry="44.44" fill="#014D4E" data-primary="true"/>
-
-<ellipse cx="441.92" cy="172.73" rx="190.83" ry="44.44" opacity="0.2"/>
-
-<ellipse cx="441.92" cy="184.58" rx="220.45" ry="44.44" fill="#2f2e41" data-secondary="true"/>
-
-<ellipse cx="442.04" cy="184.57" rx="165.11" ry="31.06" fill="#014D4E" data-primary="true"/>
-
-<ellipse cx="441.92" cy="184.58" rx="73.48" ry="14.81" fill="#263238" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.24"/>
-
-<ellipse cx="442.04" cy="151.03" rx="17.51" ry="3.84" fill="#fff"/>
-
-<path d="M279.81,184.31c0,1.43-5.36,2.64-12,2.64s-12-1.19-12-2.64,5.37-2.64,12-2.64S279.81,182.88,279.81,184.31Z" fill="#fff"/>
-
-<path d="M631.73,184.31c0,1.43-5.37,2.64-12,2.64s-11.94-1.21-11.94-2.64,5.36-2.64,12-2.64S631.73,182.88,631.73,184.31Z" fill="#fff"/>
-
-<ellipse cx="550.15" cy="163.31" rx="16.36" ry="3.6" fill="#fff"/>
-
-<ellipse cx="346.72" cy="163.31" rx="16.36" ry="3.6" fill="#fff"/>
-
-<ellipse cx="550.15" cy="205.4" rx="11.98" ry="2.64" fill="#fff"/>
-
-<ellipse cx="346.72" cy="205.4" rx="11.98" ry="2.64" fill="#fff"/>
-
-<path d="M305.25,397.67l-.15,0a.54.54,0,0,1-.37-.67l4-14a.55.55,0,0,1,.68-.37.54.54,0,0,1,.37.67l-4.06,14A.53.53,0,0,1,305.25,397.67Z" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M313.51,369.3a.41.41,0,0,1-.16,0,.54.54,0,0,1-.37-.67l32-110a.54.54,0,1,1,1,.3L314,368.91A.54.54,0,0,1,313.51,369.3Z" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M349,247.28l-.15,0a.55.55,0,0,1-.37-.68L364.56,191a.53.53,0,0,1,.67-.37.55.55,0,0,1,.38.67l-16.14,55.57A.55.55,0,0,1,349,247.28Z" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M584.64,390.55a.55.55,0,0,1-.52-.37L514.89,184.76a.54.54,0,0,1,1-.35l69.23,205.42a.54.54,0,0,1-.34.69Z" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M382.35,293h-.1a.55.55,0,0,1-.44-.63l16.11-89.75a.54.54,0,0,1,1.07.19l-16.11,89.75A.54.54,0,0,1,382.35,293Z" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M523.87,363.16a.54.54,0,0,1-.53-.45L494.57,202.77a.54.54,0,0,1,.44-.63.54.54,0,0,1,.63.44l28.77,159.94a.55.55,0,0,1-.44.63Z" fill="#2f2e41" data-secondary="true"/>
-
-<line x1="441.92" y1="391.38" x2="441.92" y2="409.79" fill="none" stroke="#263238" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.24"/>
-
-<path d="M441.92,169.77a309.57,309.57,0,0,0-42.05,2.66c4.05,8.4,21.78,14.73,43,14.73s38.6-6.2,42.88-14.47A302.76,302.76,0,0,0,441.92,169.77Z" fill="#fff" stroke="#263238" stroke-miterlimit="10" stroke-width="1.24"/>
-
-<path d="M448,618.07l-7.66,8.64s-3,4,2,9.59L458,651.7s12.62,12.12,18.68,6.82c0,0,3-1.52-2.77-9.6,0,0-10.22-9.17-6.5-19.7C467.44,629.22,460.49,626.6,448,618.07Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M411.28,602.79s-11.3,8.78-8,14.08l9.34,9.34a34,34,0,0,0,11.11,9.84s9.08,6.56,11.86,7.32c0,0,4-.23,2.27-4.4,0,0-9.95-20.16-8.55-26.21C429.29,612.76,421.57,611.69,411.28,602.79Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M442.09,332.82a10.72,10.72,0,0,0,1,7.14l2.95,5.72-5.83,8.42-20.54,4.41-1.6-6.55,5.6-16.27,15.74-2.87Z" fill="#f9b499"/>
-
-<path d="M442.09,332.82a7.52,7.52,0,0,1-4.79,2.87s1.92,3.22,5.24,3.11C442.54,338.8,441.22,335.22,442.09,332.82Z" fill="#f7a48b"/>
-
-<path d="M424.71,416.6c-1.32.2-4.39,6.69-7.83,15.11-6.57,16-14.53,39.06-14.53,39.06-2.11,5.15-11.46,0-11.46,0-3-.47-2.81-1.87-2.81-1.87l4-14.5c4.91-23.16,8.65-31.34,8.65-31.34,2.57-5.62,4.92-21.76,4.92-21.76-.1-3.19.07-7.37.31-11.24.34-5.78.85-10.85.85-10.85l.14,1.16a18.23,18.23,0,0,0,.73,3S417.68,408.76,424.71,416.6Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M390.89,470.77s-5.14,8.65-1.4,16.37c0,0,2.85,8.44,10.44,7a1.42,1.42,0,0,0,.49-2.59,15.68,15.68,0,0,0-2.75-1.34,4.83,4.83,0,0,1-1.78-4.82.81.81,0,0,1,1.13-.57,2.13,2.13,0,0,0,2.23-.33.87.87,0,0,0,.23-1.25,6.34,6.34,0,0,1-1.34-5l.24-5.14S393.7,472.64,390.89,470.77Z" fill="#f9b499"/>
-
-<path d="M442,452.86a221,221,0,0,0,2.77,31.62s-2.12,30.88-2.77,37.74c0,0-3.15,3.12-2.84,10,0,0-14.18,11.16-20.58,51a6.47,6.47,0,0,1-1.19,2.86,8.73,8.73,0,0,0-1.56,4.27,3.13,3.13,0,0,1-1,2c-.45.38-.91,1.43-1,4.11a9.69,9.69,0,0,1-2.59,6.34h0s9.81,9,16.82,9.71c0,0,3.83,2.68,2.59-5.78,0,0,4.33-3.93,1-10.74,0,0-.21-3.1,2.48-4.13,0,0,2.61-.75,3.22-9.88a12.2,12.2,0,0,1,.59-3.05,181.91,181.91,0,0,1,8.11-20.57,37.34,37.34,0,0,1,9.12-12c2.91-2.51,7.59-8.29,9.51-20.4,0,0,3.72,9.5-3.92,27.87A154.37,154.37,0,0,0,453,599.93a10.82,10.82,0,0,1-1.35,5.16c-1.09,2-2.3,5.06-1.23,7.68,0,0,2.38.76-2.37,5.3,0,0,11.36,8,19.41,11.15,0,0,2.06,3.1,1.24-4.33,0,0,.2-5,2.47-6.2,0,0,3.51-4.54,0-10.53,0,0-1.21-4.95,1.56-7.64,0,0,1.52-.18,1.56-5.21a6.28,6.28,0,0,1,.44-2.31c1.86-4.58,8.65-22,8.83-32.74,0,0,2.89-.62,1.65-5,0,0,3.51-2.69,3.51-9.71,0,0,2.37-5.16,2.94-19.4,0,0,5.26-10.13,10.24-43.67,0,0,2.58-19.84-2.41-37.64l-5.81-7.47L450.4,450.63l-6.29-4.13Z" fill="#2f2e41" data-secondary="true"/>
-
-<path d="M437.3,335.69l-13.75-.83-6.77-.4s-8.57-15.58-7.76-15.84,5.4-3.24,5.4-3.24.66-.12,1.63-.25c1.94-.24,5.16-.48,7.11.25,0,0,4-3.43,6.67,2.17,0,0,11.2,2.93,13.07,9.07C442.9,326.62,444.77,334.62,437.3,335.69Z" fill="#f9b499"/>
-
-<path d="M431.7,340a7.87,7.87,0,0,1,1.22,3.94,2.47,2.47,0,0,0,2.38,2.32,32.39,32.39,0,0,0,6-.55l-13.58,10.2-6.66-.31s-.77-8.37,0-8.52,5.62-9.42,5.62-9.42S427.75,339.69,431.7,340Z" fill="#f7a48b"/>
-
-<path d="M424.71,416.6c-1.32.2-4.39,6.69-7.83,15.11-2.16-2.71-6.67-10-5.6-22.68,0,0,.41-12.48-5.34-18.94v0c.34-5.78.85-10.85.85-10.85l.14,1.16a18.23,18.23,0,0,0,.73,3S417.68,408.76,424.71,416.6Z" opacity="0.3"/>
-
-<path d="M456.91,459.58a12,12,0,0,0-1.54,8,13,13,0,0,0,4.06,7.05c1,.95,2.15,1.7,3.21,2.72a10.58,10.58,0,0,1,2.41,3.57,10.15,10.15,0,0,1,.76,4.24,16.34,16.34,0,0,1-.62,4.24c-1.53,5.35-1.44,11.06-.7,16.57.11.68.21,1.38.34,2.06l.39,2.07a8.46,8.46,0,0,1-.4,4.24,12.89,12.89,0,0,0,.14,8.21,12.76,12.76,0,0,1-.48-8.3,8.18,8.18,0,0,0,.29-4.07l-.44-2c-.14-.69-.26-1.39-.39-2.08a47.61,47.61,0,0,1-.61-8.44,33.63,33.63,0,0,1,1.16-8.4,15.62,15.62,0,0,0,.63-4.06,9.32,9.32,0,0,0-.68-4,10,10,0,0,0-2.24-3.38c-1-.93-2.15-1.77-3.16-2.77a13.52,13.52,0,0,1-4-7.38A12,12,0,0,1,456.91,459.58Z" opacity="0.3"/>
-
-<path d="M496.4,446.63c-14.61,5.14-54.37,6.23-54.37,6.23-1.8-9.49-1.43-15.71-.85-19.15a3,3,0,0,0-2.3-3.36c-7.33-1.73-14.17-13.75-14.17-13.75-7-7.84-17-33.27-17-33.27a17.31,17.31,0,0,1-.74-3c-1.87-11.82,9.93-19.22,9.93-19.22-.8-2.17,1.63-4.33,1.63-4.33,2.1-1.11,4.16-2.08,5.86-2.84a42,42,0,0,0,7-4.08c6.66-4.65,12.25-4.45,12.25-4.45,1.9-1.62,6.75,4.06,6.75,4.06a26.25,26.25,0,0,1,14.08,7.31c13.8,15.15,18.4,36.52,18.4,36.52,9.19,16.77,18.12,43.55,18.12,43.55C504.52,443.93,496.4,446.63,496.4,446.63Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M466.65,472.49s1.35,12.29,8.92,16.35a22.62,22.62,0,0,0,12,4.78,3.79,3.79,0,0,0,3.93-2.45,3.57,3.57,0,0,0-1.16-3.84s-9.21-7.25-9.24-15.07a.42.42,0,0,1,.81-.16c1.24,3.35,4.23,10.14,8,9.86,0,0,2.48-.36.93-3,0,0-3.25-3.87-3.72-7.59,0,0-1.37-5.57-5.8-8.51C481.25,462.87,469.78,461.21,466.65,472.49Z" fill="#f9b499"/>
-
-<path d="M489,493.46a23.68,23.68,0,0,1-4-2.45,28.5,28.5,0,0,1-3.55-3.13c-.56-.56-1.07-1.17-1.59-1.76s-1-1.23-1.4-1.91a22.14,22.14,0,0,1-2.25-4.14c.46.63.83,1.32,1.31,1.94l.67.95c.23.32.48.62.72.92a40.77,40.77,0,0,0,3.06,3.5,44.38,44.38,0,0,0,3.38,3.19c.58.51,1.19,1,1.81,1.48S488.38,493,489,493.46Z" fill="#f7a48b"/>
-
-<path d="M471.74,451s11.44-1,17.28-2.41c0,0-14.68-31.27-16.44-49.54L459,409.92Z" opacity="0.2"/>
-
-<path d="M426.09,332.76l-2.54,2.1-6.77-.4s-8.57-15.58-7.76-15.84,5.4-3.24,5.4-3.24.66-.12,1.63-.25c0,0,1.9,3.88,2,6C418.09,321.16,428.88,317.44,426.09,332.76Z" fill="#f7a48b"/>
-
-<path d="M403.49,315.2c-3.31,4.85-13.15,21.44-2.74,34.1,0,0,8.54,8.11,17.74,7.52l5.86-2.84,5.29-8.19a3.71,3.71,0,0,0-.22-4.33c-1.86-2.29-4.38-6.07-3.33-8.71,0,0,1.34-14.67-9.6-9.6,0,0-1.84-16.34-10-11A10.78,10.78,0,0,0,403.49,315.2Z" fill="#2f2e41" data-secondary="true"/>
-
-<ellipse cx="431.04" cy="335.69" rx="5.6" ry="4.27" fill="#f9b499"/>
-
-<ellipse cx="431.04" cy="335.69" rx="1.94" ry="1.39" fill="#f7a48b"/>
-
-<path d="M466.65,472.49c.84-2.95,4-10.27,14.6-9.62a138.92,138.92,0,0,1-7.44-30.57s-1.21-25.63-1.48-45.45c0,0,2.3-24.6-9.43-28a8.69,8.69,0,0,0-5.77.42c-4.46,1.88-13.15,7.62-10.61,23.53a41.72,41.72,0,0,1,.57,7c-.08,9.08.43,32.93,7.22,50.13,0,0,6.83,23.77,11.45,32.7A.48.48,0,0,0,466.65,472.49Z" fill="#014D4E" data-primary="true"/>
-
-<path d="M466.65,472.49c.84-2.95,4-10.27,14.6-9.62a138.92,138.92,0,0,1-7.44-30.57s-1.21-25.63-1.48-45.45c0,0,2.3-24.6-9.43-28a8.69,8.69,0,0,0-5.77.42c-4.46,1.88-13.15,7.62-10.61,23.53a41.72,41.72,0,0,1,.57,7c-.08,9.08.43,32.93,7.22,50.13,0,0,6.83,23.77,11.45,32.7A.48.48,0,0,0,466.65,472.49Z" opacity="0.3"/>
-
-<path d="M397.49,493.63a9.79,9.79,0,0,1-2.74-1.91,11.9,11.9,0,0,1-2.06-2.67,12.74,12.74,0,0,1-.73-1.54,9.53,9.53,0,0,1-.46-1.64,8.94,8.94,0,0,1-.05-3.34,25.66,25.66,0,0,0,.85,3.13,16.84,16.84,0,0,0,1.3,2.87A26,26,0,0,0,397.49,493.63Z" fill="#f7a48b"/>
-
-</svg>
\ No newline at end of file
diff --git a/src/constants/globalStyle.ts b/src/constants/globalStyle.ts
index 2e05c86c..e3d8a2cc 100644
--- a/src/constants/globalStyle.ts
+++ b/src/constants/globalStyle.ts
@@ -2,8 +2,8 @@ import { createGlobalStyle } from "styled-components";
const GlobalStyle = createGlobalStyle`
html, body {
- background: rgb(246,249,253);
- background: radial-gradient(circle, rgb(245 245 245) 33%, rgb(252 252 255) 100%);
+ background: #000;
+ overscroll-behavior: none;
-webkit-font-smoothing: subpixel-antialiased !important;
}
diff --git a/src/layout/ModalController/index.tsx b/src/layout/ModalController/index.tsx
index e792fb43..b8ba17f6 100644
--- a/src/layout/ModalController/index.tsx
+++ b/src/layout/ModalController/index.tsx
@@ -3,7 +3,6 @@ import { ModalProps } from "@mantine/core";
import * as Modals from "src/containers/Modals";
import { Modal } from "src/containers/Modals";
import useModal from "src/store/useModal";
-import { EditorWrapper } from "../EditorWrapper";
type ModalComponent = { key: Modal; component: React.FC<ModalProps> };
@@ -30,14 +29,14 @@ const ModalController = () => {
const modalStates = useModal(state => modalComponents.map(modal => state[modal.key]));
return (
- <EditorWrapper>
+ <>
{modalComponents.map(({ key, component }, index) => {
const ModalComponent = component;
const opened = modalStates[index];
return <ModalComponent key={key} opened={opened} onClose={() => setVisible(key)(false)} />;
})}
- </EditorWrapper>
+ </>
);
};
diff --git a/src/layout/Navbar/index.tsx b/src/layout/Navbar/index.tsx
index 03061b6d..eccf3e16 100644
--- a/src/layout/Navbar/index.tsx
+++ b/src/layout/Navbar/index.tsx
@@ -1,6 +1,6 @@
import React from "react";
import Link from "next/link";
-import { Alert, Box, Burger, Button, Flex, Menu, Overlay } from "@mantine/core";
+import { Box, Burger, Button, Flex, Menu, Overlay } from "@mantine/core";
import { useDisclosure } from "@mantine/hooks";
import styled from "styled-components";
import { BiChevronDown } from "react-icons/bi";
@@ -272,11 +272,6 @@ export const Navbar = () => {
)}
</Right>
</StyledNavbar>
- <Link href="https://pro.jsoncrack.com/pricing" target="_blank">
- <Alert color="red" variant="filled" radius={0} fw="bold" h={56} visibleFrom="xs">
- Unlock premium features now with ~30% discount on the Premium plan!
- </Alert>
- </Link>
</StyledNavbarWrapper>
);
};
diff --git a/src/pages/docs.tsx b/src/pages/docs.tsx
index 1b7741fe..b3644a16 100644
--- a/src/pages/docs.tsx
+++ b/src/pages/docs.tsx
@@ -43,7 +43,7 @@ const Docs = () => {
</Head>
<Stack mx="auto" maw="75%">
<Group mb="lg" mt={40}>
- <Title order={1} c="dark">
+ <Title order={1} c="white">
Documentation
</Title>
</Group>
diff --git a/src/pages/forgot-password.tsx b/src/pages/forgot-password.tsx
index 013aaa46..5f2f76b3 100644
--- a/src/pages/forgot-password.tsx
+++ b/src/pages/forgot-password.tsx
@@ -40,6 +40,7 @@ function ResetPassword() {
<form onSubmit={onSubmit}>
<Stack>
<PasswordInput
+ name="password"
value={password}
onChange={e => setPassword(e.target.value)}
required
@@ -49,6 +50,7 @@ function ResetPassword() {
style={{ color: "black" }}
/>
<PasswordInput
+ name="password"
value={password2}
onChange={e => setPassword2(e.target.value)}
required
@@ -102,7 +104,7 @@ const ForgotPassword = () => {
{isPasswordReset ? (
<ResetPassword />
) : (
- <Paper mx="auto" mt={70} maw={400} p="lg" withBorder>
+ <Paper mx="auto" mt={100} maw={400} p="lg" withBorder>
<Text size="lg" w={500} c="dark">
Reset Password
</Text>
@@ -113,12 +115,13 @@ const ForgotPassword = () => {
<form onSubmit={onSubmit}>
<Stack>
<TextInput
+ name="email"
type="email"
value={email}
onChange={e => setEmail(e.target.value)}
required
label="Email"
- placeholder="[email protected]"
+ placeholder="[email protected]"
radius="sm"
style={{ color: "black" }}
/>
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 0127dca8..740fd88b 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,168 +1,126 @@
import React from "react";
import Head from "next/head";
import Link from "next/link";
-import { Button, Group, Stack } from "@mantine/core";
+import { Button, Group } from "@mantine/core";
import styled from "styled-components";
-import { FaChevronRight } from "react-icons/fa";
-import { Typewriter } from "react-simple-typewriter";
+import { MdChevronRight } from "react-icons/md";
import Layout from "src/layout/Layout";
-const StyledHeroSection = styled.div`
- position: relative;
- background-size: 100% 100%;
- margin-bottom: -48px;
- background-image: radial-gradient(49% 81% at 45% 47%, #21415f 1%, #60006a00 100%),
- radial-gradient(113% 91% at 17% -2%, #1b1b1b 1%, #ff000000 99%),
- radial-gradient(142% 91% at 83% 7%, #1b1b1b 1%, #ff000000 99%),
- radial-gradient(142% 91% at -6% 74%, #1b1b1b 1%, #ff000000 99%),
- radial-gradient(142% 91% at 111% 84%, #1b1b1b 0%, #5b004eff 99%);
-
- @media only screen and (max-width: 1240px) {
- flex-direction: column;
- }
+const StyledHeroSection = styled.section`
+ padding: 4em;
`;
const StyledHeroSectionBody = styled.div`
- position: relative;
+ min-height: 70vh;
display: flex;
- align-items: center;
+ flex-direction: column;
justify-content: center;
- padding: 5em 10%;
- overflow: hidden;
- backdrop-filter: blur(1px);
- -webkit-backdrop-filter: blur(1px);
- height: calc(100vh - 112px);
- text-align: center;
-
- @media only screen and (max-width: 1200px) {
- flex-direction: column;
- height: calc(100vh - 56px);
- }
+ margin: 0 auto;
+ width: fit-content;
+ gap: 24px;
`;
-const StyledHighlightedText = styled.span`
- font-size: 40px;
- font-weight: 800;
- display: inline;
- background-color: #252525;
- background-image: linear-gradient(5deg, #545050, #fff7f8);
- background-size: 100%;
- -webkit-background-clip: text;
- background-clip: text;
- -moz-background-clip: text;
- -webkit-text-fill-color: transparent;
- -moz-text-fill-color: transparent;
-
- @media only screen and (max-width: 992px) {
- font-size: 28px;
+const StyledHeroTitle = styled.h1`
+ font-size: 60px;
+ color: white;
- span {
- display: inline-block;
- width: 80px;
- }
+ @media only screen and (max-width: 768px) {
+ font-size: 34px;
}
`;
const StyledHeroText = styled.p`
- font-size: 18px;
- color: #a9aaaa;
- font-weight: 600;
- max-width: 600px;
- text-align: center;
+ font-size: 24px;
+ color: #bcbcbc;
+ max-width: 60%;
- @media only screen and (max-width: 992px) {
+ @media only screen and (max-width: 768px) {
+ font-size: 20px;
max-width: 100%;
- font-size: 14px;
}
`;
-const StyledHeroTitle = styled.h1`
- color: #dacfcf;
- font-size: 40px;
- font-weight: 800;
- text-align: center;
+const StyledImageWrapper = styled.div`
+ border: 8px solid #36393e;
+ border-radius: 6px;
+ border-top: none;
+ width: 80%;
+ height: auto;
+ margin: 0 auto;
- @media only screen and (max-width: 992px) {
- font-size: 28px;
+ img {
+ display: block;
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
}
-`;
-
-const HeroSection = () => (
- <StyledHeroSection id="hero-section">
- <StyledHeroSectionBody>
- <Stack w="100%" mx="auto" align="center">
- <StyledHeroTitle>
- Understand your{" "}
- <StyledHighlightedText>
- <Typewriter
- words={["JSON", "YAML", "XML", "TOML", "CSV"]}
- typeSpeed={100}
- deleteSpeed={60}
- delaySpeed={2000}
- loop
- />
- </StyledHighlightedText>
- <br />
- better by visualizing
- </StyledHeroTitle>
- <StyledHeroText>
- Visualize, analyze, and manipulate data with ease, a versatile and powerful tool for data
- representation and exploration.
- </StyledHeroText>
- <Group gap="xl">
- <Button
- color="gray.2"
- c="indigo"
- component={Link}
- href="/editor"
- fw="bold"
- rightSection={<FaChevronRight />}
- size="xl"
- visibleFrom="md"
- prefetch={false}
- >
- GO TO EDITOR
- </Button>
- <Button
- color="gray.2"
- c="indigo"
- component={Link}
- href="/editor"
- fw="bold"
- rightSection={<FaChevronRight />}
- size="lg"
- hiddenFrom="md"
- prefetch={false}
- >
- GO TO EDITOR
- </Button>
- <Button
- href="https://pro.jsoncrack.com"
- target="_blank"
- variant="outline"
- color="yellow"
- component={Link}
- fw="bold"
- size="xl"
- visibleFrom="md"
- prefetch={false}
- >
- GET PRO+
- </Button>
- </Group>
- </Stack>
- </StyledHeroSectionBody>
- </StyledHeroSection>
-);
+ @media only screen and (max-width: 768px) {
+ display: none;
+ }
+`;
export const HomePage = () => {
return (
<Layout>
<Head>
- <title>JSON Crack | More Than a JSON Editor</title>
+ <title>JSON Crack+ | More Than a JSON Editor</title>
</Head>
- <HeroSection />
+ <StyledHeroSection id="hero-section">
+ <StyledHeroSectionBody>
+ <StyledHeroTitle>More than a JSON editor.</StyledHeroTitle>
+
+ <StyledHeroText>
+ Visualize, analyze, and manipulate data with ease, a versatile and powerful tool for
+ data representation and exploration.
+ </StyledHeroText>
+ <Group justify="left">
+ <Link href="/editor" prefetch={false}>
+ <Button
+ size="xl"
+ color="violet"
+ rightSection={<MdChevronRight size={30} />}
+ visibleFrom="sm"
+ >
+ GO TO EDITOR
+ </Button>
+ <Button
+ size="lg"
+ color="violet"
+ rightSection={<MdChevronRight size={30} />}
+ hiddenFrom="sm"
+ >
+ GO TO EDITOR
+ </Button>
+ </Link>
+ <Button
+ component="a"
+ href="https://pro.jsoncrack.com"
+ target="_blank"
+ size="xl"
+ variant="outline"
+ color="#A771FE"
+ visibleFrom="sm"
+ >
+ Get Premium+
+ </Button>
+ <Button
+ component="a"
+ href="https://pro.jsoncrack.com"
+ target="_blank"
+ size="lg"
+ variant="outline"
+ color="#A771FE"
+ hiddenFrom="sm"
+ >
+ Get Premium+
+ </Button>
+ </Group>
+ </StyledHeroSectionBody>
+ <StyledImageWrapper>
+ <img src="./assets/preview.png" alt="JSON Crack Preview" />
+ </StyledImageWrapper>
+ </StyledHeroSection>
</Layout>
);
};
diff --git a/src/pages/legal/privacy.tsx b/src/pages/legal/privacy.tsx
index d4215795..ebdc76a3 100644
--- a/src/pages/legal/privacy.tsx
+++ b/src/pages/legal/privacy.tsx
@@ -11,47 +11,47 @@ const Privacy = () => {
</Head>
<Container my={50} size="sm" pb="lg">
<Paper bg="transparent">
- <Title c="dark">Privacy Policy</Title>
+ <Title c="gray.5">Privacy Policy</Title>
<Stack my="lg">
- <Text c="dark">
+ <Text c="gray.5">
This Privacy Policy describes how your personal information is collected, used, and
shared when you visit or make a purchase from jsoncrack.com (the “Site”).
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
To Whom Does This Policy Apply
</Title>
- <Text c="dark">
+ <Text c="gray.5">
This Privacy Policy applies to customers and site visitors. Each customer is
responsible for posting its own terms, conditions, and privacy policies, and ensuring
compliance with all applicable laws and regulations.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
Changes To This Privacy Policy
</Title>
- <Text c="dark">
+ <Text c="gray.5">
This Privacy Policy may change from time to time, as our Platform and our business may
change. Your continued use of the Platform after any changes to this Privacy Policy
indicates your agreement with the terms of the revised Privacy Policy.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
What Information Do We Collect
</Title>
- <Text c="dark">
+ <Text c="gray.5">
We collect information directly from you when you provide it to us explicitly on our
Site. We do not use third-party cookies on our Site.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
What We Use Your Information For
</Title>
- <Text c="dark">
+ <Text c="gray.5">
We use your information to provide our Services, to improve our Platform, to
understand how you use our Platform, and to communicate with you. We DO NOT share any
personal information to third parties.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
How To Contact Us
</Title>
- <Text c="dark">
+ <Text c="gray.5">
For privacy-related questions, please contact us at{" "}
<Anchor href="mailto:[email protected]">[email protected]</Anchor>.
</Text>
diff --git a/src/pages/legal/subscription-refund.tsx b/src/pages/legal/subscription-refund.tsx
index a5d097f0..13851210 100644
--- a/src/pages/legal/subscription-refund.tsx
+++ b/src/pages/legal/subscription-refund.tsx
@@ -11,27 +11,27 @@ const SubscriptionRefund = () => {
</Head>
<Container my={50} size="sm" pb="lg">
<Paper bg="transparent">
- <Title c="dark">Subscription & Refund</Title>
+ <Title c="gray.5">Subscription & Refund</Title>
<Stack my="lg">
- <Text c="dark">
+ <Text c="gray.5">
This document delineates the Subscription Cancellation and Refund Policy for users of
jsoncrack.com (the “Site”). It provides guidance on the cancellation process. For
inquiries or assistance related to cancellations, users are encouraged to contact the
customer support team at{" "}
<Anchor href="mailto:[email protected]">[email protected]</Anchor>.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
Cancellation Policy
</Title>
- <Text c="dark">
+ <Text c="gray.5">
You have the right to cancel your subscription at any time. When you cancel, your
subscription will remain active until the end of the current billing period. You will
not be billed for any subsequent periods.
</Text>
- <Title order={4} c="dark">
+ <Title order={4} c="gray.5">
How to Cancel:
</Title>
- <Text c="dark">
+ <Text c="gray.5">
To cancel your subscription, follow these steps:
<List type="ordered" my="lg">
<List.Item>Log in to your account.</List.Item>
@@ -42,20 +42,20 @@ const SubscriptionRefund = () => {
not eligible for a refund. However, you will still have access to the service until
the end of the current billing period.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
Refund Policy
</Title>
- <Text c="dark">
+ <Text c="gray.5">
If you cancel your subscription within 3 days of the initial purchase, you are
eligible for a full refund. Refunds will be issued to the original payment method used
during the purchase. For refund inquiries or assistance, please contact our customer
support team at{" "}
<Anchor href="mailto:[email protected]">[email protected]</Anchor>.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
Changes to this Policy
</Title>
- <Text c="dark">
+ <Text c="gray.5">
We reserve the right to modify this subscription cancellation and refund policy at any
time. Any changes will be effective immediately upon posting the updated policy on our
website. It is your responsibility to review this policy periodically for changes. By
diff --git a/src/pages/legal/terms.tsx b/src/pages/legal/terms.tsx
index 3a570906..82e10d38 100644
--- a/src/pages/legal/terms.tsx
+++ b/src/pages/legal/terms.tsx
@@ -11,9 +11,9 @@ const Terms = () => {
</Head>
<Container my={50} size="sm" pb="lg">
<Paper bg="transparent">
- <Title c="dark">Terms of Service</Title>
+ <Title c="gray.5">Terms of Service</Title>
<Stack my="lg">
- <Text c="dark">
+ <Text c="gray.5">
Subject to these Terms of Service (this &apos;Agreement&apos;), jsoncrack.com
(&apos;JSON Crack&apos;, &apos;we&apos;, &apos;us&apos; and/or &apos;our&apos;)
provides access to JSON Crack’s application as a service (collectively, the
@@ -21,7 +21,7 @@ const Terms = () => {
have read, understand, and agree to be bound by this Agreement.
</Text>
- <Text c="dark">
+ <Text c="gray.5">
If you are entering into this Agreement on behalf of a company, business or other
legal entity, you represent that you have the authority to bind such an entity to this
Agreement, in which case the term &apos;you&apos; shall refer to such entity. If you
@@ -29,38 +29,38 @@ const Terms = () => {
accept this Agreement and may not use the Services.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
1. Acceptance of Terms
</Title>
- <Text c="dark">
+ <Text c="gray.5">
By signing up and using the services provided by JSON Crack (referred to as the
&apos;Service&apos;), you are agreeing to be bound by the following terms and
conditions (&apos;Terms of Service&apos;). The Service is owned and operated by JSON
Crack (&apos;Us&apos;, &apos;We&apos;, or &apos;Our&apos;).
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
2. Description of Service
</Title>
- <Text c="dark">
+ <Text c="gray.5">
JSON Crack is an open-source visualization application that allows users to transform
various data formats, including JSON, YAML, XML, CSV, and more, into interactive
graphs for visualization purposes (the “Product”). The Product is accessible at
jsoncrack.com and other domains and subdomains controlled by Us (collectively,
&apos;the Website&apos;).
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
3. Fair Use
</Title>
- <Text c="dark">
+ <Text c="gray.5">
We reserve the right to suspend or terminate your access to the Service if we
determine, in our sole discretion, that you have violated these Terms of Service,
including but not limited to, purposefully advertising of third parties, spam content,
or other inappropriate or illegal content.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
4. Intellectual Property Rights
</Title>
- <Text c="dark">
+ <Text c="gray.5">
You acknowledge and agree that the Service and its entire contents, features, and
functionality, including but not limited to all information, software, code, text,
displays, graphics, photographs, video, audio, design, presentation, selection, and
@@ -68,44 +68,44 @@ const Terms = () => {
are protected by United States and international copyright, trademark, patent, trade
secret, and other intellectual property or proprietary rights laws.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
5. Data Storage and Privacy
</Title>
- <Text c="dark">
+ <Text c="gray.5">
We do not guarantee the security, reliability, consistency and/or recovery of any data
stored in the Product and do not recommend storing sensitive data. The Product enables
users to store data for visualization purposes as an ease of access only. When a file
is deleted from the Product, it is also permanently removed from the database (refer
as hard deletion).
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
6. Changes to these Terms
</Title>
- <Text c="dark">
+ <Text c="gray.5">
We reserve the right to revise and update these Terms of Service from time to time in
our sole discretion. All changes are effective immediately when we post them, and
apply to all access to and use of the Website thereafter. Your continued use of the
Website following the posting of revised Terms of Service means that you accept and
agree to the changes.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
7. Contact Information
</Title>
- <Text c="dark">
+ <Text c="gray.5">
Questions or comments about the Website or these Terms of Service may be directed to
our support team at{" "}
<Anchor href="mailto:[email protected]">[email protected]</Anchor>.
</Text>
- <Title order={3} c="dark">
+ <Title order={3} c="gray.5">
8. Disclaimer of Warranties
</Title>
- <Text c="dark">
+ <Text c="gray.5">
THE SERVICE AND ITS CONTENT ARE PROVIDED ON AN &apos;AS IS&apos; AND &apos;AS
AVAILABLE&apos; BASIS WITHOUT ANY WARRANTIES OF ANY KIND. WE DISCLAIM ALL WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE WARRANTY OF TITLE, MERCHANTABILITY,
NON-INFRINGEMENT OF THIRD PARTIES’ RIGHTS, AND FITNESS FOR PARTICULAR PURPOSE.
</Text>
- <Text c="dark">
+ <Text c="gray.5">
IN NO EVENT WILL WE, OUR AFFILIATES OR THEIR LICENSORS, SERVICE PROVIDERS, EMPLOYEES,
AGENTS, OFFICERS OR DIRECTORS BE LIABLE FOR DAMAGES OF ANY KIND, UNDER ANY LEGAL
THEORY, ARISING OUT OF OR IN CONNECTION WITH YOUR USE, OR INABILITY TO USE, THE
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
index 5f652f5d..8cb9e5db 100644
--- a/src/pages/pricing.tsx
+++ b/src/pages/pricing.tsx
@@ -1,34 +1,46 @@
import React from "react";
import Head from "next/head";
-import {
- Flex,
- Stack,
- Button,
- List,
- ThemeIcon,
- Text,
- Paper,
- Badge,
- SegmentedControl,
- Center,
- Tooltip,
- ActionIcon,
-} from "@mantine/core";
+import { Flex, Stack, Button, List, Text, Paper, SegmentedControl, Center } from "@mantine/core";
+import styled from "styled-components";
import { AiOutlineInfoCircle } from "react-icons/ai";
-import { BsCheck, BsX } from "react-icons/bs";
-import { FaBolt } from "react-icons/fa6";
-import { VscArrowRight, VscInfo } from "react-icons/vsc";
+import { FaCheck } from "react-icons/fa";
+import { ImCheckmark } from "react-icons/im";
+import { VscArrowRight } from "react-icons/vsc";
import Layout from "src/layout/Layout";
import useUser from "src/store/useUser";
const purchaseLinks = {
monthly:
- "https://herowand.lemonsqueezy.com/checkout/buy/ce30521f-c7cc-44f3-9435-995d3260ba22?media=0&enabled=67805%2C82417",
+ "https://herowand.lemonsqueezy.com/checkout/buy/ce30521f-c7cc-44f3-9435-995d3260ba22?enabled=67805",
annual:
- "https://herowand.lemonsqueezy.com/checkout/buy/577928ea-fb09-4076-9307-3e5931b35ad0?media=0&enabled=67805%2C82417",
+ "https://herowand.lemonsqueezy.com/checkout/buy/577928ea-fb09-4076-9307-3e5931b35ad0?enabled=82417",
};
-const Pricing = () => {
+const StyledPaper = styled(Paper)`
+ padding: 1.5em;
+ border-radius: 1rem;
+ width: 400px;
+ background: rgb(14, 14, 14);
+
+ background: linear-gradient(
+ 180deg,
+ rgba(48, 48, 48, 0.5) 0%,
+ rgba(0, 0, 0, 1) 25%,
+ rgba(0, 0, 0, 1) 50%,
+ rgba(0, 0, 0, 1) 90%,
+ rgba(101, 0, 94, 0.5) 100%
+ );
+
+ border-bottom: 1px solid rgba(101, 0, 94, 1);
+ border-top: 1px solid rgba(48, 48, 48, 1);
+ transition: transform 0.5s;
+
+ &:hover {
+ transform: scale(1.01);
+ }
+`;
+
+export const PricingCards = () => {
const email = useUser(state => state.user?.email);
const [isMonthly, setIsMonthly] = React.useState(true);
@@ -38,262 +50,188 @@ const Pricing = () => {
};
return (
- <>
- <Head>
- <title>Pricing - JSON Crack</title>
- </Head>
- <Layout>
- <Center my="lg">
- <SegmentedControl
- onChange={v => setIsMonthly(v === "Monthly")}
- size="lg"
- data={["Monthly", "Yearly"]}
- w={200}
- radius="xl"
- />
- </Center>
- <Flex gap="lg" wrap="wrap" justify="center" w="fit-content" p="lg" mx="auto">
- <Paper bg="white" p="xl" radius="lg" withBorder w={325}>
- <Flex justify="space-between">
- <Stack gap="0">
- <Text fz="xl" fw="bold" c="black">
- Free
+ <Stack gap="0" align="center">
+ <Center my="lg">
+ <SegmentedControl
+ color="dark"
+ onChange={v => setIsMonthly(v === "Monthly")}
+ size="lg"
+ data={["Monthly", "Yearly"]}
+ w={200}
+ radius="xl"
+ />
+ </Center>
+ <Flex gap="lg" wrap="wrap" justify="center" w="fit-content" p="lg" mx="auto">
+ <StyledPaper>
+ <Flex justify="space-between">
+ <Stack gap="0">
+ <Text fz="xl" fw="bold" c="white">
+ Free
+ </Text>
+ <Text fz={32} fw="bold" c="white">
+ $0
+ </Text>
+ <Text fz="xs" c="gray.6">
+ billed {isMonthly ? "monthly" : "annually"}
+ </Text>
+ </Stack>
+ </Flex>
+ <Button
+ component="a"
+ href="https://jsoncrack.com"
+ target="_blank"
+ my="md"
+ size="md"
+ radius="md"
+ color="gray.6"
+ variant="outline"
+ fullWidth
+ >
+ Free
+ </Button>
+ <Flex direction="column" justify="space-between" h={270}>
+ <List
+ spacing="xs"
+ size="sm"
+ mt="lg"
+ center
+ icon={<FaCheck color="white" size="1rem" />}
+ >
+ <List.Item>
+ <Text c="white" fz="sm">
+ Open Source
</Text>
- <Text fz={32} fw="bold" c="black">
- $0
+ </List.Item>
+ <List.Item>
+ <Text c="white" fz="sm">
+ Visualize multiple data formats
</Text>
- <Text fz="xs" c="gray.6">
- billed {isMonthly ? "monthly" : "annually"}
+ <Text c="dimmed" fz="xs">
+ JSON, YAML, CSV, XML, TOML
</Text>
- </Stack>
- </Flex>
- <Button my="md" size="md" radius="md" color="black" variant="outline" fullWidth>
- Free
- </Button>
- <Flex direction="column" justify="space-between" h={200}>
- <List
- spacing="xs"
- size="sm"
- mt="lg"
- center
- icon={
- <ThemeIcon color="dark.6" size={20} radius="xl">
- <BsCheck size="1rem" />
- </ThemeIcon>
- }
- >
- <List.Item>
- <Text c="black" fz="sm">
- Save & share up to 15 files
- </Text>
- </List.Item>
- <List.Item>
- <Text c="black" fz="sm">
- Visualize all data formats
- </Text>
- </List.Item>
- <List.Item
- icon={
- <ThemeIcon color="gray.5" size={20} radius="xl">
- <BsX size="1rem" />
- </ThemeIcon>
- }
- >
- <Text c="gray.6" fz="sm">
- Maximum Capability
- </Text>
- </List.Item>
- <List.Item
- icon={
- <ThemeIcon color="gray.5" size={20} radius="xl">
- <BsX size="1rem" />
- </ThemeIcon>
- }
- >
- <Text c="gray.6" fz="sm">
- JSON Schema
- </Text>
- </List.Item>
- <List.Item
- icon={
- <ThemeIcon color="gray.5" size={20} radius="xl">
- <BsX size="1rem" />
- </ThemeIcon>
- }
- >
- <Text c="gray.6" fz="sm">
- Edit data through graph
- </Text>
- </List.Item>
- </List>
- </Flex>
- </Paper>
-
- <Paper
- p="xl"
- radius="lg"
- bg="white"
- withBorder
- w={325}
- style={{ borderColor: "black", borderWidth: "2px" }}
- >
- <Flex justify="space-between">
- <Stack gap="0">
- <Flex align="center" gap="xs">
- <Text fz="xl" fw="bold" c="black">
- Premium
- </Text>
- <Badge size="sm" color="red" leftSection={<FaBolt />}>
- Most Popular
- </Badge>
- </Flex>
- <Flex gap="xs" align="center">
- <Text fz={32} fw="bold" c="black">
- ${isMonthly ? "5" : "60"}
- </Text>
- <Text fz="md" fw="bold" c="dimmed" style={{ textDecoration: "line-through" }}>
- ${isMonthly ? "7" : "84"}
- </Text>
- </Flex>
- <Text fz="xs" c="gray.6">
- billed {isMonthly ? "monthly" : "annually"}
+ </List.Item>
+ <List.Item>
+ <Text c="white" fz="sm">
+ Download graph as image
</Text>
- </Stack>
- </Flex>
- <Button
- component="a"
- href={paymentURL(isMonthly ? purchaseLinks.monthly : purchaseLinks.annual)}
- target="_blank"
- size="md"
- radius="md"
- color="dark"
- fullWidth
- my="md"
- rightSection={<VscArrowRight />}
- >
- Upgrade
- </Button>
- <Flex direction="column" justify="space-between" h={200}>
- <List
- spacing="xs"
- size="sm"
- mt="lg"
- center
- icon={
- <ThemeIcon color="dark.6" size={20} radius="xl">
- <BsCheck size="1rem" />
- </ThemeIcon>
- }
- >
- <List.Item>
- <Text c="black" fz="sm">
- Maximum capability
- </Text>
- </List.Item>
- <List.Item>
- <Text c="black" fz="sm">
- Save & share up to 200 files
- </Text>
- </List.Item>
- <List.Item>
- <Text c="black" fz="sm">
- Visualize all data formats
- </Text>
- </List.Item>
- <List.Item>
- <Text c="black" fz="sm">
- JSON Schema
- </Text>
- </List.Item>
- <List.Item>
- <Text c="black" fz="sm">
- Edit data through graph
- </Text>
- </List.Item>
- <List.Item>
- <Text fw={500} c="violet" fz="sm">
- Join alpha test of AI{" "}
- <Tooltip label="You will receive 10 credits per day.">
- <ActionIcon
- size="xs"
- variant="transparent"
- style={{ verticalAlign: "middle" }}
- >
- <VscInfo />
- </ActionIcon>
- </Tooltip>
- </Text>
- </List.Item>
- </List>
- </Flex>
- </Paper>
+ </List.Item>
+ <List.Item>
+ <Text c="white" fz="sm">
+ Generate types
+ </Text>
+ <Text c="dimmed" fz="xs">
+ TypeScript, Rust, Go, etc.
+ </Text>
+ </List.Item>
+ </List>
+ </Flex>
+ </StyledPaper>
- <Paper bg="white" p="xl" radius="lg" withBorder w={325}>
- <Flex justify="space-between">
- <Stack gap="0">
- <Text fz="xl" fw="bold" c="black">
- Enterprise
+ <StyledPaper>
+ <Flex justify="space-between">
+ <Stack gap="0">
+ <Flex align="center" gap="xs">
+ <Text fz="xl" fw="bold" c="white">
+ Premium
</Text>
- <Text fz={32} fw="bold" c="black">
- Custom
+ </Flex>
+ <Flex gap="xs" align="center">
+ <Text fz={32} fw="bold" c="white">
+ ${isMonthly ? "6" : "5"}
</Text>
- <Text fz="xs" c="gray.6">
- billed {isMonthly ? "monthly" : "annually"}
+ <Text fz="md" fw={500} c="gray.5">
+ / month
</Text>
- </Stack>
- </Flex>
- <Button
- component="a"
- href="mailto:[email protected]?subject=Enterprise%20Plan%20Inquiry&body=Please%20replace%20this%20text%20with%20your%20inquiry%20content."
- target="_blank"
- size="md"
- radius="md"
- variant="outline"
- color="dark"
- fullWidth
- my="md"
- rightSection={<VscArrowRight />}
+ </Flex>
+ <Text fz="xs" c="gray.6">
+ billed {isMonthly ? "monthly" : "annually"}
+ </Text>
+ </Stack>
+ </Flex>
+ <Button
+ component="a"
+ href={paymentURL(isMonthly ? purchaseLinks.monthly : purchaseLinks.annual)}
+ target="_blank"
+ size="md"
+ radius="md"
+ color="white"
+ bg="grape"
+ fullWidth
+ my="md"
+ rightSection={<VscArrowRight />}
+ >
+ Upgrade
+ </Button>
+ <Flex direction="column" justify="space-between" h={300}>
+ <List
+ spacing="xs"
+ size="sm"
+ mt="lg"
+ center
+ icon={<ImCheckmark color="white" size="1rem" />}
>
- Contact Us
- </Button>
- <Flex direction="column" justify="space-between" h={200}>
- <List
- spacing="xs"
- size="sm"
- mt="lg"
- center
- icon={
- <ThemeIcon color="dark.6" size={20} radius="xl">
- <BsCheck size="1rem" />
- </ThemeIcon>
- }
- c="black"
- >
- <List.Item>Everything from previous plans</List.Item>
- <List.Item
- icon={
- <ThemeIcon color="dark.6" size={20} radius="xl">
- <BsCheck size="1rem" />
- </ThemeIcon>
- }
- c="black"
- >
- Unlimited premium accounts for work email
- </List.Item>
- <List.Item
- icon={
- <ThemeIcon color="dark.6" size={20} radius="xl">
- <BsCheck size="1rem" />
- </ThemeIcon>
- }
- c="black"
- >
- Shared cloud in app
- </List.Item>
- </List>
- </Flex>
- </Paper>
- </Flex>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Lightning speed graph visualization
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Smooth user interface & experience
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Modify data directly through the graph
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Switch tabs within the editor
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Save up to 200 documents in the cloud
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ JSON Schema
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Bigger dataset support
+ </Text>
+ <Text c="dimmed" fz="xs">
+ Supports up to 4 MB.
+ </Text>
+ </List.Item>
+ <List.Item>
+ <Text c="gray.4" fz="sm">
+ Join alpha test of AI
+ </Text>
+ <Text c="dimmed" fz="xs">
+ (10 credits/day)
+ </Text>
+ </List.Item>
+ </List>
+ </Flex>
+ </StyledPaper>
+ </Flex>
+ </Stack>
+ );
+};
+
+const Pricing = () => {
+ return (
+ <>
+ <Head>
+ <title>Pricing - JSON Crack</title>
+ </Head>
+ <Layout>
+ <PricingCards />
<Text pt="sm" size="sm" c="dimmed" style={{ textAlign: "center" }}>
<AiOutlineInfoCircle style={{ marginRight: "4px" }} />
Payment email must be matching with the account registered to the JSON Crack.
diff --git a/src/pages/sign-in.tsx b/src/pages/sign-in.tsx
index bc27dd61..3a322e63 100644
--- a/src/pages/sign-in.tsx
+++ b/src/pages/sign-in.tsx
@@ -12,6 +12,7 @@ import {
Anchor,
Stack,
Center,
+ Text,
} from "@mantine/core";
import { useSession } from "@supabase/auth-helpers-react";
import { toast } from "react-hot-toast";
@@ -22,39 +23,61 @@ import { isIframe } from "src/lib/utils/widget";
import useUser from "src/store/useUser";
export function AuthenticationForm(props: PaperProps) {
+ const { push } = useRouter();
const setSession = useUser(state => state.setSession);
- const [loading, setLoading] = React.useState(false);
+ const isAuthenticated = useUser(state => state.isAuthenticated);
+ const [sessionLoading, setSessionLoading] = React.useState(false);
const [userData, setUserData] = React.useState({
name: "",
email: "",
password: "",
});
- const onSubmit = (e: React.FormEvent<HTMLFormElement>) => {
+ const onSubmit = async (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
- setLoading(true);
-
- supabase.auth
- .signInWithPassword({
- email: userData.email,
- password: userData.password,
- })
- .then(({ data, error }) => {
- if (error) return toast.error(error.message);
- setSession(data.session);
- })
- .finally(() => setLoading(false));
+ setSessionLoading(true);
+
+ const { data, error } = await supabase.auth.signInWithPassword({
+ email: userData.email,
+ password: userData.password,
+ });
+
+ if (error) {
+ setSessionLoading(false);
+ return toast.error(error.message);
+ }
+
+ await setSession(data.session);
+ push("/editor");
+ setSessionLoading(false);
};
- const handleLoginClick = (provider: "github" | "google") => {
- supabase.auth.signInWithOAuth({
+ const handleLoginClick = async (provider: "github" | "google") => {
+ setSessionLoading(true);
+ await supabase.auth.signInWithOAuth({
provider,
- options: { redirectTo: "https://jsoncrack.com/editor" },
+ options: { redirectTo: `${window.location.origin}/editor` },
});
+ setSessionLoading(false);
};
+ if (isAuthenticated) {
+ return (
+ <Paper p="lg" maw={400} style={{ textAlign: "center" }}>
+ <Text fz="sm" c="dark">
+ You are already signed in. Click the button below to go to the editor.
+ </Text>
+ <Link href="/editor">
+ <Button mt="lg" color="dark" size="lg">
+ GO TO EDITOR
+ </Button>
+ </Link>
+ </Paper>
+ );
+ }
+
return (
- <Paper {...props}>
+ <Paper {...props} style={{ textAlign: "left" }}>
<form onSubmit={onSubmit}>
<Stack>
<TextInput
@@ -79,7 +102,7 @@ export function AuthenticationForm(props: PaperProps) {
style={{ color: "black" }}
/>
- <Button color="dark" type="submit" radius="sm" loading={loading}>
+ <Button color="dark" type="submit" radius="sm" loading={sessionLoading}>
Sign in
</Button>
@@ -132,11 +155,11 @@ const SignIn = () => {
<Head>
<title>Sign In - JSON Crack</title>
</Head>
- <Paper mt={50} mx="auto" maw={400} p="lg" withBorder>
+ <Paper mt={100} mx="auto" maw={400} p="lg" withBorder>
<AuthenticationForm />
</Paper>
<Center my="xl">
- <Anchor component={Link} prefetch={false} href="/sign-up" c="dark" fw="bold">
+ <Anchor component={Link} prefetch={false} href="/sign-up" c="gray.5" fw="bold">
Don&apos;t have an account?
</Anchor>
</Center>
diff --git a/src/pages/sign-up.tsx b/src/pages/sign-up.tsx
index 62b17c20..91c99356 100644
--- a/src/pages/sign-up.tsx
+++ b/src/pages/sign-up.tsx
@@ -50,7 +50,7 @@ const SignUp = () => {
const handleLoginClick = (provider: "github" | "google") => {
supabase.auth.signInWithOAuth({
provider,
- options: { redirectTo: "https://jsoncrack.com/editor" },
+ options: { redirectTo: `${window.location.origin}/editor` },
});
};
@@ -60,7 +60,7 @@ const SignUp = () => {
<title>Sign Up - JSON Crack</title>
</Head>
{done ? (
- <Paper mx="auto" maw={400} mt={50} p="lg" withBorder>
+ <Paper mx="auto" maw={400} mt={100} p="lg" withBorder>
<Text mt="lg" style={{ textAlign: "center" }}>
Registration successul!
<br />
@@ -74,10 +74,11 @@ const SignUp = () => {
</Paper>
) : (
<>
- <Paper mx="auto" maw={400} mt={50} p="lg" withBorder>
+ <Paper mx="auto" maw={400} mt={100} p="lg" withBorder>
<form onSubmit={onSubmit}>
<Stack>
<TextInput
+ name="name"
onChange={e => setUserData(d => ({ ...d, display_name: e.target.value }))}
required
label="Name"
@@ -87,6 +88,7 @@ const SignUp = () => {
/>
<TextInput
+ name="email"
onChange={e => setUserData(d => ({ ...d, email: e.target.value }))}
type="email"
required
@@ -97,6 +99,7 @@ const SignUp = () => {
/>
<PasswordInput
+ name="password"
onChange={e => setUserData(d => ({ ...d, password: e.target.value }))}
min={6}
required
@@ -110,7 +113,7 @@ const SignUp = () => {
Sign up for free
</Button>
- <Divider label="OR CONTINUE WITH" labelPosition="center" />
+ <Divider color="dimmed" label="OR CONTINUE WITH" labelPosition="center" />
<Flex gap="sm">
<Button
@@ -163,7 +166,7 @@ const SignUp = () => {
</Paper>
<Center my="xl">
- <Anchor component={Link} prefetch={false} href="/sign-in" c="dark" fw="bold">
+ <Anchor component={Link} prefetch={false} href="/sign-in" c="gray.5" fw="bold">
Already have an account?
</Anchor>
</Center>