webtest/Home (9).html

444 lines
12 KiB
HTML
Raw Permalink Normal View History

2025-04-23 08:58:41 +05:30
SafeValue must use [property]=binding:
<style>
/* ===== RESET & BASE ===== */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', sans-serif;
background: #f9f9f9;
color: #222;
line-height: 1.6;
}
/* 🧱 Extended for Mega Navbar Dropdown */
.mega-navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
background: #fff;
border-bottom: 1px solid #eee;
position: relative;
}
.nav-1 {
display: flex;
list-style: none;
gap: 20px;
position: relative;
}
.nav-1 li {
position: relative;
}
.nav-1 li a {
text-decoration: none;
color: #222;
font-weight: 500;
padding: 8px 12px;
display: inline-block;
}
.nav-1 li:hover > .dropdown-content {
display: block;
}
/* Dropdown content for mega menu */
.dropdown-content {
display: none;
position: absolute;
top: 100%;
left: 0;
background: white;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
padding: 20px;
z-index: 999;
width: 800px;
}
.dropdown-columns {
display: flex;
gap: 30px;
}
.column {
flex: 1;
}
.column h4 {
margin-bottom: 10px;
font-size: 16px;
font-weight: bold;
}
.column ul {
list-style: none;
padding: 0;
}
.column ul li {
margin-bottom: 12px;
}
.column ul li span {
display: inline-block;
margin-right: 8px;
}
.column ul li strong {
display: block;
font-weight: bold;
margin-bottom: 2px;
}
.column ul li p {
margin: 0;
font-size: 14px;
color: #666;
}
.footer-link {
margin-top: 15px;
}
.footer-link a {
color: #007bff;
text-decoration: none;
font-weight: 500;
}
.footer-link a:hover {
text-decoration: underline;
}
/* Responsive */
@media (max-width: 960px) {
.dropdown-columns {
flex-direction: column;
}
.dropdown-content {
width: 100%;
left: 0;
right: 0;
}
.mega-navbar {
flex-direction: column;
align-items: flex-start;
}
.nav-1 {
flex-direction: column;
gap: 10px;
}
.navbar-actions {
margin-top: 10px;
}
}
/* ======= NAVBAR ======= */
.navbar-1 {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
background: #fff;
border-bottom: 1px solid #eee;
}
.logo-1 {
width: 100px;
height: 30px;
background: #ccc;
}
.nav-1 {
display: flex;
gap: 20px;
list-style: none;
}
.nav-1 li a {
text-decoration: none;
color: #222;
font-weight: 500;
}
.join-btn {
background: black;
color: white;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
}
/* ======= HERO / HEADER SECTION ======= */
.hero-header {
text-align: center;
padding: 60px 20px;
background: #fdfdfd;
}
.hero-header h1 {
font-size: 36px;
font-weight: bold;
margin-bottom: 20px;
}
.hero-header p {
font-size: 16px;
color: #555;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.cta-buttons {
display: flex;
justify-content: center;
gap: 15px;
}
.cta-buttons button {
padding: 10px 20px;
background: black;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
/* ✅ Generic button fix */
button {
font-size: 15px;
padding: 10px 20px;
background-color: black;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #333;
}
.cta-buttons button,
.footer-1 button,
.testimonial-section button {
font-size: 15px;
padding: 10px 20px;
}
/* ======= IMAGE GRID ======= */
.image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
padding: 40px;
}
.image-grid div {
background: #ddd;
aspect-ratio: 1;
border-radius: 4px;
}
/* ======= BODY SECTION (2 COLUMN) ======= */
.feature-section {
display: flex;
flex-wrap: wrap;
padding: 60px 40px;
align-items: center;
gap: 40px;
}
.feature-section img {
width: 300px;
height: 300px;
background: #ccc;
object-fit: cover;
}
.feature-content {
flex: 1;
}
.feature-content h2 {
font-size: 24px;
font-weight: bold;
margin-bottom: 15px;
}
.feature-content p {
font-size: 16px;
color: #444;
margin-bottom: 20px;
}
.feature-content ul {
list-style: none;
padding: 0;
}
.feature-content ul li {
padding-left: 20px;
position: relative;
margin-bottom: 10px;
}
.feature-content ul li::before {
content: "•";
position: absolute;
left: 0;
color: #007bff;
}
/* ======= TESTIMONIAL SECTION ======= */
.testimonial-section {
padding: 60px 20px;
text-align: center;
}
.testimonial-heading {
font-size: 28px;
font-weight: bold;
margin-bottom: 10px;
}
.testimonial-subtitle {
color: #666;
margin-bottom: 40px;
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 20px;
}
.testimonial-card {
border: 1px solid #ddd;
border-radius: 6px;
padding: 20px;
background: #fff;
}
.testimonial-card .profile {
width: 40px;
height: 40px;
background: #ccc;
border-radius: 50%;
margin: 0 auto 10px;
}
.testimonial-card blockquote {
font-style: italic;
color: #444;
margin: 10px 0;
}
/* ======= FOOTER ======= */
.footer-1 {
background: #f8f8f8;
padding: 40px 20px;
font-size: 15px;
}
.footer-top,
.footer-bottom {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
}
.footer-nav,
.footer-legal {
display: flex;
gap: 15px;
list-style: none;
flex-wrap: wrap;
}
.footer-social {
display: flex;
gap: 10px;
}
.footer-social div {
width: 24px;
height: 24px;
background: #bbb;
border-radius: 50%;
}
/* Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body, html {
width: 100%;
font-family: 'Segoe UI', sans-serif;
}
/* 🧱 All section wrapper spacing */
section, header, footer, nav, div {
margin-bottom: 30px;
}
/* Layout blocks stay inside */
.canvas-page {
overflow-wrap: break-word;
}
/* Prevent buttons from floating off */
button {
display: inline-block;
white-space: nowrap;
}
/* Keep max-width structure */
.container,
.feature-section,
.hero-header {
max-width: 100%;
width: 100%;
}
.cta-section {
text-align: center;
padding: 60px 20px;
}
.cta-button {
background: black;
color: white;
padding: 12px 24px;
border-radius: 6px;
cursor: pointer;
display: inline-block;
margin-top: 20px;
text-decoration: none;
}
</style>
<navbar class="mega-navbar" logo="Logo"><div class="logo-1">Logo</div><ul class="nav-1"><li><a href="#">New Releases</a></li><li><a href="#">Coming Soon</a></li><li><a href="#">Investor Pitch</a></li><li class="dropdown"><a href="#">Top navigation with logo, links to all main pages, and call-to-action button</a><div class="dropdown-content"><div class="dropdown-columns"><div class="column"><h4>Top navigation with logo, links to all main pages, and call-to-action button</h4><ul><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li></ul></div><div class="column"><h4>Top navigation with logo, links to all main pages, and call-to-action button</h4><ul><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li><li><span>📦</span><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p></li></ul></div><div class="column"><h4>Top navigation with logo, links to all main pages, and call-to-action button</h4><ul><li><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p><a href="#">Read more</a></li><li><strong>Top navigation with logo, links to all main pages, and call-to-action button</strong><p>Top navigation with logo, links to all main pages, and call-to-action button</p><a href="#">Read more</a></li><div class="footer-link"><a href="#">See all articles →</a></div></ul></div></div></div></li></ul><div class="navbar-actions"><button class="join-btn">Top navigation with logo, links to all main pages, and call-to-action button</button><button class="join-btn primary">Top navigation with logo, links to all main pages, and call-to-action button</button></div></navbar>
<section class="header-section"><section class="class">hero-header</section><section class="heading">Build Your Dream Project with Ease</section><section class="subheading">Our mission is to empower creators...</section><section class="buttons"><section class="class">cta-buttons</section><section class="items">Sign UpLearn More</section></section></section>
<section class="feature-section"><img class="feature-image" src="" alt="Feature Illustration" /><div class="feature-content"><h2 class="feature-title">Unlock Your Project's Potential with Our Comprehensive Development Platform</h2><p class="feature-description">Easily create and manage your projects from start to finish. Select the technologies that best suit your needs and bring your ideas to life.</p><ul class="feature-list"><li>Effortless project creation and management.</li><li>Choose from a wide range of technologies.</li><li>Design intuitive wireframes for your applications.</li></ul></div></section>
<section class="testimonial-section"><h2 class="testimonial-heading">Customer Testimonials</h2><p class="testimonial-subtitle">What our clients are saying about us</p><div class="testimonial-grid"><div class="testimonial-card"><div class="stars">★★★★★</div><p>"This platform transformed the way we manage projects!"</p><div class="author"><img class="avatar" src="" alt="Alice Johnson" /><strong>Alice Johnson</strong><p>Project Manager, TechCorp</p></div></div><div class="testimonial-card"><div class="stars">★★★★★</div><p>"A game changer for our development process!"</p><div class="author"><img class="avatar" src="" alt="Michael Smith" /><strong>Michael Smith</strong><p>CEO, Innovate Inc.</p></div></div><div class="testimonial-card"><div class="stars">★★★★★</div><p>"I can't imagine working without this tool!"</p><div class="author"><img class="avatar" src="" alt="Sarah Lee" /><strong>Sarah Lee</strong><p>Lead Developer, WebSolutions</p></div></div></div></section>
<footer class="footer-1"><div class="footer-top"><img class="logo-1" src="" alt="Logo" /><ul class="footer-nav"><li>Get Started</li><li>Our Services</li><li>Contact Us</li><li>About Us</li><li>Support Center</li></ul><div class="footer-social"><div>📘</div><div>📷</div><div>𝕏</div><div>🔗</div><div>▶️</div></div></div><div class="footer-bottom"><span>© 2025 Relume. All rights reserved.</span><ul class="footer-legal"><li>Privacy Policy</li><li>Terms of Service</li><li>Cookies Settings</li></ul></div></footer> (see https://g.co/ng/security#xss)