diff --git a/.cspell.json b/.cspell.json index 0da70ed82..7d564cd35 100644 --- a/.cspell.json +++ b/.cspell.json @@ -33,6 +33,7 @@ "Bowser", "Btns", "Konviser", + "Ruslan", "Bugsnag", "buildjet", "cacheable", diff --git a/apps/web/.env b/apps/web/.env index 184d39de3..947339c52 100644 --- a/apps/web/.env +++ b/apps/web/.env @@ -88,6 +88,13 @@ APP_NAME="Ever Teams" APP_SIGNATURE="Ever Teams" APP_LOGO_URL="https://app.ever.team/assets/ever-teams.png" + +#Footer links +NEXT_PUBLIC_EVER_TEAMS_LINK="https://ever.team" +NEXT_PUBLIC_EVER_PLATFORM_LINK="https://ever.co" +NEXT_PUBLIC_EVER_LEGAL_TERM="https://demo.gauzy.co/#/pages/legal/terms" +NEXT_PUBLIC_EVER_LEGAL_PRIVACY="https://demo.gauzy.co/#/pages/legal/privacy" + # Cookies NEXT_PUBLIC_COOKIE_DOMAINS=ever.team diff --git a/apps/web/.env.sample b/apps/web/.env.sample index 6f9f7dfb9..8074779ff 100644 --- a/apps/web/.env.sample +++ b/apps/web/.env.sample @@ -50,6 +50,12 @@ APP_NAME='Ever Teams' APP_SIGNATURE='Ever Teams' APP_LOGO_URL='https://app.ever.team/assets/ever-teams.png' +#Footer links +NEXT_PUBLIC_EVER_TEAMS_LINK="https://ever.team" +NEXT_PUBLIC_EVER_PLATFORM_LINK="https://ever.co" +NEXT_PUBLIC_EVER_LEGAL_TERM="https://demo.gauzy.co/#/pages/legal/terms" +NEXT_PUBLIC_EVER_LEGAL_PRIVACY="https://demo.gauzy.co/#/pages/legal/privacy" + # Cookies NEXT_PUBLIC_COOKIE_DOMAINS=ever.team diff --git a/apps/web/app/[locale]/calendar/component.tsx b/apps/web/app/[locale]/calendar/component.tsx index 3a44ef27e..4be0c2305 100644 --- a/apps/web/app/[locale]/calendar/component.tsx +++ b/apps/web/app/[locale]/calendar/component.tsx @@ -17,6 +17,7 @@ import { CalendarDays } from "lucide-react"; import React from "react"; import { DateRange } from "react-day-picker"; import { LuCalendarDays } from "react-icons/lu"; +import { Input } from "@components/ui/input"; export function HeadCalendar({ openModal, @@ -65,54 +66,65 @@ export function HeadTimeSheet({ timesheet }: { timesheet?: timesheetCalendar }) from: new Date(2022, 0, 20), to: addDays(new Date(2022, 0, 20), 20) }); - console.log(timesheet); return (
{timesheet === 'TimeSheet' && ( -
-
- -
- - - - - } - mode={'range'} - numberOfMonths={2} - initialFocus - defaultMonth={date?.from} - selected={date} - onSelect={(value) => { - value && setDate(value); - }} +
+ -
- + +
+
+ +
+
+ + + + + } + mode={'range'} + numberOfMonths={2} + initialFocus + defaultMonth={date?.from} + selected={date} + onSelect={(value) => { + value && setDate(value); + }} + /> +
+
+ +
)} @@ -133,9 +145,8 @@ export function CustomSelect() { return (