Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add boilerplate homepage video #1515

Merged
merged 4 commits into from
Aug 25, 2024
Merged
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
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;
Loading