diff --git a/apps/design-system/src/components/Atoms/Button/Button.tsx b/apps/design-system/src/components/Atoms/Button/Button.tsx index b76f18f2..c4ca9f40 100644 --- a/apps/design-system/src/components/Atoms/Button/Button.tsx +++ b/apps/design-system/src/components/Atoms/Button/Button.tsx @@ -53,8 +53,6 @@ const Button: FC = ({ }, } - // 'flex w-full items-center justify-center rounded-md border border-transparent bg-indigo-600 px-8 py-3 text-base font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-50' - const buttonView = isWorking ? : children return ( diff --git a/apps/envited.ascs.digital/app/assets/detail/page.tsx b/apps/envited.ascs.digital/app/assets/detail/page.tsx index 47460455..1e60685b 100644 --- a/apps/envited.ascs.digital/app/assets/detail/page.tsx +++ b/apps/envited.ascs.digital/app/assets/detail/page.tsx @@ -9,5 +9,3 @@ export default async function Index() { ) } - -export const dynamic = 'force-dynamic' diff --git a/apps/envited.ascs.digital/app/assets/page.tsx b/apps/envited.ascs.digital/app/assets/page.tsx index 52c28a7b..2b854161 100644 --- a/apps/envited.ascs.digital/app/assets/page.tsx +++ b/apps/envited.ascs.digital/app/assets/page.tsx @@ -9,5 +9,3 @@ export default async function Index() { ) } - -export const dynamic = 'force-dynamic' diff --git a/apps/envited.ascs.digital/common/constants/index.ts b/apps/envited.ascs.digital/common/constants/index.ts index 619b5839..bfd4a4eb 100644 --- a/apps/envited.ascs.digital/common/constants/index.ts +++ b/apps/envited.ascs.digital/common/constants/index.ts @@ -1,6 +1,6 @@ export { ERRORS } from './errors' export { RESPONSES } from './response' -export { NAVIGATION_DASHBOARD } from './navigations' +export { NAVIGATION, NAVIGATION_DASHBOARD } from './navigations' export const MINIMUM_PROFILE_REQUIREMENTS = ['name', 'category', 'logo', 'description'] export const RESTRICTED_PROFILE_FIELDS = ['principalName', 'principalPhone', 'principalEmail'] diff --git a/apps/envited.ascs.digital/common/constants/navigations.ts b/apps/envited.ascs.digital/common/constants/navigations.ts index 57d93ca7..0e61345f 100644 --- a/apps/envited.ascs.digital/common/constants/navigations.ts +++ b/apps/envited.ascs.digital/common/constants/navigations.ts @@ -1,5 +1,12 @@ import { ROUTES } from './routes' +export const NAVIGATION = [ + { name: 'Home', href: '/' }, + { name: 'Assets', href: '/assets' }, + { name: 'Members', href: '/members' }, + { name: 'Contact', href: '#' }, +] + export const NAVIGATION_DASHBOARD = [ { href: ROUTES.DASHBOARD.HOME, diff --git a/apps/envited.ascs.digital/modules/Footer/Footer.tsx b/apps/envited.ascs.digital/modules/Footer/Footer.tsx index b7f0891f..d064bbbb 100644 --- a/apps/envited.ascs.digital/modules/Footer/Footer.tsx +++ b/apps/envited.ascs.digital/modules/Footer/Footer.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'apps/envited.ascs.digital/common/i18n' import Image from 'next/image' -import { FC } from 'react' +import { FC, SVGProps } from 'react' export interface FooterProps {} @@ -20,7 +20,7 @@ const navigation = { { name: 'X', href: '#', - icon: (props: any) => ( + icon: (props: SVGProps) => ( @@ -29,7 +29,7 @@ const navigation = { { name: 'GitHub', href: '#', - icon: (props: any) => ( + icon: (props: SVGProps) => ( = () => { const { t } = useTranslation('Header') - const navigation = [ - { name: 'Home', href: '/' }, - { name: 'Assets', href: '/assets' }, - { name: 'Members', href: '/members' }, - { name: 'Contact', href: '#' }, - ] - return (
@@ -31,7 +23,7 @@ export const Header: FC = () => {
- {navigation.map(item => ( + {NAVIGATION.map(item => ( {item.name}