From c1888ca3a03fd92d2852164bb81c9d64260b32f9 Mon Sep 17 00:00:00 2001 From: Marcin Ciarka Date: Thu, 20 Jun 2024 12:51:03 +0200 Subject: [PATCH] Update Protocol Litepaper reference in ClaimedPage and LaunchBanner components --- apps/rays-dashboard/app/claimed/page.tsx | 2 +- .../components/layout/MasterPage/MasterPage.tsx | 4 ++-- .../LaunchBanner.module.scss} | 0 .../LaunchBanner.module.scss.d.ts} | 0 .../LaunchBanner.tsx} | 9 ++++----- packages/app-ui/src/index.ts | 2 +- 6 files changed, 8 insertions(+), 9 deletions(-) rename packages/app-ui/src/components/organisms/{TokenLaunchBanner/TokensLaunchBanner.module.scss => LaunchBanner/LaunchBanner.module.scss} (100%) rename packages/app-ui/src/components/organisms/{TokenLaunchBanner/TokensLaunchBanner.module.scss.d.ts => LaunchBanner/LaunchBanner.module.scss.d.ts} (100%) rename packages/app-ui/src/components/organisms/{TokenLaunchBanner/TokenLaunchBanner.tsx => LaunchBanner/LaunchBanner.tsx} (70%) diff --git a/apps/rays-dashboard/app/claimed/page.tsx b/apps/rays-dashboard/app/claimed/page.tsx index 5a0a3d9627..44f3d02e98 100644 --- a/apps/rays-dashboard/app/claimed/page.tsx +++ b/apps/rays-dashboard/app/claimed/page.tsx @@ -40,7 +40,7 @@ export default async function ClaimedPage({ searchParams }: ClaimedPageProps) { {userRays.rays.eligiblePoints.toFixed(0)} $RAYS - Something about points and token launch here. Remod user why they want points + Something about points and Protocol Litepaper here. Remod user why they want points )} diff --git a/apps/rays-dashboard/components/layout/MasterPage/MasterPage.tsx b/apps/rays-dashboard/components/layout/MasterPage/MasterPage.tsx index 53e0bea1c9..b67bab929a 100644 --- a/apps/rays-dashboard/components/layout/MasterPage/MasterPage.tsx +++ b/apps/rays-dashboard/components/layout/MasterPage/MasterPage.tsx @@ -1,5 +1,5 @@ import { FC, PropsWithChildren } from 'react' -import { Footer, TokenLaunchBanner } from '@summerfi/app-ui' +import { Footer, LaunchBanner } from '@summerfi/app-ui' import Image from 'next/image' import { NavigationWrapper } from '@/components/layout/Navigation/NavigationWrapper' @@ -24,7 +24,7 @@ export const MasterPage: FC> = async ({ return ( <> - +
{ diff --git a/packages/app-ui/src/components/organisms/TokenLaunchBanner/TokensLaunchBanner.module.scss b/packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.module.scss similarity index 100% rename from packages/app-ui/src/components/organisms/TokenLaunchBanner/TokensLaunchBanner.module.scss rename to packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.module.scss diff --git a/packages/app-ui/src/components/organisms/TokenLaunchBanner/TokensLaunchBanner.module.scss.d.ts b/packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.module.scss.d.ts similarity index 100% rename from packages/app-ui/src/components/organisms/TokenLaunchBanner/TokensLaunchBanner.module.scss.d.ts rename to packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.module.scss.d.ts diff --git a/packages/app-ui/src/components/organisms/TokenLaunchBanner/TokenLaunchBanner.tsx b/packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.tsx similarity index 70% rename from packages/app-ui/src/components/organisms/TokenLaunchBanner/TokenLaunchBanner.tsx rename to packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.tsx index c12e27fa3d..19e273d264 100644 --- a/packages/app-ui/src/components/organisms/TokenLaunchBanner/TokenLaunchBanner.tsx +++ b/packages/app-ui/src/components/organisms/LaunchBanner/LaunchBanner.tsx @@ -3,11 +3,10 @@ import Link from 'next/link' import { Text } from '@/components/atoms/Text/Text' import { CountDown } from '@/components/organisms/CountDown/CountDown' -import classNames from '@/components/organisms/TokenLaunchBanner/TokensLaunchBanner.module.scss' +import classNames from '@/components/organisms/LaunchBanner/LaunchBanner.module.scss' -export const TokenLaunchBanner = () => { - // TODO update once date will be known - const futureTimestamp = '2024-12-25T00:00:00' +export const LaunchBanner = () => { + const futureTimestamp = '2024-07-24T16:00:00-02:00' return (
@@ -16,7 +15,7 @@ export const TokenLaunchBanner = () => { DeFi is about to get a lot easier - Summer.fi Token launch 👉 + Protocol Litepaper Release 👉 Read announcement → diff --git a/packages/app-ui/src/index.ts b/packages/app-ui/src/index.ts index bd577e3938..72ad163ddd 100644 --- a/packages/app-ui/src/index.ts +++ b/packages/app-ui/src/index.ts @@ -23,7 +23,7 @@ export { BannerCard } from './components/molecules/BannerCard/BannerCard' export { Dial } from './components/molecules/Dial/Dial' export { Table } from './components/molecules/Table/Table' -export { TokenLaunchBanner } from './components/organisms/TokenLaunchBanner/TokenLaunchBanner' +export { LaunchBanner } from './components/organisms/LaunchBanner/LaunchBanner' export { CountDownBanner } from './components/organisms/CountDownBanner/CountDownBanner' export { Footer } from './components/layout/Footer/Footer'