From 32b43ffc6f436ec76c0a1194d7344b8bb39397d6 Mon Sep 17 00:00:00 2001 From: Barbara Honhoff Date: Fri, 28 Jun 2024 13:56:52 +0200 Subject: [PATCH] Bump applications from alpha to beta --- .../src/app/[locale]/layout.tsx | 3 --- apps/researcher/src/app/[locale]/layout.tsx | 4 ---- apps/researcher/src/components/navigation.tsx | 2 +- packages/ui/index.tsx | 1 - packages/ui/wip-message.tsx | 23 ------------------- 5 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 packages/ui/wip-message.tsx diff --git a/apps/dataset-browser/src/app/[locale]/layout.tsx b/apps/dataset-browser/src/app/[locale]/layout.tsx index 7e5fe073c..c05894907 100644 --- a/apps/dataset-browser/src/app/[locale]/layout.tsx +++ b/apps/dataset-browser/src/app/[locale]/layout.tsx @@ -2,13 +2,11 @@ import '../globals.css'; import {ReactNode} from 'react'; import Navigation from './navigation'; import {NextIntlClientProvider, useMessages, useTranslations} from 'next-intl'; -import {WipMessage} from '@colonial-collections/ui'; import { ListProvider, defaultSortBy, defaultLimit, } from '@colonial-collections/list-store'; -import {Link} from '@/navigation'; interface Props { children: ReactNode; @@ -24,7 +22,6 @@ export default function RootLayout({children, params: {locale}}: Props) { -
  • diff --git a/apps/researcher/src/app/[locale]/layout.tsx b/apps/researcher/src/app/[locale]/layout.tsx index 1a9982109..b616e9f1d 100644 --- a/apps/researcher/src/app/[locale]/layout.tsx +++ b/apps/researcher/src/app/[locale]/layout.tsx @@ -5,8 +5,6 @@ import {NextIntlClientProvider} from 'next-intl'; import {ClerkProvider} from '@clerk/nextjs'; import {getTranslations} from 'next-intl/server'; import Navigation from '@/components/navigation'; -import {WipMessage} from '@colonial-collections/ui'; -import {Link} from '@/navigation'; import {env} from 'node:process'; import AuthHealthCheck from '@/lib/auth-health-check'; import Footer from '@/components/footer'; @@ -48,8 +46,6 @@ export default async function RootLayout({children, params: {locale}}: Props) {
    - -
    • diff --git a/apps/researcher/src/components/navigation.tsx b/apps/researcher/src/components/navigation.tsx index 842378031..04d025e31 100644 --- a/apps/researcher/src/components/navigation.tsx +++ b/apps/researcher/src/components/navigation.tsx @@ -7,7 +7,7 @@ import {UserButton, SignInButton, SignedOut} from '@clerk/nextjs'; import SignedIn from '@/lib/community/signed-in'; import {ConsortiumLogo} from '@colonial-collections/ui/branding'; import {NavigationMenu} from '@colonial-collections/ui'; -import logoImage from '@colonial-collections/ui/branding/logo-colonial-collections-datahub-alpha.png'; +import logoImage from '@colonial-collections/ui/branding/logo-colonial-collections-datahub-beta.png'; import {useMemo} from 'react'; import ToFilteredListButton from './to-filtered-list-button'; import {encodeRouteSegment} from '@/lib/clerk-route-segment-transformer'; diff --git a/packages/ui/index.tsx b/packages/ui/index.tsx index 09e2c7642..293292c14 100644 --- a/packages/ui/index.tsx +++ b/packages/ui/index.tsx @@ -2,7 +2,6 @@ export * from './badge'; export * from './page'; export * from './localized-markdown'; export * from './small-screen-sub-menu'; -export * from './wip-message'; export * from './slide-over'; export * from './slide-out'; export * from './notifications'; diff --git a/packages/ui/wip-message.tsx b/packages/ui/wip-message.tsx deleted file mode 100644 index 6520050fd..000000000 --- a/packages/ui/wip-message.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import {ExclamationTriangleIcon} from '@heroicons/react/24/outline'; -import {useTranslations} from 'next-intl'; -import {ElementType} from 'react'; - -interface Props { - Link: ElementType; -} - -export function WipMessage({Link}: Props) { - const t = useTranslations('WorkInProgress'); - - return ( -
      - - - {t('message')} - - - {t('roadmapLink')} - -
      - ); -}