Skip to content

Commit 00ecded

Browse files
committed
fix: enable smooth anchor scrolling and update contact email
1 parent a3dda29 commit 00ecded

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

src/app/globals.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
@import "tailwindcss";
22

3+
html {
4+
scroll-behavior: smooth;
5+
}
6+
37
:root {
48
--bg-color: #050507;
59
--text-color: #e0e0e0;
@@ -308,6 +312,10 @@ h3 {
308312
}
309313

310314
@media (prefers-reduced-motion: reduce) {
315+
html {
316+
scroll-behavior: auto;
317+
}
318+
311319
.back-to-top,
312320
.back-to-top__arrow {
313321
animation: none;

src/components/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default function Header() {
3333
))}
3434
<li>
3535
<Link
36-
href="mailto:hello@liminalhq.ca"
36+
href="mailto:contact@liminalhq.ca"
3737
className="relative text-[0.95rem] font-medium text-[#9ca3af] transition-all duration-200 hover:text-white hover:shadow-[0_0_8px_rgba(255,255,255,0.5)]"
3838
>
3939
Contact

0 commit comments

Comments
 (0)