Skip to content

Commit ed10cef

Browse files
author
Diogo Ferraz
committed
fix(landing): add explicit bottom spacing to kicker and remove duplicate CTA
1 parent 8ac32e2 commit ed10cef

3 files changed

Lines changed: 4 additions & 15 deletions

File tree

src/app/features/landing/components/landing-page/landing-page.component.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ <h1>Plan, track, and deliver work with a modern Kanban workflow.</h1>
2323

2424
<div class="landing__cta">
2525
<button pButton type="button" size="large" label="Get Started" icon="pi pi-arrow-right" iconPos="right" (click)="signIn()"></button>
26-
<a routerLink="/dashboard" class="landing__demo-link">Go to app (requires sign in)</a>
2726
</div>
2827

2928
@if (isDebugEntryEnabled()) {

src/app/features/landing/components/landing-page/landing-page.component.scss

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
.landing__kicker {
7070
display: inline-block;
71-
margin: 0 0 1rem;
71+
margin: 0;
7272
padding: 0.35rem 0.75rem;
7373
border-radius: 999px;
7474
background: color-mix(in srgb, var(--primary-color) 18%, transparent);
@@ -84,7 +84,7 @@
8484

8585
.landing__hero p {
8686
max-width: 700px;
87-
margin: 1.2rem auto 0;
87+
margin: 1.2rem auto 1.2rem;
8888
color: var(--text-color-secondary);
8989
font-size: 1.05rem;
9090
}
@@ -98,16 +98,6 @@
9898
flex-wrap: wrap;
9999
}
100100

101-
.landing__demo-link {
102-
font-weight: 600;
103-
color: var(--primary-color);
104-
text-decoration: none;
105-
}
106-
107-
.landing__demo-link:hover {
108-
text-decoration: underline;
109-
}
110-
111101
.landing__debug {
112102
margin-top: 1.2rem;
113103
display: flex;

src/app/features/landing/components/landing-page/landing-page.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { Component, inject } from '@angular/core';
2-
import { Router, RouterLink } from '@angular/router';
2+
import { Router } from '@angular/router';
33
import { ButtonModule } from 'primeng/button';
44
import { AuthService } from '../../../../core/auth/services/auth.service';
55

66
@Component({
77
selector: 'app-landing-page',
88
standalone: true,
9-
imports: [ButtonModule, RouterLink],
9+
imports: [ButtonModule],
1010
templateUrl: './landing-page.component.html',
1111
styleUrl: './landing-page.component.scss'
1212
})

0 commit comments

Comments
 (0)