diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 00000000..cbb4fd28
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,4 @@
+{
+ "typescript.tsdk": "node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib",
+ "editor.gotoLocation.multipleDefinitions": "goto"
+}
\ No newline at end of file
diff --git a/pkgs/luxdefi-ui/blocks/components/card-block.tsx b/pkgs/luxdefi-ui/blocks/components/card-block.tsx
index 595b7261..17372b84 100644
--- a/pkgs/luxdefi-ui/blocks/components/card-block.tsx
+++ b/pkgs/luxdefi-ui/blocks/components/card-block.tsx
@@ -10,13 +10,11 @@ import {
CardFooter,
CardHeader,
CardTitle,
+ LinkElement,
type TypographySize
} from '../../primitives'
-import {
- Icons,
- LinkElement
-} from '../../common'
+import { Icons } from '../../common'
import {
getSpecifierData,
diff --git a/pkgs/luxdefi-ui/blocks/components/cta-block.tsx b/pkgs/luxdefi-ui/blocks/components/cta-block.tsx
index 37da8004..92f00cf7 100644
--- a/pkgs/luxdefi-ui/blocks/components/cta-block.tsx
+++ b/pkgs/luxdefi-ui/blocks/components/cta-block.tsx
@@ -1,8 +1,7 @@
import React from 'react'
import type { LinkDef, ButtonDef} from '../../types'
-import type { ButtonSizes } from '../../primitives'
-import { ActionButton, LinkElement } from '../../common'
+import { type ButtonSizes, ActionButton, LinkElement } from '../../primitives'
import type { Block, CTABlock } from '../def'
const CtaBlockComponent: React.FC<{
diff --git a/pkgs/luxdefi-ui/common/copyright.tsx b/pkgs/luxdefi-ui/common/copyright.tsx
index d15e3997..f06ac7ef 100644
--- a/pkgs/luxdefi-ui/common/copyright.tsx
+++ b/pkgs/luxdefi-ui/common/copyright.tsx
@@ -1,9 +1,11 @@
import React from 'react'
+const FIRST = 2023
+
const Copyright: React.FC = () => {
const year = new Date().getFullYear()
- const yearString = (year > 2023) ? `2023 - ${year}` : '2023'
+ const yearString = (year > FIRST) ? `${FIRST} - ${year}` : FIRST.toString()
return (
<>{`Copyright © ${yearString} Lux Partners Ltd. `}
All rights reserved.>
diff --git a/pkgs/luxdefi-ui/common/footer.tsx b/pkgs/luxdefi-ui/common/footer.tsx
index c26d9543..30516a8d 100644
--- a/pkgs/luxdefi-ui/common/footer.tsx
+++ b/pkgs/luxdefi-ui/common/footer.tsx
@@ -1,17 +1,17 @@
import React from 'react'
import type { ButtonVariants } from '../primitives'
-import type { LinkDef, SiteConf } from '../types'
+import type { LinkDef, SiteDef } from '../types'
import { Copyright, NavItems } from '../common'
import Logo from './logo'
const Footer: React.FC<{
- conf: SiteConf,
+ siteDef: SiteDef,
className?: string,
noHorizPadding?: boolean
}> = ({
- conf,
+ siteDef,
className='',
noHorizPadding=false
}) => (
@@ -23,26 +23,29 @@ const Footer: React.FC<{
'md:w-full md:mx-0 ' +
'lg:flex lg:flex-row lg:justify-between lg:gap-8 lg:w-full' +
'max-w-screen-2xl ' +
- `lg:columns-${conf.footer.length + 1}` // must safelist these! see tailwind docs
+ `lg:columns-${siteDef.footer.length + 1}` // must safelist these! see tailwind docs
}>