Skip to content

Commit

Permalink
refactor(finefoods-client): update design (#5965)
Browse files Browse the repository at this point in the history
Co-authored-by: Ali Emir Şen <[email protected]>
  • Loading branch information
alicanerdurmaz and aliemir authored May 24, 2024
1 parent 8a0100c commit 6efc025
Show file tree
Hide file tree
Showing 80 changed files with 1,001 additions and 1,099 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CustomerOrderHistory = ({ customer }: Props) => {
render={(amount) => {
return (
<NumberField
value={amount / 100}
value={amount}
style={{
whiteSpace: "nowrap",
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const RecentOrders: React.FC = () => {
render={(amount) => {
return (
<NumberField
value={amount / 100}
value={amount}
style={{
whiteSpace: "nowrap",
}}
Expand Down
2 changes: 1 addition & 1 deletion examples/finefoods-antd/src/pages/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const DashboardPage: React.FC = () => {
rightSlot={
<Flex align="center" gap={8}>
<NumberField
value={newCustomers.trend / 100}
value={newCustomers.trend}
options={{
style: "percent",
minimumFractionDigits: 2,
Expand Down
2 changes: 1 addition & 1 deletion examples/finefoods-antd/src/pages/orders/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export const OrderList = () => {
currency: "USD",
style: "currency",
}}
value={value / 100}
value={value}
/>
);
}}
Expand Down
5 changes: 0 additions & 5 deletions examples/finefoods-client/next.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions examples/finefoods-client/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

export default nextConfig;
6 changes: 3 additions & 3 deletions examples/finefoods-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"scripts": {
"build": "refine build && rm -rf .next/cache",
"dev": "refine dev",
"start:prod": "refine start",
"svgr": "npx @svgr/cli src/icons -d src/components/icons --typescript --no-svgo"
"start:prod": "refine start"
},
"dependencies": {
"@refinedev/cli": "^2.16.31",
Expand All @@ -15,7 +14,8 @@
"@refinedev/react-table": "^5.6.10",
"@refinedev/simple-rest": "^5.0.6",
"@tanstack/react-table": "^8.2.6",
"gsap": "^3.8.0",
"classnames": "^2.3.2",
"dayjs": "^1.10.7",
"js-confetti": "^0.9.0",
"next": "^14.1.0",
"react": "^18.0.0",
Expand Down
170 changes: 0 additions & 170 deletions examples/finefoods-client/pages/[id]/[category]/index.tsx

This file was deleted.

39 changes: 0 additions & 39 deletions examples/finefoods-client/pages/_app.tsx

This file was deleted.

120 changes: 0 additions & 120 deletions examples/finefoods-client/pages/index.tsx

This file was deleted.

Binary file modified examples/finefoods-client/public/images/plate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6efc025

Please sign in to comment.