diff --git a/website/src/components/IndexPage/FAQ.mdx b/website/src/components/IndexPage/FAQ.mdx new file mode 100644 index 0000000000..19976a9b5d --- /dev/null +++ b/website/src/components/IndexPage/FAQ.mdx @@ -0,0 +1,3 @@ +--- +title: FAQ +--- diff --git a/website/src/components/IndexPage/WelcomeMessage.astro b/website/src/components/IndexPage/WelcomeMessage.astro new file mode 100644 index 0000000000..d49b7aef7c --- /dev/null +++ b/website/src/components/IndexPage/WelcomeMessage.astro @@ -0,0 +1,7 @@ +--- +const websiteName = Astro.props.websiteName; +--- + +

+ Welcome to {websiteName}, a system for sharing pathogen genome data. +

diff --git a/website/src/layouts/DocLayout.astro b/website/src/layouts/DocLayout.astro index aaabc87702..da8752036e 100644 --- a/website/src/layouts/DocLayout.astro +++ b/website/src/layouts/DocLayout.astro @@ -9,7 +9,7 @@ const { frontmatter } = Astro.props;
-
+

{frontmatter.title}

diff --git a/website/src/layouts/MdLayout.astro b/website/src/layouts/MdLayout.astro index 5de3b224b2..062de8b1f2 100644 --- a/website/src/layouts/MdLayout.astro +++ b/website/src/layouts/MdLayout.astro @@ -6,7 +6,7 @@ const { frontmatter } = Astro.props; --- -
+
diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index 5f31e3cc6d..b3cd46dee7 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -1,16 +1,18 @@ --- +import Faq from '../components/IndexPage/FAQ.mdx'; +import WelcomeMessage from '../components/IndexPage/WelcomeMessage.astro'; import { getConfiguredOrganisms, getWebsiteConfig } from '../config'; import BaseLayout from '../layouts/BaseLayout.astro'; import { routes } from '../routes/routes'; const websiteConfig = getWebsiteConfig(); const { name: websiteName } = websiteConfig; +import '../styles/mdcontainer.scss'; ---
-

- Welcome to {websiteName}, a system for sharing pathogen genome data. -

+ +

Explore {websiteName} data!

@@ -27,5 +29,8 @@ const { name: websiteName } = websiteConfig; )) }
+
+ +
diff --git a/website/src/styles/mdcontainer.scss b/website/src/styles/mdcontainer.scss index 5adda3f13a..a04d0adea7 100644 --- a/website/src/styles/mdcontainer.scss +++ b/website/src/styles/mdcontainer.scss @@ -1,5 +1,5 @@ -.mdContainer{ +.mdContainerItself{ @apply max-w-3xl mx-auto break-normal; }