Skip to content

Commit 336ee4a

Browse files
committed
feat: Add portfolio and npm links to header and footer
- Add ishansasika.dev link in footer author attribution - Add npm package icon link in header navigation - Add npm link to mobile menu
1 parent b8970c8 commit 336ee4a

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

demo/src/app/components/common/footer/footer.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h3 class="footer-title">Resources</h3>
5252
</div>
5353

5454
<div class="footer-bottom">
55-
<p>&copy; {{currentYear}} Angular Perfect Select. Built by Ishan Karunaratne.</p>
55+
<p>&copy; {{currentYear}} Angular Perfect Select. Built by <a href="https://ishansasika.dev" target="_blank" rel="noopener noreferrer" class="footer-link">Ishan Karunaratne</a>.</p>
5656
</div>
5757
</div>
5858
</footer>

demo/src/app/components/common/header/header.component.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@
3636
</svg>
3737
</button>
3838

39+
<!-- NPM Link -->
40+
<a
41+
href="https://www.npmjs.com/package/angular-perfect-select"
42+
target="_blank"
43+
rel="noopener noreferrer"
44+
class="github-link"
45+
aria-label="NPM package"
46+
>
47+
<svg class="github-icon" fill="currentColor" viewBox="0 0 24 24">
48+
<path d="M0 7.334v8h6.666v1.332H12v-1.332h12v-8H0zm6.666 6.664H5.334v-4H3.999v4H1.335V8.667h5.331v5.331zm4 0v1.336H8.001V8.667h5.334v5.332h-2.669v-.001zm12.001 0h-1.33v-4h-1.336v4h-1.335v-4h-1.33v4h-2.671V8.667h8.002v5.331zM10.665 10H12v2.667h-1.335V10z"/>
49+
</svg>
50+
</a>
51+
3952
<!-- GitHub Link -->
4053
<a
4154
href="https://github.com/ishansasika/angular-perfect-select"
@@ -68,6 +81,14 @@
6881
{{item.label}}
6982
</a>
7083
}
84+
<a
85+
href="https://www.npmjs.com/package/angular-perfect-select"
86+
target="_blank"
87+
rel="noopener noreferrer"
88+
class="mobile-nav-link"
89+
>
90+
NPM
91+
</a>
7192
<a
7293
href="https://github.com/ishansasika/angular-perfect-select"
7394
target="_blank"

0 commit comments

Comments
 (0)