From 924b54605265bf4aec161cc0043713d90e1b51e2 Mon Sep 17 00:00:00 2001 From: vincanger <70215737+vincanger@users.noreply.github.com> Date: Fri, 23 Dec 2022 16:39:30 +0100 Subject: [PATCH] add meta image to homepage --- web/src/pages/index.js | 73 ++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/web/src/pages/index.js b/web/src/pages/index.js index e73626658..6f15b0abe 100644 --- a/web/src/pages/index.js +++ b/web/src/pages/index.js @@ -1,64 +1,75 @@ -import React from 'react' -import classNames from 'classnames' +import React from 'react'; +import classNames from 'classnames'; -import Nav from '../components/Nav/index' -import Hero from '../components/Hero' -import Benefits from '../components/Benefits' -import Testimonials from '../components/Testimonials' -import ExampleWaspApps from '../components/ExampleWaspApps' -import HowItWorks from '../components/HowItWorks' -import ShowcaseGallery from '../components/ShowcaseGallery' -import Newsletter from '../components/Newsletter' -import Faq from '../components/Faq' -import Footer from '../components/Footer' - -import styles from './styles.module.css' -import './index.css' -import './preflight.css' +import Head from '@docusaurus/Head'; +import Nav from '../components/Nav/index'; +import Hero from '../components/Hero'; +import Benefits from '../components/Benefits'; +import Testimonials from '../components/Testimonials'; +import ExampleWaspApps from '../components/ExampleWaspApps'; +import HowItWorks from '../components/HowItWorks'; +import ShowcaseGallery from '../components/ShowcaseGallery'; +import Newsletter from '../components/Newsletter'; +import Faq from '../components/Faq'; +import Footer from '../components/Footer'; +import waspLogo from '../../static/img/wasp-logo.png'; +import styles from './styles.module.css'; +import './index.css'; +import './preflight.css'; const Background = () => { return (
- +
- ) -} + ); +}; const LightsTwo = () => (
- +
-) +); const Index = () => { return (
+ + {/* opengraph / facebook */} + + + + + {/* twitter */} + + + + +
+ ); +}; - ) -} - -export default Index +export default Index;