Skip to content

Commit f5b1099

Browse files
committed
dev: brand footer
1 parent 2a14e2e commit f5b1099

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

projects/ngxe/src/app/app.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ <h1 class="title">{{ project.data.config.name }}</h1>
4444
[table]="project.table"
4545
class="table"
4646
>
47+
Crafted by Oleksa Novyk.
48+
<a href="https://github.com/navix/ngxe" target="_blank">GitHub</a>.
4749
</app-table>
4850
</ng-container>

projects/ngxe/src/app/app.component.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
--row-deleted-hover: #f6cfdc;
1414
--row-new: #d6ffd6;
1515
--row-new-hover: #bff3bf;
16+
--link: #26c7f1;
1617
}
1718
&.-solar {
1819
--background: #fdf6e3;
@@ -28,6 +29,7 @@
2829
--row-deleted-hover: #f6cfdc;
2930
--row-new: #d6ffd6;
3031
--row-new-hover: #bff3bf;
32+
--link: #26c7f1;
3133
}
3234
&.-dark {
3335
--background: #292c32;
@@ -43,6 +45,7 @@
4345
--row-deleted-hover: linear-gradient(110deg, rgb(191 36 36 / 45%) 0%, rgba(0, 255, 226, 0) 100%);
4446
--row-new: linear-gradient(110deg, rgb(70 206 82 / 35%) 0%, rgba(0, 255, 226, 0) 100%);
4547
--row-new-hover: linear-gradient(110deg, rgb(70 206 82 / 40%) 0%, rgba(0, 255, 226, 0) 100%);
48+
--link: #26c7f1;
4649
}
4750
}
4851

@@ -92,3 +95,7 @@
9295
.table {
9396
flex-grow: 1;
9497
}
98+
99+
a {
100+
color: var(--link);
101+
}

projects/ngxe/src/app/table/table.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ <h5>Suggestions</h5>
9191
</div>
9292

9393
<div class="footer">
94+
<div class="proj">
95+
<ng-content></ng-content>
96+
</div>
9497
<div class="paginator">
9598
<div class="per-page-selector">
9699
<label>

projects/ngxe/src/app/table/table.component.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,16 @@
111111
}
112112

113113
.footer {
114+
align-items: center;
114115
border-top: 2px solid var(--border-2);
115116
display: flex;
116117
flex-flow: row;
117118
flex-shrink: 0;
118-
justify-content: flex-end;
119119
padding: .5rem 1rem;
120+
.proj {
121+
flex-grow: 1;
122+
font-size: .75rem;
123+
}
120124
.paginator {
121125
align-items: center;
122126
display: flex;

0 commit comments

Comments
 (0)