This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon-website.git
The following commit(s) were added to refs/heads/master by this push:
new 0d254910c7 fix: downloads and releases links mobile device (#11)
0d254910c7 is described below
commit 0d254910c7c61c0f68a7d436b7416170620018e3
Author: Laffery <[email protected]>
AuthorDate: Thu Nov 7 22:12:06 2024 +0800
fix: downloads and releases links mobile device (#11)
---
src/app/components/header/header.component.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/app/components/header/header.component.html
b/src/app/components/header/header.component.html
index 42b88dc441..18fb964b98 100644
--- a/src/app/components/header/header.component.html
+++ b/src/app/components/header/header.component.html
@@ -200,7 +200,7 @@
</li>
<li class="hover:bg-paimon-gray-12">
<a
- href="https://paimon.apache.org/downloads.html"
+ [routerLink]="['/', 'downloads']"
class="flex h-10 w-full items-center justify-start px-8
no-underline hover:text-paimon-text-hover"
translate
>
@@ -209,7 +209,11 @@
</li>
<li class="hover:bg-paimon-gray-12">
<a
- href="https://paimon.apache.org/release-0.9.html"
+ [routerLink]="
+ latestReleaseVersion
+ ? ['/', 'releases', latestReleaseVersion]
+ : ['/', 'releases']
+ "
class="flex h-10 w-full items-center justify-start px-8
no-underline hover:text-paimon-text-hover"
translate
>