diff --git a/web/babel.config.js b/web/babel.config.js index e00595dae..675264818 100644 --- a/web/babel.config.js +++ b/web/babel.config.js @@ -1,3 +1,3 @@ module.exports = { presets: [require.resolve('@docusaurus/core/lib/babel/preset')], -}; +} diff --git a/web/blog/components/DiscordLink.js b/web/blog/components/DiscordLink.js index 0e4061276..fde8a633e 100644 --- a/web/blog/components/DiscordLink.js +++ b/web/blog/components/DiscordLink.js @@ -1,11 +1,11 @@ -import React from "react"; +import React from 'react' const DiscordLink = (props) => { return ( - Discord + Discord - ); -}; + ) +} -export default DiscordLink; \ No newline at end of file +export default DiscordLink diff --git a/web/blog/components/ImgWithCaption.js b/web/blog/components/ImgWithCaption.js index 5e9472b58..7cbf553f8 100644 --- a/web/blog/components/ImgWithCaption.js +++ b/web/blog/components/ImgWithCaption.js @@ -1,19 +1,26 @@ -import React from "react"; -import useBaseUrl from "@docusaurus/useBaseUrl"; +import React from 'react' +import useBaseUrl from '@docusaurus/useBaseUrl' const ImgWithCaption = (props) => { return (
-

+

- {props.alt} -
+ {props.alt} +
{props.caption}

- ); -}; + ) +} -export default ImgWithCaption; +export default ImgWithCaption diff --git a/web/blog/components/InBlogCta.js b/web/blog/components/InBlogCta.js index 0d6b3a89b..e078f969c 100644 --- a/web/blog/components/InBlogCta.js +++ b/web/blog/components/InBlogCta.js @@ -1,28 +1,30 @@ import React from 'react' -import Link from '@docusaurus/Link'; -import useBaseUrl from '@docusaurus/useBaseUrl'; +import Link from '@docusaurus/Link' +import useBaseUrl from '@docusaurus/useBaseUrl' -const Divider = () => ( - -) +const Divider = () => const InBlogCta = () => ( -

- - We are in Beta (try it out)! - - - - Join our community - - - - Work with us - -

+

+ + We are in Beta (try it out)! + + + + Join our community + + + + Work with us + +

) export default InBlogCta diff --git a/web/docs/OldDocsNote.tsx b/web/docs/OldDocsNote.tsx index 008035a5e..727480374 100644 --- a/web/docs/OldDocsNote.tsx +++ b/web/docs/OldDocsNote.tsx @@ -1,13 +1,13 @@ -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import React from "react"; +import Admonition from '@theme/Admonition' +import Link from '@docusaurus/Link' +import React from 'react' export default function OldDocsNote() { return (
@@ -21,5 +21,5 @@ export default function OldDocsNote() { content.
- ); + ) } diff --git a/web/docs/advanced/deployment/DeploymentOptionsGrid.css b/web/docs/advanced/deployment/DeploymentOptionsGrid.css index dfde66d8a..8c0f1cf0c 100644 --- a/web/docs/advanced/deployment/DeploymentOptionsGrid.css +++ b/web/docs/advanced/deployment/DeploymentOptionsGrid.css @@ -26,4 +26,4 @@ } .deployment-methods-info { color: var(--ifm-color-secondary-contrast-foreground); -} \ No newline at end of file +} diff --git a/web/docs/advanced/deployment/DeploymentOptionsGrid.tsx b/web/docs/advanced/deployment/DeploymentOptionsGrid.tsx index 3537d8490..e29452acf 100644 --- a/web/docs/advanced/deployment/DeploymentOptionsGrid.tsx +++ b/web/docs/advanced/deployment/DeploymentOptionsGrid.tsx @@ -1,19 +1,19 @@ -import React from "react"; -import "./DeploymentOptionsGrid.css"; +import React from 'react' +import './DeploymentOptionsGrid.css' export function DeploymentOptionsGrid() { const deploymentMethods = [ { - title: "Using Wasp CLI", - description: "One command deployment & redeployment", - linkToDocs: "/docs/advanced/deployment/cli", + title: 'Using Wasp CLI', + description: 'One command deployment & redeployment', + linkToDocs: '/docs/advanced/deployment/cli', }, { - title: "Deploying Manually", - description: "Build the app and deploy it manually", - linkToDocs: "/docs/advanced/deployment/manually", + title: 'Deploying Manually', + description: 'Build the app and deploy it manually', + linkToDocs: '/docs/advanced/deployment/manually', }, - ]; + ] return ( <>
@@ -29,7 +29,7 @@ export function DeploymentOptionsGrid() { Click on each deployment method for more details.

- ); + ) } function DeploymentOptionBox({ @@ -37,14 +37,14 @@ function DeploymentOptionBox({ title, description, }: { - linkToDocs: string; - title: string; - description: string; + linkToDocs: string + title: string + description: string }) { return (

{title} »

{description}

- ); -} \ No newline at end of file + ) +} diff --git a/web/docs/auth/Pills.css b/web/docs/auth/Pills.css index 6568744fb..f165d6f98 100644 --- a/web/docs/auth/Pills.css +++ b/web/docs/auth/Pills.css @@ -6,10 +6,10 @@ --auth-pills-username-and-pass: #fce7f3; } -:root[data-theme="dark"] { +:root[data-theme='dark'] { --auth-pills-color: #fff; --auth-pills-email: #0c4a6e; --auth-pills-github: #334155; --auth-pills-google: #365314; --auth-pills-username-and-pass: #831843; -} \ No newline at end of file +} diff --git a/web/docs/auth/Pills.jsx b/web/docs/auth/Pills.jsx index ef148337a..3d93c5f19 100644 --- a/web/docs/auth/Pills.jsx +++ b/web/docs/auth/Pills.jsx @@ -1,18 +1,23 @@ -import React from "react"; -import './Pills.css'; -import Link from '@docusaurus/Link'; +import React from 'react' +import './Pills.css' +import Link from '@docusaurus/Link' export function Pill({ children, linkToPage, style = {} }) { - return {children}; + return ( + + {children} + + ) } /* @@ -24,25 +29,53 @@ export function Pill({ children, linkToPage, style = {} }) { } */ export function EmailPill() { - return Email; + return ( + + Email + + ) } export function UsernameAndPasswordPill() { - return Username & Password; + return ( + + Username & Password + + ) } export function GithubPill() { - return Github; + return ( + + Github + + ) } export function GooglePill() { - return Google; + return ( + + Google + + ) } diff --git a/web/docs/auth/social-auth/SocialAuthGrid.tsx b/web/docs/auth/social-auth/SocialAuthGrid.tsx index a96116737..f7e47df3b 100644 --- a/web/docs/auth/social-auth/SocialAuthGrid.tsx +++ b/web/docs/auth/social-auth/SocialAuthGrid.tsx @@ -1,22 +1,22 @@ -import React from "react"; -import Link from '@docusaurus/Link'; -import "./SocialAuthGrid.css"; +import React from 'react' +import Link from '@docusaurus/Link' +import './SocialAuthGrid.css' export function SocialAuthGrid({ - pagePart = "", // e.g. #overrides + pagePart = '', // e.g. #overrides }) { const authMethods = [ { - title: "Google", - description: "Users sign in with their Google account.", - linkToDocs: "/docs/auth/social-auth/google" + pagePart, + title: 'Google', + description: 'Users sign in with their Google account.', + linkToDocs: '/docs/auth/social-auth/google' + pagePart, }, { - title: "Github", - description: "Users sign in with their Github account.", - linkToDocs: "/docs/auth/social-auth/github" + pagePart, + title: 'Github', + description: 'Users sign in with their Github account.', + linkToDocs: '/docs/auth/social-auth/github' + pagePart, }, - ]; + ] return ( <>
@@ -32,7 +32,7 @@ export function SocialAuthGrid({ Click on each provider for more details.

- ); + ) } function AuthMethodBox({ @@ -40,14 +40,14 @@ function AuthMethodBox({ title, description, }: { - linkToDocs: string; - title: string; - description: string; + linkToDocs: string + title: string + description: string }) { return (

{title} »

{description}

- ); + ) } diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js index f61c38759..17a447925 100644 --- a/web/docusaurus.config.js +++ b/web/docusaurus.config.js @@ -1,25 +1,25 @@ -const lightCodeTheme = require("prism-react-renderer/themes/github"); +const lightCodeTheme = require('prism-react-renderer/themes/github') -const autoImportTabs = require("./src/remark/auto-import-tabs"); -const fileExtSwitcher = require("./src/remark/file-ext-switcher"); +const autoImportTabs = require('./src/remark/auto-import-tabs') +const fileExtSwitcher = require('./src/remark/file-ext-switcher') /** @type {import('@docusaurus/types').DocusaurusConfig} */ module.exports = { - title: "Wasp", + title: 'Wasp', tagline: - "A simple language for developing full-stack web apps with less code.", + 'A simple language for developing full-stack web apps with less code.', // url, baseUrl, organizationName, projectName and trailingSlash are set according to the // instructions in https://docusaurus.io/docs/deployment#deploying-to-github-pages . - url: "https://wasp-lang.dev", - baseUrl: "/", // Should be name of repo if hosted on Github Pages, but can be just '/' if custom domain is used. - organizationName: "wasp-lang", // Should be GitHub org/user name if hosted on Github Pages. - projectName: "wasp", // Should be repo name if hosted on Github Pages. + url: 'https://wasp-lang.dev', + baseUrl: '/', // Should be name of repo if hosted on Github Pages, but can be just '/' if custom domain is used. + organizationName: 'wasp-lang', // Should be GitHub org/user name if hosted on Github Pages. + projectName: 'wasp', // Should be repo name if hosted on Github Pages. trailingSlash: false, - onBrokenLinks: "throw", - onBrokenMarkdownLinks: "warn", - favicon: "img/favicon.ico", + onBrokenLinks: 'throw', + onBrokenMarkdownLinks: 'warn', + favicon: 'img/favicon.ico', stylesheets: [ - "https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap", + 'https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap', ], themeConfig: { /* @@ -47,86 +47,86 @@ module.exports = { }, }, navbar: { - title: ".wasp (beta)", + title: '.wasp (beta)', logo: { - alt: "Wasp logo", - src: "img/wasp-logo-eqpar-circle.png", - href: "https://wasp-lang.dev/", - target: "_self" + alt: 'Wasp logo', + src: 'img/wasp-logo-eqpar-circle.png', + href: 'https://wasp-lang.dev/', + target: '_self' }, items: [ { - to: "docs/", - activeBasePath: "docs", - label: "Docs", - position: "left", - className: "navbar-item-docs navbar-item-outside", + to: 'docs/', + activeBasePath: 'docs', + label: 'Docs', + position: 'left', + className: 'navbar-item-docs navbar-item-outside', }, { - to: "blog", - label: "Blog", - position: "left", + to: 'blog', + label: 'Blog', + position: 'left', }, { - href: "https://github.com/wasp-lang/wasp", - className: "navbar-item-github", - position: "right", + href: 'https://github.com/wasp-lang/wasp', + className: 'navbar-item-github', + position: 'right', }, { - href: "https://twitter.com/WaspLang", - className: "navbar-item-twitter", - position: "right", + href: 'https://twitter.com/WaspLang', + className: 'navbar-item-twitter', + position: 'right', }, { - href: "https://discord.gg/rzdnErX", - className: "navbar-item-discord", - position: "right", + href: 'https://discord.gg/rzdnErX', + className: 'navbar-item-discord', + position: 'right', }, ], }, prism: { - additionalLanguages: ["shell-session", "haskell"], + additionalLanguages: ['shell-session', 'haskell'], theme: lightCodeTheme, }, footer: { - style: "dark", + style: 'dark', links: [ { - title: "Docs", + title: 'Docs', items: [ { - label: "Getting started", - to: "docs", + label: 'Getting started', + to: 'docs', }, { - label: "Todo app tutorial", - to: "docs/tutorial/create", + label: 'Todo app tutorial', + to: 'docs/tutorial/create', }, { - label: "Reference", - to: "docs/language/features", + label: 'Reference', + to: 'docs/language/features', }, ], }, { - title: "Community", + title: 'Community', items: [ { - label: "Discord", - href: "https://discord.gg/rzdnErX", + label: 'Discord', + href: 'https://discord.gg/rzdnErX', }, ], }, { - title: "More", + title: 'More', items: [ { - label: "GitHub", - href: "https://github.com/wasp-lang/wasp", + label: 'GitHub', + href: 'https://github.com/wasp-lang/wasp', }, { - label: "Contact", - to: "docs/contact", + label: 'Contact', + to: 'docs/contact', }, ], }, @@ -134,59 +134,59 @@ module.exports = { copyright: `Copyright © ${new Date().getFullYear()} Wasp.`, }, algolia: { - appId: "RG0JSZOWH4", - apiKey: "feaa2a25dc596d40418c82cd040e2cbe", - indexName: "wasp-lang", + appId: 'RG0JSZOWH4', + apiKey: 'feaa2a25dc596d40418c82cd040e2cbe', + indexName: 'wasp-lang', // TODO: contextualSearch is useful when you are doing versioning, // it searches only in v1 docs if you are searching from v1 docs. // We should enable it if we start doing versioning. // contextualSearch: true }, - image: "img/wasp_twitter_cover.png", - metadata: [{ name: "twitter:card", content: "summary_large_image" }], + image: 'img/wasp_twitter_cover.png', + metadata: [{ name: 'twitter:card', content: 'summary_large_image' }], }, presets: [ [ - "@docusaurus/preset-classic", + '@docusaurus/preset-classic', { gtag: { - trackingID: "GTM-PQ4JFCK", + trackingID: 'GTM-PQ4JFCK', anonymizeIP: true, }, docs: { - sidebarPath: require.resolve("./sidebars.js"), + sidebarPath: require.resolve('./sidebars.js'), sidebarCollapsible: true, // Please change this to your repo. - editUrl: "https://github.com/wasp-lang/wasp/edit/release/web", + editUrl: 'https://github.com/wasp-lang/wasp/edit/release/web', remarkPlugins: [autoImportTabs, fileExtSwitcher], }, blog: { showReadingTime: true, // Please change this to your repo. - blogSidebarCount: "ALL", - blogSidebarTitle: "All our posts", - postsPerPage: "ALL", - editUrl: "https://github.com/wasp-lang/wasp/edit/release/web", + blogSidebarCount: 'ALL', + blogSidebarTitle: 'All our posts', + postsPerPage: 'ALL', + editUrl: 'https://github.com/wasp-lang/wasp/edit/release/web', }, theme: { - customCss: [require.resolve("./src/css/custom.css")], + customCss: [require.resolve('./src/css/custom.css')], }, }, ], ], - scripts: ["/scripts/posthog.js", "/js/fix-multiple-trailing-slashes.js"], + scripts: ['/scripts/posthog.js', '/js/fix-multiple-trailing-slashes.js'], plugins: [ - "plugin-image-zoom", + 'plugin-image-zoom', async function myPlugin(context, options) { return { - name: "docusaurus-tailwindcss", + name: 'docusaurus-tailwindcss', configurePostCss(postcssOptions) { // Appends TailwindCSS and AutoPrefixer. - postcssOptions.plugins.push(require("tailwindcss")); - postcssOptions.plugins.push(require("autoprefixer")); - return postcssOptions; + postcssOptions.plugins.push(require('tailwindcss')) + postcssOptions.plugins.push(require('autoprefixer')) + return postcssOptions }, - }; + } }, [ '@docusaurus/plugin-client-redirects', @@ -218,7 +218,7 @@ module.exports = { }, { from: '/docs/guides/email-auth', - to: '/docs/auth/email' + to: '/docs/auth/email', }, { from: '/docs/guides/crud', @@ -244,4 +244,4 @@ module.exports = { }, ], ], -}; +} diff --git a/web/src/components/AuthMethodsGrid.css b/web/src/components/AuthMethodsGrid.css index 6dc179a0c..d06a3034e 100644 --- a/web/src/components/AuthMethodsGrid.css +++ b/web/src/components/AuthMethodsGrid.css @@ -26,4 +26,4 @@ } .auth-methods-info { color: var(--ifm-color-secondary-contrast-foreground); -} \ No newline at end of file +} diff --git a/web/src/components/AuthMethodsGrid.tsx b/web/src/components/AuthMethodsGrid.tsx index c85c91e6b..8cfad14ee 100644 --- a/web/src/components/AuthMethodsGrid.tsx +++ b/web/src/components/AuthMethodsGrid.tsx @@ -1,29 +1,29 @@ -import React from "react"; -import "./AuthMethodsGrid.css"; +import React from 'react' +import './AuthMethodsGrid.css' export function AuthMethodsGrid() { const authMethods = [ { - title: "Email", - description: "Email verification, password reset, etc.", - linkToDocs: "/docs/auth/email", + title: 'Email', + description: 'Email verification, password reset, etc.', + linkToDocs: '/docs/auth/email', }, { - title: "Username & Password", - description: "The simplest way to get started", - linkToDocs: "/docs/auth/username-and-pass", + title: 'Username & Password', + description: 'The simplest way to get started', + linkToDocs: '/docs/auth/username-and-pass', }, { - title: "Google", - description: "Users sign in with their Google account", - linkToDocs: "/docs/auth/social-auth/google", + title: 'Google', + description: 'Users sign in with their Google account', + linkToDocs: '/docs/auth/social-auth/google', }, { - title: "Github", - description: "Users sign in with their Github account", - linkToDocs: "/docs/auth/social-auth/github", + title: 'Github', + description: 'Users sign in with their Github account', + linkToDocs: '/docs/auth/social-auth/github', }, - ]; + ] return ( <>
@@ -39,7 +39,7 @@ export function AuthMethodsGrid() { Click on each auth method for more details.

- ); + ) } function AuthMethodBox({ @@ -47,14 +47,14 @@ function AuthMethodBox({ title, description, }: { - linkToDocs: string; - title: string; - description: string; + linkToDocs: string + title: string + description: string }) { return (

{title} »

{description}

- ); + ) } diff --git a/web/src/components/Benefits.js b/web/src/components/Benefits.js index 3a24dc6df..e0e2d2ea3 100644 --- a/web/src/components/Benefits.js +++ b/web/src/components/Benefits.js @@ -8,52 +8,47 @@ import styles from '../pages/styles.module.css' const Lang = () => ( <> - - language - + language ) const Benefit = ({ Icon, title, description }) => ( -
-
+
+
-
- { title } -
+
{title}
-

- { description } -

+

{description}

) const Benefits = () => { return ( - -
-
-

+ +
+
+

Get started in minutes - zero config required.

-

- Wasp provides all the best practices out-of-the-box and lets you focus on your code. +

+ Wasp provides all the best practices out-of-the-box and lets you + focus on your code.

-
+
{ { { } const BenefitsWithSkewedBorder = () => ( -
+
-
+ >
-
+
diff --git a/web/src/components/CodeBlockWithTitle.js b/web/src/components/CodeBlockWithTitle.js index c5d45f8b0..2d55bb47d 100644 --- a/web/src/components/CodeBlockWithTitle.js +++ b/web/src/components/CodeBlockWithTitle.js @@ -1,14 +1,12 @@ import React, { useState } from 'react' import CodeBlock from '@theme/CodeBlock' -export default function CodeBlockWithTitle ({ title, children, language }) { +export default function CodeBlockWithTitle({ title, children, language }) { return ( -
-
{ title }
+
+
{title}
- - { children } - + {children}
) } diff --git a/web/src/components/CodeHighlight.js b/web/src/components/CodeHighlight.js index 49019bab3..67c3e2c00 100644 --- a/web/src/components/CodeHighlight.js +++ b/web/src/components/CodeHighlight.js @@ -1,39 +1,39 @@ -import React, { useEffect } from "react"; -import Prism from "prismjs"; -import "../css/prismjs-github-theme.css"; +import React, { useEffect } from 'react' +import Prism from 'prismjs' +import '../css/prismjs-github-theme.css' export default function CodeHighlight(props = {}) { - const codeRef = React.createRef(); + const codeRef = React.createRef() const { - prefixCls = "code-highlight-wrapper", + prefixCls = 'code-highlight-wrapper', className, language, source, children, ...others - } = props; - const langCls = language ? `language-${language}` : ""; + } = props + const langCls = language ? `language-${language}` : '' async function highlight() { if (codeRef.current) { - Prism.highlightElement(codeRef.current); + Prism.highlightElement(codeRef.current) } } useEffect(() => { - highlight(); - }, [language, source]); + highlight() + }, [language, source]) return (
       
         {source || children}
       
     
- ); + ) } diff --git a/web/src/components/Collapse.tsx b/web/src/components/Collapse.tsx index 857330d73..2ab5d213d 100644 --- a/web/src/components/Collapse.tsx +++ b/web/src/components/Collapse.tsx @@ -1,12 +1,15 @@ import React from 'react' import Details from '@theme/MDXComponents/Details' -export default function Collapse(props: { children: React.ReactNode; title: string }) { - const { children, title } = props; - return ( -
- {title} - {children} -
- ) +export default function Collapse(props: { + children: React.ReactNode + title: string +}) { + const { children, title } = props + return ( +
+ {title} + {children} +
+ ) } diff --git a/web/src/components/DarkModeToggle.js b/web/src/components/DarkModeToggle.js index d28415a7d..8c09c27a7 100644 --- a/web/src/components/DarkModeToggle.js +++ b/web/src/components/DarkModeToggle.js @@ -3,20 +3,20 @@ import { Sun, Moon } from 'react-feather' const DarkModeToggle = () => { const [isDarkMode, setIsDarkMode] = useState(false) - + const toggleDarkMode = () => { setIsDarkMode(!isDarkMode) } - + return ( -
- +
+ - +
- - ) } diff --git a/web/src/components/EmailSignupForm/index.js b/web/src/components/EmailSignupForm/index.js index a26d18f78..0faa5bbd6 100644 --- a/web/src/components/EmailSignupForm/index.js +++ b/web/src/components/EmailSignupForm/index.js @@ -1,31 +1,29 @@ -import React from 'react'; +import React from 'react' import './emailSignupForm.css' const EmailSignupForm = ({ placeholder }) => { return (
-
-
) } -export default EmailSignupForm; +export default EmailSignupForm diff --git a/web/src/components/ExampleWaspApps.js b/web/src/components/ExampleWaspApps.js index 278bc6dbf..0ef4d009b 100644 --- a/web/src/components/ExampleWaspApps.js +++ b/web/src/components/ExampleWaspApps.js @@ -40,11 +40,11 @@ const SeeTheCodeButton = ({ repoUrl }) => ( - {isExpanded && ( -
- {faq.answer} -
- )} + {isExpanded &&
{faq.answer}
}
) } @@ -96,29 +130,29 @@ const FaqItem = ({ keyP, faq }) => { const Faq = () => { return ( -
-
-

+
+
+

Frequently asked questions

-

+

For anything not covered here, join  - our Discord - ! + + !

-
+
{faqs.map((faq, idx) => ( ))}
- ) } diff --git a/web/src/components/Features.js b/web/src/components/Features.js index 2b64b1a9a..56da3c357 100644 --- a/web/src/components/Features.js +++ b/web/src/components/Features.js @@ -1,7 +1,23 @@ import React from 'react' import Link from '@docusaurus/Link' import classNames from 'classnames' -import { Terminal, Layers, Coffee, Code, Unlock, Repeat, Send, Link2, Grid, ArrowRight, Globe, Settings, Mail, Type, Star } from 'react-feather' +import { + Terminal, + Layers, + Coffee, + Code, + Unlock, + Repeat, + Send, + Link2, + Grid, + ArrowRight, + Globe, + Settings, + Mail, + Type, + Star, +} from 'react-feather' import SectionContainer from './Layouts/SectionContainer' @@ -9,33 +25,27 @@ import styles from '../pages/styles.module.css' const Lang = () => ( <> - - language - + language ) const Feature = ({ Icon, title, description, url }) => ( -
-
+
+
-
- { title } -
+
{title}
-

- { description } -

- +

{description}

+
) @@ -48,10 +58,10 @@ const TextLink = ({ url, label }) => ( text-neutral-500 hover:text-neutral-400 `} > -
+
{label} -
- +
+
@@ -62,13 +72,12 @@ const TextLink = ({ url, label }) => ( const Features = () => { return ( - -
- + +
{ { { - { { { { } const FeaturesWithSkewedBorder = () => ( -
+
-
+ >
-
+
diff --git a/web/src/components/FileExtSwitcher.tsx b/web/src/components/FileExtSwitcher.tsx index 13a10902a..cfaa8a829 100644 --- a/web/src/components/FileExtSwitcher.tsx +++ b/web/src/components/FileExtSwitcher.tsx @@ -1,5 +1,5 @@ -// Copied from -// https://github.com/redwoodjs/redwood/blob/bd903c5755925ea7174775a2fdaba371b700c910/docs/src/components/FileExtSwitcher.tsx +// Copied from +// https://github.com/redwoodjs/redwood/blob/bd903c5755925ea7174775a2fdaba371b700c910/docs/src/components/FileExtSwitcher.tsx import * as React from 'react' diff --git a/web/src/components/Footer.js b/web/src/components/Footer.js index f9ce1554f..fd9358624 100644 --- a/web/src/components/Footer.js +++ b/web/src/components/Footer.js @@ -57,7 +57,7 @@ const Logo = () => ( Wasp Logo - Wasp + Wasp
) @@ -71,8 +71,8 @@ const Segment = ({ title, links }) => ( {l.text} @@ -111,17 +111,17 @@ const Footer = () => { inputBgColor="bg-transparent" /> - - Backed by + + Backed by YC
-
+

diff --git a/web/src/components/Hero.js b/web/src/components/Hero.js index f890fd9a9..9f426917f 100644 --- a/web/src/components/Hero.js +++ b/web/src/components/Hero.js @@ -5,9 +5,17 @@ import './prismCustomization' import CodeHighlight from './CodeHighlight' -import { Terminal, ArrowUpRight, Play, BookOpen, Grid, Layout, Trello } from 'react-feather' +import { + Terminal, + ArrowUpRight, + Play, + BookOpen, + Grid, + Layout, + Trello, +} from 'react-feather' -// Terminal, BookOpen, Grid, Layout, Trello, FileText +// Terminal, BookOpen, Grid, Layout, Trello, FileText import InstallCmd from './InstallCmd' import SectionContainer from './Layouts/SectionContainer' @@ -15,9 +23,15 @@ import SectionContainer from './Layouts/SectionContainer' const StartIcon = () => ( @@ -25,16 +39,16 @@ const StartIcon = () => ( ) const ActionButtons = () => ( -

- +
+ - +
- ) return ( <> -
-
- - -
) - } export default Nav diff --git a/web/src/components/Newsletter.js b/web/src/components/Newsletter.js index 8a5024f8b..d3017e762 100644 --- a/web/src/components/Newsletter.js +++ b/web/src/components/Newsletter.js @@ -5,41 +5,33 @@ import SectionContainer from './Layouts/SectionContainer' const Newsletter = () => { return ( - -
-
- + +
+
-
-

+
+

Stay up to date 📬

-

+

Be the first to know when we ship new features and updates!

-
- - +
+
-
-

- ) } export default Newsletter - diff --git a/web/src/components/Required.tsx b/web/src/components/Required.tsx index bb7890052..17a4f2c8e 100644 --- a/web/src/components/Required.tsx +++ b/web/src/components/Required.tsx @@ -1,22 +1,22 @@ -import * as React from "react"; +import * as React from 'react' -const color = "#f59e0b"; +const color = '#f59e0b' export function Required() { return ( required - ); + ) } diff --git a/web/src/components/Roadmap.js b/web/src/components/Roadmap.js index 57959b477..f5e04d72a 100644 --- a/web/src/components/Roadmap.js +++ b/web/src/components/Roadmap.js @@ -28,12 +28,12 @@ const GhIssueLink = ({ url, label }) => ( -
+
{label}
@@ -49,7 +49,7 @@ const Section = ({ features }) => (