Skip to content

Commit bdf692c

Browse files
committed
fix(showcase): adjust showcase
1 parent 3be9f50 commit bdf692c

File tree

12 files changed

+52
-13
lines changed

12 files changed

+52
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Ng-sortgrid
66

7-
![Logo](https://raw.githubusercontent.com/kreuzerk/ng-sortgrid/master/projects/ng-sortgrid-demo/src/assets/logo-new.png)
7+
![Logo](https://raw.githubusercontent.com/kreuzerk/ng-sortgrid/master/projects/ng-sortgrid-demo/src/assets/ng-sortgrid-logo.png)
88

99
![Grid demo](https://raw.githubusercontent.com/kreuzerk/ng-sortgrid/master/projects/ng-sortgrid-demo/src/assets/grid-demo.gif)
1010

projects/ng-sortgrid-demo/src/app/app.component.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,18 @@
3636
justify-content: center;
3737
}
3838

39+
.btn {
40+
background: #c30230;
41+
font-size: 20px;
42+
border: 1px solid white;
43+
}
44+
45+
.btn:hover {
46+
color: #c30230;
47+
background: white;
48+
border: 1px solid #c30230;
49+
}
50+
51+
.border-primary {
52+
border-color: #c30230 !important;
53+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.header {
2+
background: #c30230;
3+
}

projects/ng-sortgrid-demo/src/app/shared/header/header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header class="bg-primary py-5 mb-5">
1+
<header class="header py-5 mb-5">
22
<div class="container h-100">
33
<div class="row h-100 align-items-center">
44
<div class="col-lg-12">

projects/ng-sortgrid-demo/src/app/shared/header/header.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import {Component} from '@angular/core';
22

33
@Component({
44
selector: 'ngsg-demo-header',
5-
templateUrl: 'header.component.html'
5+
templateUrl: 'header.component.html',
6+
styleUrls: ['./header.component.css']
67
})
78
export class HeaderComponent {
89
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.navbar {
2+
background: white;
3+
border-bottom: 1px solid #c30230;
4+
}
5+
6+
.logo {
7+
margin-top: 30px;
8+
width: 250px;
9+
height: 80px;
10+
}
11+
12+
.icon {
13+
color: #c30230;
14+
font-size: 40px;
15+
}

projects/ng-sortgrid-demo/src/app/shared/nav/nav.component.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"
1+
<nav class="navbar navbar-expand-lg navbar-dark"
22
[ngStyle]="{'height': height}"
33
[ngClass]="{'fixed-top': fixed}">
44
<div class="container">
5-
<a class="navbar-brand" href="#" style="font-size: 30px">ng-sortgrid <small *ngIf="subtitle">{{subtitle}}</small></a>
6-
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
5+
<a class="navbar-brand" href="#" style="font-size: 30px">
6+
<img class="logo" src="assets/ng-sortgrid-logo.png"/>
7+
<small *ngIf="subtitle">{{subtitle}}</small>
8+
</a>
9+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive"
10+
aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
711
<span class="navbar-toggler-icon"></span>
812
</button>
913
<div class="collapse navbar-collapse" id="navbarResponsive">
1014
<ul class="navbar-nav ml-auto">
1115
<li class="nav-item active">
12-
<a class="nav-link" href="https://twitter.com/KevinKreuzer90" target="_blank">
13-
<i class="fab fa-twitter fa-2x"></i>
16+
<a class="nav-link" href="https://twitter.com/kreuzercode" target="_blank">
17+
<i class="icon fab fa-twitter fa-2x"></i>
1418
</a>
1519
</li>
1620
<li class="nav-item">
1721
<a class="nav-link" href="https://github.com/kreuzerk/ng-sortgrid" target="_blank">
18-
<i class="fab fa-github fa-2x"></i>
22+
<i class="icon fab fa-github fa-2x"></i>
1923
</a>
2024
</li>
2125
</ul>

projects/ng-sortgrid-demo/src/app/shared/nav/nav.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import {Component, Input} from '@angular/core';
22

33
@Component({
44
selector: 'ngsg-demo-nav',
5-
templateUrl: './nav.component.html'
5+
templateUrl: './nav.component.html',
6+
styleUrls: ['./nav.component.css']
67
})
78
export class NavComponent {
89
@Input() fixed = false;
9-
@Input() height = '60px';
10+
@Input() height = '140px';
1011
@Input() subtitle;
1112
}
-40.5 KB
Binary file not shown.
-116 KB
Binary file not shown.

0 commit comments

Comments
 (0)