Skip to content

Commit 0363d58

Browse files
committed
feat: Add demo video to hero section and update links
This commit enhances the project's landing page and README by embedding a new demonstration video. The hero section of the website (`index.html`) now features an embedded YouTube video showcasing a complete demo and walkthrough of the application. This provides visitors with an immediate and engaging overview of the tool's functionality. Additionally, the link in the `README.md` has been updated to point to the new video. ### Key Changes: * **`docs/index.html`:** * Added a styled video container with a responsive 16:9 aspect ratio wrapper. * Embedded the YouTube video in an `iframe` within the hero section. * Adjusted padding and margins in the navigation and hero sections for a more compact layout. * **`README.md`:** * Updated the YouTube link associated with the main screenshot to direct users to the new demo video.
1 parent 931c6cd commit 0363d58

File tree

2 files changed

+45
-6
lines changed

2 files changed

+45
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 🧠 DevAnalyzer
22

3-
[![DevAnalyzer](screenshot/dev_analyzer.png)](https://youtu.be/1tJbMAHIy6M?si=R2iJRh2U-dAx6NPx)
3+
[![DevAnalyzer](screenshot/dev_analyzer.png)](https://youtu.be/c3t1SIKSBBk?si=o77BGpvB2zwoFZPs)
44

55
**🌐 [Visit Website](https://coding-meet.github.io/DevAnalyzer/)**
66

docs/index.html

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
nav {
5656
max-width: 1200px;
5757
margin: 0 auto;
58-
padding: 1.5rem 2rem;
58+
padding: 0.5rem 1rem;
5959
display: flex;
6060
justify-content: space-between;
6161
align-items: center;
@@ -116,8 +116,8 @@
116116

117117
/* Hero Section */
118118
.hero {
119-
margin-top: 80px;
120-
padding: 4rem 2rem;
119+
margin-top: 50px;
120+
padding: 2rem 2rem;
121121
text-align: center;
122122
background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
123123
}
@@ -129,7 +129,7 @@
129129

130130
.hero h1 {
131131
font-size: 3.5rem;
132-
margin-bottom: 1.5rem;
132+
margin-bottom: 1.3rem;
133133
background: linear-gradient(135deg, var(--primary), var(--secondary));
134134
-webkit-background-clip: text;
135135
-webkit-text-fill-color: transparent;
@@ -139,14 +139,44 @@
139139
.hero p {
140140
font-size: 1.3rem;
141141
color: var(--text-secondary);
142-
margin-bottom: 2rem;
142+
margin-bottom: 1rem;
143143
}
144144

145145
.hero-buttons {
146146
display: flex;
147147
gap: 1rem;
148148
justify-content: center;
149149
flex-wrap: wrap;
150+
margin-bottom: 1.5rem;
151+
}
152+
153+
.hero-video-container {
154+
max-width: 900px;
155+
margin: 0 auto;
156+
background: white;
157+
padding: 1rem;
158+
border-radius: 20px;
159+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
160+
}
161+
162+
.hero-video-wrapper {
163+
position: relative;
164+
padding-bottom: 56.25%;
165+
/* 16:9 aspect ratio */
166+
height: 0;
167+
overflow: hidden;
168+
border-radius: 16px;
169+
background: linear-gradient(135deg, var(--primary), var(--secondary));
170+
}
171+
172+
.hero-video-wrapper iframe {
173+
position: absolute;
174+
top: 0;
175+
left: 0;
176+
width: 100%;
177+
height: 100%;
178+
border: none;
179+
border-radius: 16px;
150180
}
151181

152182
.primary-btn,
@@ -532,6 +562,15 @@ <h1>Deep Insights for Your Development Environment</h1>
532562
<span></span> View on GitHub
533563
</a>
534564
</div>
565+
<div class="hero-video-container">
566+
<div class="hero-video-wrapper">
567+
<iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
568+
allowfullscreen
569+
src="https://www.youtube.com/embed/c3t1SIKSBBk"
570+
title="DevAnalyzer - Complete Demo & Walkthrough">
571+
</iframe>
572+
</div>
573+
</div>
535574
</div>
536575
</section>
537576

0 commit comments

Comments
 (0)