-
Resources
-
Get Started
-
Learn
-
Case Studies
+
-
diff --git a/src/app/components/landing/landing.component.scss b/src/app/components/landing/landing.component.scss
deleted file mode 100644
index ed84233..0000000
--- a/src/app/components/landing/landing.component.scss
+++ /dev/null
@@ -1,53 +0,0 @@
-#hero-content{
- background: linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), radial-gradient(77.36% 256.97% at 77.36% 57.52%, #EEEFAF 0%, #C3E3FA 100%);
- -webkit-clip-path: ellipse(150% 87% at 93% 13%);
- clip-path: ellipse(150% 87% at 93% 13%);
- min-height: 630px;
-
-}
-
-#testimonial-card{
- background:linear-gradient(0deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), radial-gradient(77.36% 256.97% at 77.36% 57.52%, #EFE1AF 0%, #C3DCFA 100%);
-}
-
-.box-wrapper{
- padding:2px;
-}
-
-.border-10{
- border-radius:10px;
-}
-
-.gradient-yellow{
- background: linear-gradient(180deg, rgba(253, 228, 165, 0.2),rgba(187, 199, 205, 0.2)), linear-gradient(90deg, rgba(253, 228, 165, 0.2),rgba(187, 199, 205, 0.2));
-}
-
-.gradient-yellow-2{
- background: linear-gradient(90deg, rgba(187, 199, 205, 0.2),rgba(251, 199, 145, 0.2)), linear-gradient(180deg, rgba(253, 228, 165, 0.2),rgba(145, 210, 204, 0.2));
-}
-
-.gradient-blue{
- background: linear-gradient(180deg, rgba(145,226,237,0.2),rgba(251, 199, 145, 0.2)), linear-gradient(90deg, rgba(253, 228, 165, 0.2), rgba(172, 180, 223, 0.2));
-}
-
-.gradient-purple{
- background: linear-gradient(90deg, rgba(145, 226, 237, 0.2), rgba(172, 180, 223, 0.2)), linear-gradient(180deg, rgba(172, 180, 223, 0.2), rgba(246, 158, 188, 0.2));
-}
-
-.gradient-purple-2{
- background: linear-gradient(90deg, rgba(187, 199, 205, 0.2), rgba(246, 158, 188, 0.2)), linear-gradient(180deg, rgba(145, 226, 237, 0.2), rgba(160, 158, 188, 0.2));
-}
-
-@media (min-width:769px){
- #hero-img{
- top:30% !important;
- right:0 !important;
- }
-}
-
-@media (min-width: 992px) {
- #hero-img{
- top:7% !important;
- right:7% !important;
- }
-}
diff --git a/src/app/components/landing/landing.component.ts b/src/app/components/landing/landing.component.ts
index 4bcb679..778185d 100644
--- a/src/app/components/landing/landing.component.ts
+++ b/src/app/components/landing/landing.component.ts
@@ -2,7 +2,21 @@ import { Component, OnInit, OnDestroy } from '@angular/core';
@Component({
selector: 'app-landing',
templateUrl: './landing.component.html',
- styleUrls: ['./landing.component.scss']
+ styles: [`
+ #hero{
+ background: linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), radial-gradient(77.36% 256.97% at 77.36% 57.52%, #EEEFAF 0%, #C3E3FA 100%);
+ height:700px;
+ overflow:hidden;
+ }
+
+ @media (min-width: 768px) {
+ #hero{
+ -webkit-clip-path: ellipse(150% 87% at 93% 13%);
+ clip-path: ellipse(150% 87% at 93% 13%);
+ height: 430px;
+ }
+ }
+ `]
})
export class LandingComponent implements OnInit {
@@ -11,14 +25,12 @@ export class LandingComponent implements OnInit {
constructor() { }
ngOnInit(): void {
- let themeElement = document.getElementById('theme-css');
this.themeElement = document.getElementById('theme-css');
- console.log(this.themeElement);
- themeElement.setAttribute('href','assets/theme/saga-blue/theme.css');
+ this.themeElement.setAttribute('href','assets/theme/saga-blue/theme.css');
}
ngOnDestroy(): void {
-
+ this.themeElement.setAttribute('href', 'assets/theme/lara-light-indigo/theme.css');
}
}