Skip to content

Commit

Permalink
Add promo video and still image for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
lklyne committed Mar 4, 2024
1 parent 425411a commit 9866870
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.webm filter=lfs diff=lfs merge=lfs -text
*.mov filter=lfs diff=lfs merge=lfs -text
*.mp4 filter=lfs diff=lfs merge=lfs -text
7 changes: 3 additions & 4 deletions src/components/HomepageVideo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ import React from 'react';
import clsx from 'clsx';
import styles from './styles.module.css';

// TODO update this to our actual promo video when it clears review
import PromoVideo from '@site/static/video/earth.mp4';

import PromoVideo from '@site/static/video/aerie-video-subtitles.mp4';
import PromoStill from '@site/static/video/aerie-video-still.png';

export function HomepageVideo() {
return (
<section className={styles.section}>
<div className="container">
<div className={clsx(`row ${styles.videoSection}`)}>
<video width="100%" height="auto" controls>
<video width="100%" height="auto" controls poster={PromoStill}>
<source src={PromoVideo} type="video/mp4" />
</video>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Home() {
<Layout title={`Home`} description="Planning, sequencing, and scheduling tools for modern space missions.">
<HomepageHeader />
<main className={styles.siteBackground}>
{/* <HomepageVideo /> */}
<HomepageVideo />
<h2 className={styles.sectionHeader}>Features</h2>
<HomepageFeatures />
{/* <HomepageTestimonials /> */}
Expand Down
3 changes: 3 additions & 0 deletions static/video/aerie-video-still.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/video/aerie-video-subtitles.mp4
Git LFS file not shown
Binary file removed static/video/earth.mp4
Binary file not shown.

0 comments on commit 9866870

Please sign in to comment.