add landing page

This commit is contained in:
Mariela Bonilla 2021-07-18 03:39:39 -06:00
parent 18ca4042ce
commit 54e8824ca7
6 changed files with 522 additions and 2 deletions

View File

@ -76,3 +76,276 @@
</p> </p>
</div> </div>
</div> </div>
<div class="row">
<div class="col">
<div class="container-fluid navbar navbar-marketing navbar-expand-lg bg-white navbar-light">
<div class="container px-5 py-4">
<a class="text-dark" href="index.html"
><img src="http://datasurvey.org/content/img_datasurvey/datasurvey-logo-text-black.svg" width="300" alt=""
/></a>
<div class="col-4">
<a routerLink="/login">
<button class="ds-btn ds-btn--primary fw-500 ms-lg-4">Iniciar Sesión</button>
</a>
<a routerLink="/account/register">
<button class="ds-btn ds-btn--primary fw-500 ms-lg-4">Registrarse</button>
</a>
</div>
</div>
</div>
<!-- Page Header-->
<div
class="page-header-ui page-header-ui-dark bg-img-cover overlay overlay-40"
style="background-image: url('../../content/img_datasurvey/banner-home.jpg')"
>
<div class="page-header-ui-content py-5 position-relative">
<div class="container px-5">
<div class="row gx-5 justify-content-center">
<div class="col-xl-8 col-lg-10 text-center">
<div data-aos="fade-up">
<h1 class="page-header-ui-title">We are a branding and design studio</h1>
<p class="page-header-ui-text">
We are a group of creatives and developers who design, build, and optimize brands and digital experiences.
</p>
</div>
<div class="row">
<div class="col">
<a routerLink="/login">
<button class="ds-btn ds-btn--primary fw-500 ms-lg-4">Iniciar Sesión</button>
</a>
<a routerLink="/account/register">
<button class="ds-btn ds-btn--primary fw-500 ms-lg-4">Registrarse</button>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="svg-border-rounded text-white">
<!-- Rounded SVG Border-->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144.54 17.34" preserveAspectRatio="none" fill="currentColor">
<path d="M144.54,17.34H0V0H144.54ZM0,0S32.36,17.34,72.27,17.34,144.54,0,144.54,0"></path>
</svg>
</div>
</div>
<div class="bg-white py-10" id="get-started">
<div class="container px-5">
<div class="row gx-5 text-center">
<div class="col-lg-4 mb-5 mb-lg-0">
<div class="icon-stack icon-stack-xl bg-gradient-primary-to-secondary text-white mb-4"><i data-feather="droplet"></i></div>
<h2>Design</h2>
<p class="mb-0">We start by creating a set of brand guidelines and standards</p>
</div>
<div class="col-lg-4 mb-5 mb-lg-0">
<div class="icon-stack icon-stack-xl bg-gradient-primary-to-secondary text-white mb-4"><i data-feather="code"></i></div>
<h2>Develop</h2>
<p class="mb-0">Our award winning development team creates personalized digital experiences</p>
</div>
<div class="col-lg-4">
<div class="icon-stack icon-stack-xl bg-gradient-primary-to-secondary text-white mb-4"><i data-feather="truck"></i></div>
<h2>Deliver</h2>
<p class="mb-0">Our products are created on time, and to your exact specifications</p>
</div>
</div>
</div>
<div class="svg-border-rounded text-light">
<!-- Rounded SVG Border-->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144.54 17.34" preserveAspectRatio="none" fill="currentColor">
<path d="M144.54,17.34H0V0H144.54ZM0,0S32.36,17.34,72.27,17.34,144.54,0,144.54,0"></path>
</svg>
</div>
</div>
<div class="bg-light py-10">
<div class="container px-5">
<h2 class="mb-4">Recent postings</h2>
<div class="row gx-5">
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/tG36rvCeqng/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Gray Bicycle</div>
<div class="text-xs text-gray-500">Readcaster, CO · 2 days ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/nHOz7sp5nHE/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Hanimex Camera</div>
<div class="text-xs text-gray-500">Waterlow, CO · 3 days ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/GkFQEOubrCo/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Macbook Pro</div>
<div class="text-xs text-gray-500">Waterlow, CO · 4 hours ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/3bdSGpKVAmk/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Assorted Skin Care</div>
<div class="text-xs text-gray-500">Waterlow, CO · 29 minutes ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/w9IHmVSNBfU/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Brown Ukulele</div>
<div class="text-xs text-gray-500">Readcaster, CO · 3 days ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/bpg-ngqrPc8/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Leather Sofa</div>
<div class="text-xs text-gray-500">Readcaster, CO · 2 hours ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/fZuleEfeA1Q/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Green Suede Sofa</div>
<div class="text-xs text-gray-500">Waterlow, CO · 2 days ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/rjhAiP3cj9E/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Metal Chairs</div>
<div class="text-xs text-gray-500">Readcaster, CO · 5 days ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/5ba6j8d_oXY/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Wireless Earbuds</div>
<div class="text-xs text-gray-500">Readcaster, CO · 1 month ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/ESoE_buQvNQ/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Muscle Car</div>
<div class="text-xs text-gray-500">Waterlow, CO · 1 week ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/zuE9jsaVHuA/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Hardwood Dresser</div>
<div class="text-xs text-gray-500">Waterlow, CO · 2 weeks ago</div>
</div>
</a>
</div>
<div class="col-xl-3 col-lg-4 col-md-6 mb-5">
<a class="card lift h-100" href="#!">
<img class="card-img-top" src="https://source.unsplash.com/WuRsjF4iZK0/800x500" alt="..." />
<div class="card-body p-3">
<div class="card-title small mb-0">Classic Motorcycle</div>
<div class="text-xs text-gray-500">Readcaster, CO · 1 week ago</div>
</div>
</a>
</div>
</div>
<div class="mb-10">
<a class="text-arrow-icon" href="#!">
See more deals near you
<i data-feather="arrow-right"></i>
</a>
</div>
<h2 class="mb-4">Browse Categories</h2>
<div class="row gx-5">
<div class="col-lg-3 col-md-6 mb-5">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-red" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-red text-white mb-2"><i class="fas fa-car"></i></div>
<div class="small text-gray-600">Cars</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6 mb-5">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-orange" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-orange text-white mb-2"><i class="fas fa-home"></i></div>
<div class="small text-gray-600">Housing</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6 mb-5">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-yellow" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-yellow text-white mb-2"><i class="fas fa-gift"></i></div>
<div class="small text-gray-600">Free</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6 mb-5">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-green" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-green text-white mb-2"><i class="fas fa-mobile-alt"></i></div>
<div class="small text-gray-600">Tech</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6 mb-5 mb-lg-0">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-cyan" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-cyan text-white mb-2"><i class="fas fa-couch"></i></div>
<div class="small text-gray-600">Furniture</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6 mb-5 mb-lg-0">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-blue" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-blue text-white mb-2"><i class="fas fa-briefcase"></i></div>
<div class="small text-gray-600">Jobs</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6 mb-5 mb-lg-0">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-purple" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-purple text-white mb-2"><i class="fas fa-motorcycle"></i></div>
<div class="small text-gray-600">Leisure</div>
</div>
</a>
</div>
<div class="col-lg-3 col-md-6">
<a class="card lift border-top-0 border-start-0 border-end-0 border-bottom-lg border-pink" href="#!">
<div class="card-body text-center">
<div class="icon-stack icon-stack-xl bg-pink text-white mb-2"><i class="fas fa-shopping-cart"></i></div>
<div class="small text-gray-600">Other</div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>

View File

@ -10,6 +10,201 @@ Main page styles
background-size: contain; background-size: contain;
} }
.bg-img-cover {
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.overlay {
position: relative;
}
.overlay:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #000;
opacity: 0.5;
}
.overlay-10:before {
opacity: 0.1;
}
.overlay-20:before {
opacity: 0.2;
}
.overlay-30:before {
opacity: 0.3;
}
.overlay-40:before {
opacity: 0.4;
}
.overlay-50:before {
opacity: 0.5;
}
.overlay-60:before {
opacity: 0.6;
}
.overlay-70:before {
opacity: 0.7;
}
.overlay-80:before {
opacity: 0.8;
}
.overlay-90:before {
opacity: 0.9;
}
.fixed-top,
.page-header-ui.navbar-fixed .navbar {
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1030;
}
.text-white-75,
.page-header-ui-dark .page-header-ui-text a {
color: rgba(255, 255, 255, 0.75) !important;
}
.page-header-ui {
position: relative;
padding-top: 8rem;
padding-bottom: 8rem;
}
.page-header-ui .page-header-ui-content .page-header-ui-title {
font-size: 2.5rem;
}
.page-header-ui .page-header-ui-content .page-header-ui-text {
font-size: 1.15rem;
}
.page-header-ui .page-header-ui-content .page-header-ui-text.small {
font-size: 0.9rem;
}
.page-header-ui-dark {
color: #fff;
background-color: #212832;
}
.svg-border-rounded svg {
position: absolute;
bottom: 0;
left: 0;
height: 1rem;
width: 100%;
}
@media (min-width: 576px) {
.svg-border-rounded svg {
height: 1.5rem;
}
}
@media (min-width: 768px) {
.svg-border-rounded svg {
height: 2rem;
}
}
@media (min-width: 992px) {
.svg-border-rounded svg {
height: 2.5rem;
}
}
@media (min-width: 1200px) {
.svg-border-rounded svg {
height: 3rem;
}
}
/**
Cards
**/
.lift {
box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.lift:hover {
transform: translateY(-0.3333333333rem);
box-shadow: 0 0.5rem 2rem 0 rgba(33, 40, 50, 0.25);
}
.lift:active {
transform: none;
box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
}
.lift-sm {
box-shadow: 0 0.125rem 0.25rem 0 rgba(33, 40, 50, 0.2);
}
.lift-sm:hover {
transform: translateY(-0.1666666667rem);
box-shadow: 0 0.25rem 1rem 0 rgba(33, 40, 50, 0.25);
}
.lift-sm:active {
transform: none;
box-shadow: 0 0.125rem 0.25rem 0 rgba(33, 40, 50, 0.2);
}
.card.lift {
text-decoration: none;
color: inherit;
}
.card-flag {
position: absolute;
font-size: 0.7rem;
padding: 0.3rem 0.5rem;
line-height: 1;
}
.card-flag-dark {
background-color: rgba(33, 40, 50, 0.7);
color: #fff;
}
.card-flag-light {
background-color: rgba(255, 255, 255, 0.7);
color: #69707a;
}
.card-flag-lg {
font-size: 0.9rem;
padding: 0.5rem 0.65rem;
}
.card-flag-top-right {
border-top-left-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
top: 0.5rem;
right: 0;
}
.card-flag-top-left {
border-top-right-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
top: 0.5rem;
left: 0;
}
.border-cyan {
border-color: #00cfd5 !important;
}
.py-10 {
padding-top: 6rem !important;
padding-bottom: 6rem !important;
}
/* wait autoprefixer update to allow simple generation of high pixel density media query */ /* wait autoprefixer update to allow simple generation of high pixel density media query */
@media only screen and (-webkit-min-device-pixel-ratio: 2), @media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2),
@ -21,3 +216,49 @@ Main page styles
background-size: contain; background-size: contain;
} }
} }
.icon-stack {
display: inline-flex;
justify-content: center;
align-items: center;
border-radius: 100%;
height: 2.5rem;
width: 2.5rem;
font-size: 1rem;
background-color: #f2f6fc;
flex-shrink: 0;
}
.icon-stack svg {
height: 1rem;
width: 1rem;
}
.icon-stack-sm {
height: 2rem;
width: 2rem;
}
.icon-stack-lg {
height: 4rem;
width: 4rem;
font-size: 1.5rem;
}
.icon-stack-lg svg {
height: 1.5rem;
width: 1.5rem;
}
.icon-stack-xl {
height: 5rem;
width: 5rem;
font-size: 1.75rem;
}
.icon-stack-xl svg {
height: 1.75rem;
width: 1.75rem;
}
.bg-gradient-primary-to-secondary {
background-color: #1c44b2 !important;
background-image: linear-gradient(135deg, #1c44b2 0%, #00b88d 100%) !important;
}

View File

@ -2,6 +2,7 @@ import { Component, OnInit, OnDestroy } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators'; import { takeUntil } from 'rxjs/operators';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { AccountService } from 'app/core/auth/account.service'; import { AccountService } from 'app/core/auth/account.service';
import { Account } from 'app/core/auth/account.model'; import { Account } from 'app/core/auth/account.model';
@ -16,7 +17,7 @@ export class HomeComponent implements OnInit, OnDestroy {
private readonly destroy$ = new Subject<void>(); private readonly destroy$ = new Subject<void>();
constructor(private accountService: AccountService, private router: Router) {} constructor(private accountService: AccountService, private router: Router, protected modalService: NgbModal) {}
ngOnInit(): void { ngOnInit(): void {
this.accountService this.accountService

View File

@ -4,9 +4,10 @@ import { RouterModule } from '@angular/router';
import { SharedModule } from 'app/shared/shared.module'; import { SharedModule } from 'app/shared/shared.module';
import { HOME_ROUTE } from './home.route'; import { HOME_ROUTE } from './home.route';
import { HomeComponent } from './home.component'; import { HomeComponent } from './home.component';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
@NgModule({ @NgModule({
imports: [SharedModule, RouterModule.forChild([HOME_ROUTE])], imports: [SharedModule, RouterModule.forChild([HOME_ROUTE]), FontAwesomeModule],
declarations: [HomeComponent], declarations: [HomeComponent],
}) })
export class HomeModule {} export class HomeModule {}

View File

@ -1,3 +1,7 @@
<div class="footer"> <div class="footer">
<p jhiTranslate="footer">This is your footer</p> <p jhiTranslate="footer">This is your footer</p>
<div>
<p>Hola</p>
</div>
</div> </div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB