Skip to content

Commit

Permalink
Update - CRM - CRMKanban
Browse files Browse the repository at this point in the history
- fix css issue

Added Geist font to NextCRM
  • Loading branch information
pdovhomilja committed Nov 2, 2023
1 parent 2bf2b1b commit 3ea52b4
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const CRMKanban = ({
<Card
{...provided.droppableProps}
ref={provided.innerRef}
className="mx-1 w-full min-w-[300px] overflow-hidden"
className="mx-1 w-full min-w-[300px] overflow-hidden pb-10"
>
<CardTitle className="flex gap-2 p-3 justify-between">
<span className="text-sm font-bold">{stage.name}</span>
Expand Down
24 changes: 14 additions & 10 deletions app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import "./globals.css";

import { Inter } from "next/font/google";
import { ReactNode } from 'react';
import { notFound } from 'next/navigation';
import { createTranslator, NextIntlClientProvider } from 'next-intl';
import { GeistSans, GeistMono } from "geist/font";

import { ReactNode } from "react";
import { notFound } from "next/navigation";
import { createTranslator, NextIntlClientProvider } from "next-intl";

import { Toaster } from "@/components/ui/toaster";
import { ThemeProvider } from "@/app/providers/ThemeProvider";
Expand All @@ -11,7 +14,7 @@ const inter = Inter({ subsets: ["latin"] });

type Props = {
children: ReactNode;
params: {locale: string};
params: { locale: string };
};

async function getLocales(locale: string) {
Expand All @@ -22,25 +25,26 @@ async function getLocales(locale: string) {
}
}

export async function generateMetadata({params: {locale}}: Props) {
export async function generateMetadata({ params: { locale } }: Props) {
const messages = await getLocales(locale);

const t = createTranslator({locale, messages});
const t = createTranslator({ locale, messages });

return {
title: t('RootLayout.title'),
description: t('RootLayout.description')
title: t("RootLayout.title"),
description: t("RootLayout.description"),
};
}

export default async function RootLayout({
children,
params: {locale}
params: { locale },
}: Props) {
const messages = await getLocales(locale);

return (
<html lang={locale}>
{/* <body className={inter.className + "h-screen overflow-hidden"}> */}
<body className={inter.className + "h-screen overflow-hidden"}>
<NextIntlClientProvider locale={locale} messages={messages}>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
Expand All @@ -51,4 +55,4 @@ export default async function RootLayout({
</body>
</html>
);
}
}
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"encoding": "^0.1.13",
"eslint": "8.44.0",
"eslint-config-next": "13.4.8",
"geist": "^1.0.0",
"lucide-react": "^0.258.0",
"moment": "^2.29.4",
"next": "13.4.8",
Expand Down

6 comments on commit 3ea52b4

@vercel
Copy link

@vercel vercel bot commented on 3ea52b4 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-others – ./

nextcrm-others-e-osvc.vercel.app
nextcrm-others-git-main-e-osvc.vercel.app
others.nextcrm.io

@vercel
Copy link

@vercel vercel bot commented on 3ea52b4 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3ea52b4 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-demo – ./

nextcrm-demo-e-osvc.vercel.app
nextcrm-demo-git-main-e-osvc.vercel.app
demo.nextcrm.io

@vercel
Copy link

@vercel vercel bot commented on 3ea52b4 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nextcrm-test – ./

nextcrm-test-git-main-e-osvc.vercel.app
test.nextcrm.io
nextcrm-test-e-osvc.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3ea52b4 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 3ea52b4 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.