Skip to content

Commit

Permalink
chore: remove redirect to 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
huongnguyenduc committed Mar 20, 2024
1 parent 11b8dff commit c16d55d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion app/(routes)/_components/dag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export function Dag() {
/>
))}

<Link href={"/404"} passHref>
<Link href={"/"} passHref>
<SolarNavigate
className={
"text-lg lg:text-xl xl:text-[21px] 3xl:text-2xl text-neutral-1 absolute lg:-bottom-[80px] -bottom-[110px]"
Expand Down
2 changes: 1 addition & 1 deletion app/(routes)/_components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function Header({
"flex gap-3 sm:gap-4 md:gap-5 lg:gap-8 xl:gap-6 2xl:gap-[38px] 3xl:gap-[46px] items-center"
}
>
<Link href={"/404"}>
<Link href={"/"}>
<button
className={cn(
"3xl:px-8 2xl:px-6 hover:shadow-button-hover !leading-snug transition-all rounded-xl active:bg-neutral-12 px-2 sm:px-4 md:px-5 3xl:py-3 xl:py-[10px] py-[5px] [border-image-slice:7] md:[border-image-slice:6] sm:[border-image-slice:8] [border-image-width:4px] sm:[border-image-width:5px] [border-image-repeat:round] [border-image-source:url(/icon/border-gradient.svg)] font-medium 3xl:font-semibold text-sm sm:text-base3xl:text-lg text-white border-2 flex gap-2 sm:gap-2.5 md:gap-4 lg:gap-6 2xl:gap-7 3xl:gap-8 items-center",
Expand Down
2 changes: 1 addition & 1 deletion app/(routes)/_components/header/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function Sidebar({
</Link>

<div className={"flex gap-3 sm:gap-4 md:gap-6 lg:gap-8 items-center"}>
<Link href={"/404"}>
<Link href={"/"}>
<button
className={cn(
"xl:px-8 hover:shadow-button-hover transition-all rounded-xl active:bg-neutral-12 active:shadow-button-active px-2 sm:px-4 md:px-6 xl:py-3 py-[5px] [border-image-slice:6] sm:[border-image-slice:5] [border-image-width:4px] sm:[border-image-width:5px] [border-image-repeat:round] [border-image-source:url(/icon/border-gradient.svg)] font-bold text-sm sm:text-base md:text-lg text-white border-2 flex gap-2 sm:gap-2.5 items-center",
Expand Down
2 changes: 1 addition & 1 deletion app/(routes)/_components/permisstionless/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export function Permissionless({ className }: permissionlessProps) {
delay: 0.1,
}}
>
<Link href={"/404"} passHref>
<Link href={"/"} passHref>
<SolarNavigate
className={"text-lg lg:text-xl xl:text-2xl text-neutral-1"}
large
Expand Down
36 changes: 18 additions & 18 deletions lib/constants/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ export const FooterContent: FooterContent[] = [
links: [
{
name: "consensus",
link: "/404",
link: "/",
},
{
name: "interoperable layer",
link: "/404",
link: "/",
},
{
name: "EVM compatibility",
link: "/404",
link: "/",
},
{
name: "network scan",
link: "/404",
link: "/",
},
],
},
Expand All @@ -41,19 +41,19 @@ export const FooterContent: FooterContent[] = [
links: [
{
name: "decentralized API's",
link: "/404",
link: "/",
},
{
name: "wallet",
link: "/404",
link: "/",
},
{
name: "bridge",
link: "/404",
link: "/",
},
{
name: "RWA protocol",
link: "/404",
link: "/",
},
],
},
Expand All @@ -62,19 +62,19 @@ export const FooterContent: FooterContent[] = [
links: [
{
name: "get started",
link: "/404",
link: "/",
},
{
name: "docs",
link: "/404",
link: "/",
},
{
name: "examples & tutorials",
link: "/404",
link: "/",
},
{
name: "grants",
link: "/404",
link: "/",
},
],
},
Expand All @@ -83,27 +83,27 @@ export const FooterContent: FooterContent[] = [
links: [
{
name: "governance",
link: "/404",
link: "/",
},
{
name: "social",
link: "/404",
link: "/",
},
{
name: "blog",
link: "/404",
link: "/",
},
{
name: "whitepaper",
link: "/404",
link: "/",
},
{
name: "careers",
link: "/404",
link: "/",
},
{
name: "contact us",
link: "/404",
link: "/",
},
],
},
Expand Down

0 comments on commit c16d55d

Please sign in to comment.