+ {platform === 'Windows' &&
+
+
+ Download for Windows
+
+
+ }
+ {platform === 'Linux' &&
+
+
+ Download for Linux
+
+
+ }
+ {platform === 'Android' &&
+
+
+ Download for Android
+
+
+ }
+
+
+
+
+ Open the web app
+
+
+
+
+
+
+ Downloads
+
+
+
+
+
);
+}
-export default function DownloadButton({className, href, children, after}) {
+export default function DownloadButton({ className, href, children, after }) {
function onClick() {
// Open thank you page after download
console.log('Downloading...')
diff --git a/docs/src/components/HomepageDescription.module.css b/docs/src/components/HomepageDescription.module.css
new file mode 100644
index 000000000000..a9c874d40cec
--- /dev/null
+++ b/docs/src/components/HomepageDescription.module.css
@@ -0,0 +1,10 @@
+/* stylelint-disable docusaurus/copyright-header */
+
+.description {
+ max-width: 600px;
+ margin: 0 auto;
+ text-align: center;
+}
+.description span {
+ font-size: 1.5rem;
+}
diff --git a/docs/src/components/HomepageDescription.tsx b/docs/src/components/HomepageDescription.tsx
new file mode 100644
index 000000000000..f9c159f997b4
--- /dev/null
+++ b/docs/src/components/HomepageDescription.tsx
@@ -0,0 +1,16 @@
+import React from 'react';
+import clsx from 'clsx';
+import styles from './HomepageDescription.module.css';
+import Translate from '@docusaurus/Translate';
+
+export default function HomepageDescription() {
+ return (
+
+
+
+ Create and manage your notes with ease in a simple, beautiful and powerful application.
+
+
+
+ );
+}
diff --git a/docs/src/components/HomepageFeatures.module.css b/docs/src/components/HomepageFeatures.module.css
index 9dcb82c3548a..4701833f4054 100644
--- a/docs/src/components/HomepageFeatures.module.css
+++ b/docs/src/components/HomepageFeatures.module.css
@@ -4,10 +4,46 @@
display: flex;
align-items: center;
padding: 2rem 0;
- width: 100%;
+}
+
+.features h2 {
+ font-size: 2rem;
+ text-align: center;
+ margin-bottom: 2rem;
+ margin-top: 5rem;
}
.featureSvg {
height: 200px;
width: 200px;
}
+
+.showcase {
+ max-width: 600px;
+ margin: 0 auto;
+}
+
+.showcaseImg {
+ width: 100%;
+ height: auto;
+ position: sticky;
+ padding: 1rem;
+ top: 50%;
+ margin-top: 50%;
+ transform: translateY(-50%);
+}
+
+.showcaseText {
+ text-align: center;
+ margin: 5rem 0;
+ list-style-type: none;
+ min-height: 50vh;
+ vertical-align: middle;
+}
+
+.showcaseButton {
+ text-align: center;
+ margin: 5rem 0;
+ list-style-type: none;
+ min-height: 100vh;
+}
diff --git a/docs/src/components/HomepageFeatures.tsx b/docs/src/components/HomepageFeatures.tsx
index ab4a2b38b5e9..57ab10389bf1 100644
--- a/docs/src/components/HomepageFeatures.tsx
+++ b/docs/src/components/HomepageFeatures.tsx
@@ -2,8 +2,9 @@ import React from 'react';
import clsx from 'clsx';
import styles from './HomepageFeatures.module.css';
import Translate from '@docusaurus/Translate';
+import { DownloadAppButton } from './DownloadButton';
-const FeatureList = [
+const Principals = [
{
title: (Cross platform),
Svg: require('../../static/img/undraw_progressive_app_m-9-ms.svg').default,
@@ -26,53 +27,118 @@ const FeatureList = [
),
},
- {
- title: (Customizable),
- Svg: require('../../static/img/undraw_options_re_9vxh.svg').default,
- description: (
-
- Change everything to your needs.
- Choose your custom color, create a palette and add your pages to the paper.
- The paper has an infinite size, perfect for your ideas and notes.
-
- ),
- },
- {
- title: (Choose where your data is stored),
- Svg: require('../../static/img/undraw_sweet_home_dkhr.svg').default,
- description: (
-
- You can choose to store your data locally or in your favorite cloud (webdav).
- You can also export your data to a file and import it again.
-
- ),
- },
+ {
+ title: (Customizable),
+ Svg: require('../../static/img/undraw_options_re_9vxh.svg').default,
+ description: (
+
+ Change everything to your needs.
+ Choose your custom color, create a palette and add your pages to the paper.
+ The paper has an infinite size, perfect for your ideas and notes.
+
+ ),
+ },
+ {
+ title: (Choose where your data is stored),
+ Svg: require('../../static/img/undraw_sweet_home_dkhr.svg').default,
+ description: (
+
+ You can choose to store your data locally or in your favorite cloud (webdav).
+ You can also export your data to a file and import it again.
+
+ ),
+ },
+];
+
+const Features = [
+ {
+ description: (
+
+ Use the infinite canvas to illustrate your ideas
+
+ ),
+ },
+ {
+ description: (
+
+ Use your pen, markdown or rich text to let your ideas flow
+
+ ),
+ },
+ {
+ Svg: require('../../static/img/undraw_progressive_app_m-9-ms.svg').default,
+ description: (
+
+ Load PDF, SVG, PNG and more files into your notes or take pictures from the camera
+
+ ),
+ },
+ {
+ Svg: require('../../static/img/undraw_progressive_app_m-9-ms.svg').default,
+ description: (
+
+ Structure your notes by adding areas and waypoints or use multiple pages
+
+ ),
+ },
];
-function Feature({Svg, title, description}) {
- return (
-