Skip to content

Commit

Permalink
feat(): add shop to the navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Feb 13, 2020
1 parent c082b90 commit 840b757
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/homepage/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@
>Our website</a
>
</li>
<li class="shop-link">
<a
href="https://nestjs.threadless.com/"
target="_blank"
title="Shop | NestJS - A node.js framework built on top of TypeScript"
>Shop</a
>
</li>
<li>
<a
href="https://courses.nestjs.com"
Expand Down
6 changes: 6 additions & 0 deletions src/app/homepage/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -377,3 +377,9 @@ header {
transform: rotate(-45deg) translateY(3px);
}
}

@media (max-width: 1300px) {
.shop-link {
display: none !important;
}
}
4 changes: 4 additions & 0 deletions src/app/homepage/menu/menu.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ export class MenuComponent implements OnInit {
isOpened: false,
path: '/support',
},
{
title: 'T-Shirts and Accessories',
externalUrl: 'https://nestjs.threadless.com/',
},
];

constructor(
Expand Down

0 comments on commit 840b757

Please sign in to comment.