mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
feat: add video demo section to marketing page
- Introduced a new video demo section to showcase features with an embedded video player. - Styled the video container for responsive design and improved aesthetics. - Added media queries for better display on smaller screens.
This commit is contained in:
@@ -357,6 +357,50 @@
|
|||||||
.download-subtitle a:hover {
|
.download-subtitle a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Video Demo Section */
|
||||||
|
.video-demo {
|
||||||
|
margin-top: 3rem;
|
||||||
|
max-width: 900px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
padding: 0 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-container {
|
||||||
|
position: relative;
|
||||||
|
margin-left: -2rem;
|
||||||
|
margin-right: -2rem;
|
||||||
|
width: calc(100% + 4rem);
|
||||||
|
padding-bottom: 66.67%; /* Taller aspect ratio to show more height */
|
||||||
|
background: rgba(30, 41, 59, 0.5);
|
||||||
|
border-radius: 1rem;
|
||||||
|
overflow: hidden;
|
||||||
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
||||||
|
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-container video {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.video-demo {
|
||||||
|
margin-top: 2rem;
|
||||||
|
padding: 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.video-container {
|
||||||
|
margin-left: -1rem;
|
||||||
|
margin-right: -1rem;
|
||||||
|
width: calc(100% + 2rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -382,6 +426,15 @@
|
|||||||
<a href="https://github.com/AutoMaker-Org/automaker#getting-started" class="btn btn-secondary" target="_blank">Get Started</a>
|
<a href="https://github.com/AutoMaker-Org/automaker#getting-started" class="btn btn-secondary" target="_blank">Get Started</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="video-demo">
|
||||||
|
<div class="video-container">
|
||||||
|
<video controls autoplay muted loop playsinline>
|
||||||
|
<source src="https://releases.automaker.app/demo.mp4" type="video/mp4">
|
||||||
|
Your browser does not support the video tag.
|
||||||
|
</video>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="download-section" id="downloadSection" style="display: none;">
|
<div class="download-section" id="downloadSection" style="display: none;">
|
||||||
<p class="download-label">Download for your platform:</p>
|
<p class="download-label">Download for your platform:</p>
|
||||||
<div class="download-buttons">
|
<div class="download-buttons">
|
||||||
|
|||||||
Reference in New Issue
Block a user