Skip to content

Commit dec9256

Browse files
committed
Improved app-bar button styling
1 parent 9da0e4c commit dec9256

File tree

4 files changed

+27
-40
lines changed

4 files changed

+27
-40
lines changed

src/components/app-bar/app-bar.component.html

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818

1919
<!-- Buttons -->
2020
<div class="flex gap-3 items-center">
21-
<div class="text-primary text-sm">My Websites</div>
22-
<div class="flex gap-3 border border-tertiary rounded-md px-2 py-1">
21+
<div class="flex gap-1 items-center border border-tertiary rounded-md px-2 py-1">
22+
<div class="text-primary text-sm">My Websites</div>
23+
2324
<!-- Resume Button -->
24-
<button title="My Resume">
25+
<button title="My Resume" class="p-1 rounded-md hover:bg-slate-600">
2526
<a href="https://www.resume.kennethmead.dev" target="_blank">
2627
<svg
2728
xmlns="http://www.w3.org/2000/svg"
@@ -38,7 +39,7 @@
3839
</button>
3940

4041
<!-- Color Slicer Button -->
41-
<button title="Color Slicer">
42+
<button title="Color Slicer" class="p-1 rounded-md hover:bg-slate-600">
4243
<a href="https://www.color-slicer.kennethmead.dev" target="_blank">
4344
<svg
4445
xmlns="http://www.w3.org/2000/svg"
@@ -55,7 +56,7 @@
5556
</button>
5657

5758
<!-- Bitbucket button -->
58-
<button title="Bitbucket Dashboard">
59+
<button title="Bitbucket Dashboard" class="p-1 rounded-md hover:bg-slate-600">
5960
<a
6061
href="https://www.bitbucket-dashboard.kennethmead.dev"
6162
target="_blank"
@@ -111,25 +112,27 @@
111112
</a>
112113
</button>
113114

114-
<!-- Github Button -->
115-
<button title="My Github">
116-
<a href="https://github.com/xerner" target="_blank">
117-
<svg
118-
width="1.25em"
119-
height="1.25em"
120-
viewBox="0 0 96 96"
121-
xmlns="http://www.w3.org/2000/svg"
122-
>
123-
<path
124-
fill-rule="evenodd"
125-
clip-rule="evenodd"
126-
d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
127-
fill="#fff"
128-
/>
129-
</svg>
130-
</a>
131-
</button>
132115
</div>
116+
117+
<!-- Github Button -->
118+
<button title="My Github" class="p-1 rounded-md hover:bg-slate-600">
119+
<a href="https://github.com/xerner" target="_blank">
120+
<svg
121+
width="1.25em"
122+
height="1.25em"
123+
viewBox="0 0 96 96"
124+
xmlns="http://www.w3.org/2000/svg"
125+
>
126+
<path
127+
fill-rule="evenodd"
128+
clip-rule="evenodd"
129+
d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
130+
fill="#fff"
131+
/>
132+
</svg>
133+
</a>
134+
</button>
135+
133136
<app-hamborger
134137
[isOpen]="isAccordionOpen()"
135138
(click)="onHamburgerClick()"

src/components/app-bar/website/website.component.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/app-bar/website/website.component.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/components/hamborger/hamborger.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Hamborger -->
22
<button
3-
class="p-2 border-primary rounded-lg border border-tertiary transition-transform"
3+
class="p-2 border-primary rounded-lg border border-tertiary transition-transform hover:bg-slate-600"
44
(click)="click"
55
>
66
<svg

0 commit comments

Comments
 (0)