This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 55 import { fade , fly } from " svelte/transition" ;
66 import { Spring } from " svelte/motion" ;
77 import KuzuLogo from " $lib/components/KuzuLogo.svelte" ;
8+ import { page } from ' $app/stores' ;
89
910 let isMenuOpen = $state (false );
1011 let scrolled = $state (false );
12+ let isContactPage = $derived ($page .url .pathname === ' /contact' );
1113
1214 function handleScroll() {
1315 scrolled = window .scrollY > 0 ;
5759 <div
5860 class =" hidden md:flex items-center gap-4 flex-grow justify-end"
5961 >
60- <a href =" /contact"
61- rel =" noopener noreferrer"
62- class =" text-primary hover:text-foreground transition-colors" >Support & Consultancy</a
63- >
62+ {#if isContactPage }
63+ <a href =" /"
64+ rel =" noopener noreferrer"
65+ class =" text-primary hover:text-foreground transition-colors" >Home Page</a
66+ >
67+ {:else }
68+ <a href =" /contact"
69+ rel =" noopener noreferrer"
70+ class =" text-primary hover:text-foreground transition-colors" >Support & Consultancy</a
71+ >
72+ {/if }
6473 <a
6574 href =" https://demo.kuzudb.com"
6675 target =" _blank"
8594 class =" hover:text-primary transition-colors"
8695 >
8796 <i class =" fa-brands fa-github" ></i >
88- GitHub
97+ < span class = "transition-all duration-300" class:hidden ={ scrolled }> GitHub</ span >
8998 </a >
9099 <a
91100 href =" //kuzudb.com/chat"
94103 class =" hover:text-primary transition-colors"
95104 >
96105 <i class =" fa-brands fa-discord" ></i >
97- Discord
106+ < span class = "transition-all duration-300" class:hidden ={ scrolled }> Discord</ span >
98107 </a >
99108 <Button variant ="ghost" size ="icon" onclick ={toggleMode }>
100109 <Sun
Original file line number Diff line number Diff line change 6767 <h2 class =" text-3xl font-bold mb-12" >Support & Consultancy</h2 >
6868 <p class =" text-muted-foreground mb-12 max-w-2xl mx-auto" >
6969 Kùzu Inc. provides professional support and consultancy for using Kuzu
70- in <a class =" underline decoration-primary text-white " >agentic memory, graph AI</a > as well as other domains that use knowledge graphs.
70+ in <a class =" underline decoration-primary text-foreground " >agentic memory, graph AI</a > as well as other domains that use knowledge graphs.
7171 </p >
7272 <div
7373 class =" grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto"
You can’t perform that action at this time.
0 commit comments