Skip to content

Commit bda01cf

Browse files
chore: add new span to devtools in menu
1 parent b63cff1 commit bda01cf

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/app/homepage/header/header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
href="https://devtools.nestjs.com"
7272
target="_blank"
7373
title="Devtools | NestJS - A node.js framework built on top of TypeScript">
74-
Devtools</a>
74+
<span class="new">NEW</span> Devtools</a>
7575
</li>
7676
<li>
7777
<a

src/app/homepage/header/header.component.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@
3434
}
3535
}
3636

37+
.new {
38+
background: #232323;
39+
color: #ea2845;
40+
border: 1px solid #ea2845;
41+
font-size: 11px;
42+
padding: 2px 4px;
43+
border-radius: 2px;
44+
margin-right: 2px;
45+
}
46+
3747
header {
3848
display: block;
3949
position: relative;

0 commit comments

Comments
 (0)