Skip to content

Commit d45f467

Browse files
committed
delete accounts section to gather it to savings
1 parent 87d0928 commit d45f467

28 files changed

+375
-528
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
3030
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
3131

3232
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0
33-
RUN corepack enable pnpm && corepack use pnpm@9.9
33+
RUN npm install -g corepack@0.31.0 && \
34+
corepack enable pnpm && \
35+
corepack use pnpm@9.9
3436

3537
SHELL ["/bin/sh", "-c"]
3638

@@ -60,7 +62,7 @@ RUN set -eux; \
6062
intl \
6163
opcache \
6264
zip \
63-
pdo_pgsql \
65+
pdo_pgsql \
6466
;
6567

6668
# https://getcomposer.org/doc/03-cli.md#composer-allow-superuser

app/assets/components/sidebar.tsx

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ import { Link, useLocation } from 'react-router-dom'
44

55
import { em, Group } from '@mantine/core'
66
import { useMediaQuery } from '@mantine/hooks'
7-
import { IconChartLine, IconCreditCard, IconLogout, IconWallet } from '@tabler/icons-react'
7+
import { IconChartLine, IconLogout, IconWallet } from '@tabler/icons-react'
88

99
import { useAuth } from '@/features/auth/hooks/useAuth'
1010

1111
import Logo from './logo'
1212
import classes from './sidebar.module.css'
1313

1414
const data = [
15-
{ icon: IconChartLine, label: 'Savings', path: '/' },
16-
{ icon: IconWallet, label: 'Budget Planner', path: '/budgets' },
17-
{ icon: IconCreditCard, label: 'Accounts', path: '/accounts' },
15+
{ icon: IconChartLine, label: 'Épargne', path: '/' },
16+
{ icon: IconWallet, label: 'Budget', path: '/budgets' },
1817
]
1918

2019
interface SidebarProps {
@@ -66,7 +65,7 @@ export function Sidebar({ onNavigate }: SidebarProps) {
6665
<div className={classes.footer}>
6766
<Link onClick={() => logout()} className={classes.link} to={''}>
6867
<IconLogout className={classes.linkIcon} stroke={1.5} />
69-
<span>Logout</span>
68+
<span>Déconnexion</span>
7069
</Link>
7170
</div>
7271
</div>

app/assets/features/accounts/api/transactions.ts

-15
This file was deleted.

app/assets/features/accounts/hooks/useTransactions.ts

-15
This file was deleted.

app/assets/features/accounts/pages/create.module.css

-3
This file was deleted.

app/assets/features/accounts/pages/create.tsx

-27
This file was deleted.

app/assets/features/accounts/pages/detail.module.css

-7
This file was deleted.

app/assets/features/accounts/pages/detail.tsx

-82
This file was deleted.

app/assets/features/accounts/pages/list.module.css

-26
This file was deleted.

app/assets/features/accounts/pages/list.tsx

-58
This file was deleted.

app/assets/features/accounts/types/transactions.ts

-22
This file was deleted.

0 commit comments

Comments
 (0)