11import { Box , css , Flex , Image , Text , VStack } from '@devup-ui/react'
22import Link from 'next/link'
33
4- import { URL_PREFIX } from '../constants'
5-
64export function Footer ( ) {
75 return (
86 < Box as = "footer" bg = "$footerBg" px = "16px" py = { [ '30px' , '60px' ] } >
@@ -15,7 +13,7 @@ export function Footer() {
1513 < VStack flex = "1" gap = { [ 1 , 0 ] } >
1614 < Link
1715 className = { css ( { textDecoration : 'none' } ) }
18- href = { URL_PREFIX + ' /docs/overview' }
16+ href = " /docs/overview"
1917 >
2018 < Text color = "$footerTitle" typography = "buttonS" >
2119 Docs
@@ -24,7 +22,7 @@ export function Footer() {
2422 < VStack gap = "14px" >
2523 < Link
2624 className = { css ( { textDecoration : 'none' } ) }
27- href = { URL_PREFIX + ' /docs/overview' }
25+ href = " /docs/overview"
2826 >
2927 < Text color = "$footerText" typography = "footerMenu" >
3028 Overview
@@ -33,31 +31,31 @@ export function Footer() {
3331
3432 < Link
3533 className = { css ( { textDecoration : 'none' } ) }
36- href = { URL_PREFIX + ' /docs/installation' }
34+ href = " /docs/installation"
3735 >
3836 < Text color = "$footerText" typography = "footerMenu" >
3937 Installation
4038 </ Text >
4139 </ Link >
4240 < Link
4341 className = { css ( { textDecoration : 'none' } ) }
44- href = { URL_PREFIX + ' /docs/features' }
42+ href = " /docs/features"
4543 >
4644 < Text color = "$footerText" typography = "footerMenu" >
4745 Features
4846 </ Text >
4947 </ Link >
5048 < Link
5149 className = { css ( { textDecoration : 'none' } ) }
52- href = { URL_PREFIX + ' /docs/api/box' }
50+ href = " /docs/api/box"
5351 >
5452 < Text color = "$footerText" typography = "footerMenu" >
5553 API
5654 </ Text >
5755 </ Link >
5856 < Link
5957 className = { css ( { textDecoration : 'none' } ) }
60- href = { URL_PREFIX + ' /docs/devup/devup-json' }
58+ href = " /docs/devup/devup-json"
6159 >
6260 < Text color = "$footerText" typography = "footerMenu" >
6361 Devup
@@ -66,10 +64,7 @@ export function Footer() {
6664 </ VStack >
6765 </ VStack >
6866 < VStack flex = "1" gap = "20px" >
69- < Link
70- className = { css ( { textDecoration : 'none' } ) }
71- href = { URL_PREFIX + '/team' }
72- >
67+ < Link className = { css ( { textDecoration : 'none' } ) } href = "/team" >
7368 < Text color = "$footerTitle" typography = "buttonS" >
7469 Team
7570 </ Text >
@@ -81,10 +76,10 @@ export function Footer() {
8176 flexDir = { [ 'column' , 'row' ] }
8277 justifyContent = "space-between"
8378 >
84- < Link href = { URL_PREFIX + '/' } >
79+ < Link href = "/" >
8580 < Image
8681 alt = "white-logo"
87- src = { URL_PREFIX + ' /white-logo.svg' }
82+ src = " /white-logo.svg"
8883 w = { [ '164px' , '204px' ] }
8984 />
9085 </ Link >
0 commit comments