Skip to content
Merged

1.23 #206

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
245 changes: 129 additions & 116 deletions apps/docs-website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,138 +4,151 @@ import Link from "@docusaurus/Link";
import Layout from "@theme/Layout";
import styles from "./index.module.css";
import { demoURL } from "../constants/demoUrl";
import { useColorMode } from "@docusaurus/theme-common";

/**
* @returns Homepage component
*/
export default function Home(): JSX.Element {
function HomepageContent() {
const { colorMode } = useColorMode();
const videoSrc =
colorMode === "dark"
? "./videos/loon_demo_video_dark.mp4"
: "./videos/loon_demo_video_1.mp4";

return (
<Layout>
{/** Homepage wrapper - height, width etc.*/}
<div className={styles.pageWrapper}>
<section className={clsx(styles.heroSection)}>
{/** Background video */}
<div className={styles.heroVideoWrapper}>
<video
className={styles.heroVideo}
autoPlay
muted
loop
playsInline
preload="auto"
<div className={styles.pageWrapper}>
<section className={clsx(styles.heroSection)}>
{/** Background video */}
<div className={styles.heroVideoWrapper}>
<video
key={colorMode}
className={styles.heroVideo}
autoPlay
muted
loop
playsInline
preload="auto"
>
<source src={videoSrc} type="video/mp4" />
{/* Fallback text */}
Your browser does not support the video tag.
</video>
</div>
<div className={styles.heroContent}>
{/** Header Text */}
<header className={styles.heroHeader}>
<h1 className={styles.headline}>
<span className={styles.headlineLine}>Data Visualization</span>
<span className={styles.headlineLine}>
<span className={styles.smallerFont}>for</span> Live Cell
Microscopy
</span>
</h1>
</header>
<div className={styles.buttonRow}>
{/** Get Started Button */}
<Link
className="button button--primary button--lg"
to="/docs/introduction"
>
<source src="./videos/loon_demo_video_1.mp4" type="video/mp4" />
{/* Fallback text */}
Your browser does not support the video tag.
</video>
</div>
<div className={styles.heroContent}>
{/** Header Text */}
<header className={styles.heroHeader}>
<h1 className={styles.headline}>
<span className={styles.headlineLine}>Data Visualization</span>
<span className={styles.headlineLine}>
<span className={styles.smallerFont}>for</span> Live Cell
Microscopy
</span>
</h1>
</header>
<div className={styles.buttonRow}>
{/** Get Started Button */}
<Link
className="button button--primary button--lg"
to="/docs/introduction"
>
Get Started{" "}
<span className={styles.arrow} aria-hidden="true">
</span>
</Link>
{/** Demo Button */}
<Link className="button button--primary button--lg" to={demoURL}>
Demo{" "}
<span className={styles.arrow} aria-hidden="true">
</span>
</Link>
</div>
Get Started{" "}
<span className={styles.arrow} aria-hidden="true">
</span>
</Link>
{/** Demo Button */}
<Link className="button button--primary button--lg" to={demoURL}>
Demo{" "}
<span className={styles.arrow} aria-hidden="true">
</span>
</Link>
</div>
</section>
{/* Loon Description Section */}
<section className={styles.descriptionSection}>
<div className={styles.descriptionContent}>
<p>
<strong>Loon</strong> is a free, open-source{" "}
<strong>visualization tool</strong> for live cell microscopy
data.&nbsp;&nbsp;<strong>Analyze</strong> your cell data,{" "}
<strong>identify</strong> data processing mistakes, and{" "}
<strong>communicate</strong> your findings.
<br />
<Link
href="https://vdl.sci.utah.edu/publications/2024_vis_aardvark/"
target="_blank"
rel="noopener noreferrer"
>
</div>
</section>
{/* Loon Description Section */}
<section className={styles.descriptionSection}>
<div className={styles.descriptionContent}>
<p>
<strong>Loon</strong> is a free, open-source{" "}
<strong>visualization tool</strong> for live cell microscopy
data.&nbsp;&nbsp;<strong>Analyze</strong> your cell data,{" "}
<strong>identify</strong> data processing mistakes, and{" "}
<strong>communicate</strong> your findings.
<br />
<Link
href="https://vdl.sci.utah.edu/publications/2024_vis_aardvark/"
target="_blank"
rel="noopener noreferrer"
>

<em>
<span style={{ fontSize: "0.8em" }}>🏆</span>
&nbsp;&nbsp;&nbsp;Best Paper Award: IEEE VIS 2024
</em>
</Link>
<span style={{ margin: "0 15px", color: "grey" }}>|</span>
<Link
href="https://loon.sci.utah.edu/"
target="_blank"
rel="noopener noreferrer"
>
<em>
<span style={{ fontSize: "0.8em" }}>🏆</span>
&nbsp;&nbsp;&nbsp;Honorable Mention Award: IEEE VIS 2021
</em>
</Link>
</p>
</div>
</section>
{/* Logos Centered at Bottom in a Row */}
<div className={styles.logoRow}>
<div className={styles.logoItem}>
<Link href="https://vdl.sci.utah.edu/" target="_blank" rel="noopener noreferrer">
<img
src="./img/vdl_logo_transparent.png"
alt="VDL Logo"
className={styles.logoImgVDL}
/>
</Link>
</div>
<div className={styles.logoItem}>
<Link href="https://www.judsontorreslab.org/" target="_blank" rel="noopener noreferrer">
<img
src="./img/judson-logo.png"
alt="Judson Logo"
className={styles.logoImgJudson}
/>
</Link>
</div>
<div className={styles.logoItem}>
<Link href="https://www.nih.gov/" target="_blank" rel="noopener noreferrer">
<img
src="./img/nih_logo.svg"
alt="NIH Logo"
className={styles.logoImgNIH}
/>
</Link>
</div>
<div className={styles.logoItem}>
<Link href="https://zanglelab.che.utah.edu/" target="_blank" rel="noopener noreferrer">
<img
src="./img/zangle-logo.png"
alt="Zangle Logo"
className={styles.logoImgZangle}
/>
<span style={{ margin: "0 15px", color: "grey" }}>|</span>
<Link
href="https://loon.sci.utah.edu/"
target="_blank"
rel="noopener noreferrer"
>
<em>
<span style={{ fontSize: "0.8em" }}>🏆</span>
&nbsp;&nbsp;&nbsp;Honorable Mention Award: IEEE VIS 2021
</em>
</Link>
</div>
</p>
</div>
</section>
{/* Logos Centered at Bottom in a Row */}
<div className={styles.logoRow}>
<div className={styles.logoItem}>
<Link href="https://vdl.sci.utah.edu/" target="_blank" rel="noopener noreferrer">
<img
src="./img/vdl_logo_transparent.png"
alt="VDL Logo"
className={styles.logoImgVDL}
/>
</Link>
</div>
<div className={styles.logoItem}>
<Link href="https://www.judsontorreslab.org/" target="_blank" rel="noopener noreferrer">
<img
src="./img/judson-logo.png"
alt="Judson Logo"
className={styles.logoImgJudson}
/>
</Link>
</div>
<div className={styles.logoItem}>
<Link href="https://www.nih.gov/" target="_blank" rel="noopener noreferrer">
<img
src="./img/nih_logo.svg"
alt="NIH Logo"
className={styles.logoImgNIH}
/>
</Link>
</div>
<div className={styles.logoItem}>
<Link href="https://zanglelab.che.utah.edu/" target="_blank" rel="noopener noreferrer">
<img
src="./img/zangle-logo.png"
alt="Zangle Logo"
className={styles.logoImgZangle}
/>
</Link>
</div>
</div>
</div>
);
}

export default function Home(): JSX.Element {
return (
<Layout>
<HomepageContent />
</Layout>
);
}
Binary file not shown.