Skip to content

Commit 4d1a8e0

Browse files
committed
Hero and Subtitle Updates
1 parent 6801a9c commit 4d1a8e0

3 files changed

Lines changed: 110 additions & 6 deletions

File tree

data/carousel/core-features.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
weight: 1
2-
title: "<h1 style='text-align: left;'>Open Source SaaS Starter</h1>"
2+
title: "<h1 style='text-align: left;'>Start Building Your SaaS in Minutes</h1>"
33
description: >
44
<div style="text-align: left;">
5-
<h3>The open-source framework that provides everything you need to launch your SaaS product. Fully integrated with Firebase and Stripe.</h3>
5+
<h3>Fireact.dev is the open-source framework for building production-ready SaaS applications fast with Firebase and Stripe.</h3>
66
</div>
77
image: "img/carousel/fireact-hero.png"
8+
button:
9+
- text: "View Demo"
10+
link: "/demos"
11+
class: "btn btn-template-main"
12+
- text: "Get Started Now"
13+
link: "https://docs.fireact.dev/getting-started/"
14+
class: "btn btn-template-secondary"

layouts/partials/carousel.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{{ if default true .Site.Params.CarouselHomepage.enable }}
2+
{{ if isset .Site.Data "carousel" }}
3+
{{ if gt (len .Site.Data.carousel) 0 }}
4+
<section>
5+
<div class="home-carousel">
6+
<div class="dark-mask"></div>
7+
<div class="container">
8+
<div class="homepage owl-carousel"
9+
data-autoplay="{{ default true .Site.Params.CarouselHomepage.auto_play }}"
10+
data-slide-speed="{{ default 2000 .Site.Params.CarouselHomepage.slide_speed }}"
11+
data-pagination-speed="{{ default 1000 .Site.Params.CarouselHomepage.pagination_speed }}">
12+
{{ range sort .Site.Data.carousel "weight" }}
13+
<div class="item">
14+
{{ if .href }}
15+
<a href="{{ .href }}" target="_blank" title="{{ .title | safeHTML }}">
16+
{{ end }}
17+
<div class="row">
18+
<div class="col-sm-6 right">
19+
<h1>{{ .title | safeHTML }}</h1>
20+
{{ .description | safeHTML }}
21+
{{ if .button }}
22+
<p class="buttons">
23+
{{ range .button }}
24+
<a href="{{ .link }}" class="{{ .class }}">{{ .text }}</a>
25+
{{ end }}
26+
</p>
27+
{{ end }}
28+
</div>
29+
<div class="col-sm-6">
30+
<img class="img-responsive" src="{{ .image }}" alt="">
31+
</div>
32+
</div>
33+
{{ if .href }}
34+
</a>
35+
{{ end }}
36+
</div>
37+
{{ end }}
38+
</div>
39+
<!-- /.project owl-slider -->
40+
</div>
41+
</div>
42+
</section>
43+
{{ end }}
44+
{{ end }}
45+
{{ end }}

static/css/custom.css

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,71 @@ p {
135135
}
136136

137137
.home-carousel .owl-carousel {
138-
padding-top: 20px;
139-
padding-bottom: 20px;
138+
padding-top: 10px; /* Reduced padding */
139+
padding-bottom: 10px; /* Reduced padding */
140+
}
141+
142+
.home-carousel .owl-carousel img {
143+
width: auto;
144+
margin: 0 auto;
145+
display: block;
146+
}
147+
148+
.home-carousel h1 {
149+
font-size: 3.5rem !important; /* Adjust as needed */
150+
color: #ffffff !important;
151+
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
140152
}
141153

142-
.home-carousel h1,
143154
.home-carousel h2,
144-
.home-carousel h3,
145155
.home-carousel p,
146156
.home-carousel ul {
147157
color: #ffffff !important;
148158
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
149159
}
150160

161+
.home-carousel h3 {
162+
font-size: 1.8rem !important; /* Adjust as needed, smaller than h1 */
163+
color: #ffffff !important;
164+
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
165+
}
166+
167+
.home-carousel .buttons {
168+
text-align: left !important;
169+
margin-top: 30px !important;
170+
}
171+
172+
.home-carousel .buttons .btn {
173+
padding: 12px 32px !important;
174+
background-color: #ffffff !important; /* Changed to white for better contrast */
175+
color: var(--primary-color) !important; /* Changed text color to primary blue */
176+
border: none !important;
177+
border-radius: 8px !important;
178+
font-weight: 700 !important;
179+
letter-spacing: 0.5px !important;
180+
transition: all 0.3s ease !important;
181+
display: inline-block !important;
182+
text-shadow: none !important; /* Removed text shadow for cleaner look */
183+
}
184+
185+
.home-carousel .buttons .btn:hover {
186+
background-color: #f0f0f0 !important; /* Slightly darker white on hover */
187+
color: var(--primary-color) !important;
188+
transform: translateY(-1px) !important;
189+
box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
190+
}
191+
192+
.home-carousel .buttons .btn-template-secondary {
193+
background-color: transparent !important;
194+
color: #ffffff !important;
195+
border: 1px solid #ffffff !important;
196+
}
197+
198+
.home-carousel .buttons .btn-template-secondary:hover {
199+
background-color: rgba(255, 255, 255, 0.1) !important;
200+
color: #ffffff !important;
201+
}
202+
151203
/* Links */
152204
a {
153205
color: var(--primary-color) !important;

0 commit comments

Comments
 (0)