Skip to content

Commit

Permalink
Merge pull request #3363 from ever-co/develop
Browse files Browse the repository at this point in the history
Stage
  • Loading branch information
evereq authored Nov 22, 2024
2 parents 8b66bff + bfde5c7 commit 8a0ca4a
Show file tree
Hide file tree
Showing 44 changed files with 2,267 additions and 1,844 deletions.
7 changes: 6 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"words": [
" X",
" X ",
"hookform",
"accepte",
"Accordian",
"adipiscing",
Expand All @@ -24,6 +25,7 @@
"apidemodt",
"apidemodts",
"apidev",
"apikey",
"apisauce",
"apistage",
"apistagecivo",
Expand Down Expand Up @@ -92,6 +94,7 @@
"creatoe",
"dailyplan",
"Darkmode",
"DATACENTER",
"datas",
"dataToDisplay",
"daygrid",
Expand Down Expand Up @@ -240,6 +243,7 @@
"longpress",
"Lorem",
"lucide",
"mailchimp",
"mainconfig",
"mappagination",
"mathieudutour",
Expand Down Expand Up @@ -355,7 +359,6 @@
"tailess",
"Tailess",
"tailwindcss",
"timesheet-viewMode",
"tanstack",
"taskid",
"taskstatus",
Expand All @@ -367,6 +370,7 @@
"testid",
"timegrid",
"Timesheet",
"timesheet-viewMode",
"Timesheets",
"Timeslot",
"tinvitations",
Expand Down Expand Up @@ -400,6 +404,7 @@
"VERSONS",
"vertificalline",
"vhidden",
"Waitlist",
"WARNING️",
"wasabisys",
"webm",
Expand Down
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ ARG NEXT_PUBLIC_JITSU_BROWSER_URL
ARG NEXT_PUBLIC_JITSU_BROWSER_WRITE_KEY
ARG NEXT_PUBLIC_GITHUB_APP_NAME=ever-github
ARG NEXT_PUBLIC_CHATWOOT_API_KEY
ARG NEXT_IGNORE_ESLINT_ERROR_ON_BUILD=true

FROM node:${NODE_VERSION}-slim as base
FROM node:${NODE_VERSION}-slim AS base

# Output the environment variable value
ARG NEXT_PUBLIC_GAUZY_API_SERVER_URL
RUN echo "NEXT_PUBLIC_GAUZY_API_SERVER_URL=${NEXT_PUBLIC_GAUZY_API_SERVER_URL}"

LABEL maintainer="[email protected]"
Expand All @@ -42,7 +44,7 @@ RUN mkdir /temp && cd /temp && \
RUN npm cache clean --force

# Throw-away build stage to reduce size of final image
FROM base as build
FROM base AS build

# We make env vars passed as build argument to be available in this build stage because we prebuild the NextJs app
ARG NEXT_PUBLIC_GAUZY_API_SERVER_URL
Expand Down Expand Up @@ -80,6 +82,7 @@ RUN cd apps/web && \
COPY . .

ENV NODE_ENV=production
ENV NEXT_IGNORE_ESLINT_ERROR_ON_BUILD=true

RUN echo $NEXT_PUBLIC_GAUZY_API_SERVER_URL

Expand All @@ -96,8 +99,6 @@ RUN yarn cache clean
# Final stage for app image
FROM base

ENV NODE_ENV=production

# Copy built application
COPY --from=build /app/apps/web/.next/standalone ./
COPY --from=build /app/apps/web/.next/static ./apps/web/.next/static
Expand Down
6 changes: 3 additions & 3 deletions apps/extensions/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2684,9 +2684,9 @@ cosmiconfig@^7.0.1:
yaml "^1.10.0"

cross-spawn@^7.0.3:
version "7.0.3"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
version "7.0.6"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
dependencies:
path-key "^3.1.0"
shebang-command "^2.0.0"
Expand Down
4 changes: 4 additions & 0 deletions apps/web/.env
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,7 @@ NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.com
# Warning: IF TRUE This allows production builds to successfully complete even if
# your project has ESLint errors.
NEXT_IGNORE_ESLINT_ERROR_ON_BUILD=true

# Mailchimp
MAILCHIMP_API_KEY=
MAILCHIMP_LIST_ID=
4 changes: 4 additions & 0 deletions apps/web/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ MEET_JWT_APP_SECRET=
# Warning: IF TRUE This allows production builds to successfully complete even if
# your project has ESLint errors.
NEXT_IGNORE_ESLINT_ERROR_ON_BUILD=true

# Mailchimp
MAILCHIMP_API_KEY=
MAILCHIMP_LIST_ID=
2 changes: 1 addition & 1 deletion apps/web/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-mixed-spaces-and-tabs */
'use client';
import 'react-loading-skeleton/dist/skeleton.css';
import '../../styles/globals.css';
import '@/styles/globals.css';

import clsx from 'clsx';
import { Provider } from 'jotai';
Expand Down
4 changes: 2 additions & 2 deletions apps/web/app/[locale]/page-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ function MainPage() {
showTimer={headerSize <= 11.8 && isTrackingEnabled}
className="h-full"
mainHeaderSlot={
<div className="sticky z-40 bg-white dark:bg-dark-high">
<div className="bg-white dark:bg-dark-high">
<div className={clsxm('bg-white dark:bg-dark-high ', !fullWidth && 'x-container')}>
<div className="mx-8-container mt-7 !px-0 flex flex-row items-start justify-between ">
<div className="mx-8-container my-3 !px-0 flex flex-row items-start justify-between ">
<div className="flex items-center justify-center h-10 gap-8">
<PeoplesIcon className="text-dark dark:text-[#6b7280] h-6 w-6" />

Expand Down
Loading

0 comments on commit 8a0ca4a

Please sign in to comment.