Skip to content
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
services:
web:
build: .
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "3005:3005"
environment:
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- NEXTAUTH_URL=${NEXTAUTH_URL}
4 changes: 2 additions & 2 deletions src/components/OurProjectsModal/OurProjectsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const OurProjectsModal: FC<OurProjectsModalProps> = ({
}) => {
const router = useRouter();
const { locale } = router as TRouter;
const { inDevTxt } = ourProjectsData[locale || 'en'];
const { inDevTxt, doneTxt } = ourProjectsData[locale || 'en'];
return (
<Modal
onClick={onClose}
Expand Down Expand Up @@ -154,7 +154,7 @@ const OurProjectsModal: FC<OurProjectsModalProps> = ({

<div className={styles.doneBtn}>
<Button
label={'Done'}
label={doneTxt}
onClick={() => onClose()}
type={'primary'}
dataCy={'our-projects-close-button'}
Expand Down
10 changes: 5 additions & 5 deletions src/components/_biases/MobileView/MobileView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,12 @@ const MobileView: FC<MobileViewProps> = ({
blockLanguageSwitcher={blockLanguageSwitcher}
/>
</div>
<div
className={styles.MobileContent}
onClick={() => setOpenOurProjects(true)}
>
<div className={styles.MobileContent}>
<PageSwitcher page="uxcore" />
<div className={styles.OurProjectsLabel}>
<div
className={styles.OurProjectsLabel}
onClick={() => setOpenOurProjects(true)}
>
<DiamondIcon />
<span> {ourProjects}</span>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/data/ourProjects/en.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const en = {
inDevTxt: 'In Development',
doneTxt: 'Done',
};

export default en;
6 changes: 6 additions & 0 deletions src/data/ourProjects/hy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const hy = {
inDevTxt: 'In Development',
doneTxt: 'Done',
};

export default hy;
3 changes: 3 additions & 0 deletions src/data/ourProjects/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import en from './en';
import ru from './ru';
import hy from './hy';

const locales = {
en,
ru,
hy,
} as const satisfies {
en: typeof en;
ru: typeof ru;
hy: typeof en;
};

export default locales;
1 change: 1 addition & 0 deletions src/data/ourProjects/ru.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const ru = {
inDevTxt: 'В разработке',
doneTxt: 'Готово',
};

export default ru;