Skip to content

Commit

Permalink
Merge pull request #1515 from Chioma227/feat/boilerplate-homepage-video
Browse files Browse the repository at this point in the history
feat: add boilerplate homepage video
  • Loading branch information
chumex412 authored Aug 25, 2024
2 parents 2310a7b + f2afceb commit f72e802
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 1 deletion.
Binary file added public/video/boilerplate-mkt-ad.mp4
Binary file not shown.
Binary file added public/video/php-boilerplate.mp4
Binary file not shown.
4 changes: 4 additions & 0 deletions src/app/(landing-routes)/(home)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
import Hero from "~/components/layouts/homepage/Hero";
import HowItWorks from "~/components/layouts/homepage/HowItWorks";
import MarketingAd from "~/components/layouts/homepage/MarketingAd";
import PerfectFit from "~/components/layouts/homepage/PerfectFit";
import Testimonials from "~/components/layouts/homepage/Testimonials";
import UserSection from "~/components/layouts/homepage/UserSection";
import Video from "~/components/layouts/homepage/Video";

export default function Home() {
return (
<>
<Hero />
<UserSection />
<Video />
<HowItWorks />
<Testimonials />
<MarketingAd />
<PerfectFit />
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Password = () => {
};

return (
<div className="w-full max-w-[674px] px-8 pt-[50px]">
<div className="w-full px-3 pt-[50px] md:px-8">
<div className="mb-8">
<h2 className="mb-2 text-2xl font-semibold text-neutral-dark-1">
Password Settings
Expand Down
12 changes: 12 additions & 0 deletions src/components/layouts/homepage/MarketingAd.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const MarketingAd = () => {
return (
<div className="mx-auto flex w-full items-center justify-center">
<video width="1000" controls>
<source src="/video/boilerplate-mkt-ad.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
);
};

export default MarketingAd;
12 changes: 12 additions & 0 deletions src/components/layouts/homepage/Video.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const Video = () => {
return (
<div className="mx-auto flex w-full items-center justify-center">
<video width="1000" controls>
<source src="/video/php-boilerplate.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
);
};

export default Video;

0 comments on commit f72e802

Please sign in to comment.