Skip to content

Commit 7561980

Browse files
committed
update sign in image and comment how it works section, remove testimonials label
1 parent 806fba4 commit 7561980

File tree

4 files changed

+41
-41
lines changed

4 files changed

+41
-41
lines changed

public/images/data/signinwith.png

13.4 KB
Loading

src/components/base/Footer.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ import LogoFull from "/public/svg/logo-full.svg?raw";
6262
align-items: flex-start;
6363
justify-content: center;
6464
background-color: var(--surface-frame-bg);
65+
border-top: 1px solid var(--text-body-primary);
6566

6667
header {
6768
display: flex;
@@ -74,7 +75,7 @@ import LogoFull from "/public/svg/logo-full.svg?raw";
7475
.content-container {
7576
width: 100%;
7677
max-width: 1100px;
77-
padding: 0 20px;
78+
padding: 4rem 20px 0; // Use padding instead of margin for spacing
7879
box-sizing: border-box;
7980
display: flex;
8081
flex-flow: column;

src/pages/_home/components/client-side/Testimonials/Testimonials.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function Component({ data }: Props) {
1818
);
1919
return (
2020
<div className="testimonials-content">
21-
<p>Testimonials</p>
21+
{/* <p>Testimonials</p> */}
2222
<div className="track">
2323
{slides.length <= 1 && <Fragment>{slides}</Fragment>}
2424
{slides.length > 1 && (

src/pages/index.astro

Lines changed: 38 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import HomeScrollSection1 from "./_home/scroll-sections/section-1/HomeScrollSect
1313
import HomeScrollSection2 from "./_home/scroll-sections/section-2/HomeScrollSection2";
1414
import HomeScrollSection3 from "./_home/scroll-sections/section-3/HomeScrollSection3";
1515
import FlexibleSection from "../components/FlexibleSection.astro";
16-
import oidc from "/public/images/data/oidc-logos.png";
16+
import signinwith from "/public/images/data/signinwith.png";
1717
import enrollment from "/public/images/data/enrollment-screen.png";
1818
import api from "/public/images/data/api.png";
1919
import Image from "astro/components/Image.astro";
@@ -148,7 +148,7 @@ const tags = [
148148
</div>
149149

150150
<div slot="right">
151-
<Image src={oidc} alt="logo image" />
151+
<Image src={signinwith} alt="sign in with defguard" />
152152
</div>
153153
</FlexibleSection>
154154
<FlexibleSection
@@ -341,33 +341,32 @@ const tags = [
341341
</HomeSection>
342342

343343
<Roadmap variant="white"/>
344-
345-
<ProductSection padding="small" variant="gray">
346-
<div class="testimonials-content">
347-
<p>How It Works</p>
348-
<div class="product-features">
349-
<ProductFeature title="1. Deploy Quickly" id={0} context="how-it-works" client:load>
350-
<p>Spin up defguard in minutes via Docker, Kubernetes, or your preferred package installer.</p>
351-
</ProductFeature>
352-
353-
<ProductFeature title="2. Connect Your Identity Providers" id={1} context="how-it-works" client:load>
354-
<p>Effortlessly sync users, groups, and credentials with LDAP, Active Directory, and popular cloud IdPs.</p>
355-
</ProductFeature>
356-
357-
<ProductFeature title="3. Enable True Multi-Factor Authentication" id={2} context="how-it-works" client:load>
358-
<p>Protect your remote access with the world's first WireGuard MFA, either through built-in or external identity providers.</p>
359-
</ProductFeature>
360-
361-
<ProductFeature title="4. Onboard Users Instantly" id={3} context="how-it-works" client:load>
362-
<p>Provide a simple, secure enrollment link. Users set up their credentials in the desktop client and gain immediate access to critical resources.</p>
363-
</ProductFeature>
364-
365-
<ProductFeature title="5. Manage & Control via ACL" id={4} context="how-it-works" client:load>
366-
<p>Grant granular permissions and monitor user activities through defguard's intuitive dashboard.</p>
367-
</ProductFeature>
368-
</div>
344+
<!-- <ProductSection padding="small" variant="gray">
345+
<div class="flexible-content">
346+
<h2 class="section-title">How It Works</h2>
369347
</div>
370-
</ProductSection>
348+
<div class="product-features">
349+
<ProductFeature title="1. Deploy Quickly" id={0} context="how-it-works" client:load>
350+
<p>Spin up defguard in minutes via Docker, Kubernetes, or your preferred package installer.</p>
351+
</ProductFeature>
352+
353+
<ProductFeature title="2. Connect Your Identity Providers" id={1} context="how-it-works" client:load>
354+
<p>Effortlessly sync users, groups, and credentials with LDAP, Active Directory, and popular cloud IdPs.</p>
355+
</ProductFeature>
356+
357+
<ProductFeature title="3. Enable True Multi-Factor Authentication" id={2} context="how-it-works" client:load>
358+
<p>Protect your remote access with the world's first WireGuard MFA, either through built-in or external identity providers.</p>
359+
</ProductFeature>
360+
361+
<ProductFeature title="4. Onboard Users Instantly" id={3} context="how-it-works" client:load>
362+
<p>Provide a simple, secure enrollment link. Users set up their credentials in the desktop client and gain immediate access to critical resources.</p>
363+
</ProductFeature>
364+
365+
<ProductFeature title="5. Manage & Control via ACL" id={4} context="how-it-works" client:load>
366+
<p>Grant granular permissions and monitor user activities through defguard's intuitive dashboard.</p>
367+
</ProductFeature>
368+
</div>
369+
</ProductSection> -->
371370

372371
<!-- <BuiltBy variant="white" /> -->
373372
</main>
@@ -385,9 +384,10 @@ const tags = [
385384
padding-bottom: page-spacing(80px);
386385

387386
.section-title {
388-
@include typography(section);
387+
@include typography(section); // Change back to section typography for main sections
389388
border-bottom: 1px solid var(--text-body-primary);
390389
padding-bottom: 1rem;
390+
margin-bottom: 2rem;
391391
}
392392

393393
h3 {
@@ -466,16 +466,15 @@ const tags = [
466466
}
467467
}
468468

469-
.content {
470-
&.pre-styled {
471-
ul {
472-
margin: 0;
473-
padding-left: 20px;
474-
}
475-
476-
a {
477-
white-space: normal;
478-
word-wrap: break-word;
469+
.product-features {
470+
padding-top: 2rem; // Add some space after the section title
471+
472+
.product-feature {
473+
header {
474+
h2 {
475+
@include typography(h3); // Change to h3 for better size
476+
font-weight: 400; // Keep it light
477+
}
479478
}
480479
}
481480
}

0 commit comments

Comments
 (0)