Skip to content

Commit

Permalink
chore: fixes in new and show
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 27, 2023
1 parent a5f354d commit bcb7415
Show file tree
Hide file tree
Showing 18 changed files with 365 additions and 299 deletions.
3 changes: 0 additions & 3 deletions frontend/src/assets/icons/check.svg

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/assets/icons/edit.svg

This file was deleted.

6 changes: 0 additions & 6 deletions frontend/src/assets/icons/invoice.svg

This file was deleted.

5 changes: 0 additions & 5 deletions frontend/src/assets/icons/lightning.svg

This file was deleted.

9 changes: 0 additions & 9 deletions frontend/src/assets/icons/search.svg

This file was deleted.

15 changes: 0 additions & 15 deletions frontend/src/assets/icons/transactions.svg

This file was deleted.

9 changes: 0 additions & 9 deletions frontend/src/assets/icons/wallet.svg

This file was deleted.

21 changes: 21 additions & 0 deletions frontend/src/components/icons/CheckIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { SVGAttributes } from "react";

export function CheckIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M18.3814 5.35432C18.738 5.56495 18.8564 6.02484 18.6458 6.3815L11.5591 18.3815C11.4426 18.5787 11.2424 18.7119 11.0156 18.7431C10.7887 18.7743 10.56 18.7002 10.3946 18.5418L5.48126 13.8366C5.18211 13.5501 5.17184 13.0753 5.45833 12.7761C5.74482 12.477 6.21958 12.4667 6.51874 12.7532L10.7487 16.804L17.3542 5.61874C17.5648 5.26208 18.0247 5.14369 18.3814 5.35432Z"
fill="black"
/>
</svg>
);
}
16 changes: 16 additions & 0 deletions frontend/src/components/icons/EditIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { SVGAttributes } from "react";

export function EditIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M3.995 17.207V19.5a.5.5 0 00.5.5h2.298a.5.5 0 00.353-.146l9.448-9.448-3-3-9.452 9.448a.5.5 0 00-.147.353zM14.832 6.167l3 3 1.46-1.46a1 1 0 000-1.414l-1.585-1.586a1 1 0 00-1.414 0l-1.46 1.46z" />
</svg>
);
}
27 changes: 27 additions & 0 deletions frontend/src/components/icons/InvoiceIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { SVGAttributes } from "react";

export function InvoiceIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M7.5 4A1.5 1.5 0 006 5.5v13A1.5 1.5 0 007.5 20h9a1.5 1.5 0 001.5-1.5v-13A1.5 1.5 0 0016.5 4h-9zm6.854 4.354a.5.5 0 00-.708-.708l-4 4a.5.5 0 00.708.708l4-4zM11.5 8.5a1 1 0 11-2 0 1 1 0 012 0zm2 4a1 1 0 100-2 1 1 0 000 2zm-5 2.5a.5.5 0 01.5-.5h6a.5.5 0 010 1H9a.5.5 0 01-.5-.5zm.5 1.5a.5.5 0 000 1h6a.5.5 0 000-1H9z"
/>
</svg>
);
}
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
></svg>;
16 changes: 16 additions & 0 deletions frontend/src/components/icons/LightningIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { SVGAttributes } from "react";

export function LightningIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M18.496 10.709l-8.636 8.88c-.24.246-.638-.039-.482-.345l3.074-6.066a.3.3 0 00-.268-.436H5.718a.3.3 0 01-.214-.51l8.01-8.115c.232-.235.618.023.489.328L11.706 9.86a.3.3 0 00.28.417l6.291-.078a.3.3 0 01.22.509z" />
</svg>
);
}
25 changes: 25 additions & 0 deletions frontend/src/components/icons/SearchIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { SVGAttributes } from "react";

export function SearchIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M10.5 5.5a5 5 0 100 10 5 5 0 000-10zm-6.5 5a6.5 6.5 0 1113 0 6.5 6.5 0 01-13 0z"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M14.47 14.47a.75.75 0 011.06 0l4 4a.75.75 0 11-1.06 1.06l-4-4a.75.75 0 010-1.06z"
/>
</svg>
);
}
33 changes: 33 additions & 0 deletions frontend/src/components/icons/TransactionsIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { SVGAttributes } from "react";

export function TransactionsIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<circle cx="5.5" cy="7.5" r="1.5" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8 6.5a.5.5 0 01.5-.5h11a.5.5 0 010 1h-11a.5.5 0 01-.5-.5zM8 8.5a.5.5 0 01.5-.5h6a.5.5 0 010 1h-6a.5.5 0 01-.5-.5z"
/>
<circle cx="5.5" cy="12" r="1.5" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8 11a.5.5 0 01.5-.5h8a.5.5 0 010 1h-8A.5.5 0 018 11zM8 13a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 018 13z"
/>
<circle cx="5.5" cy="16.5" r="1.5" />
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8 15.5a.5.5 0 01.5-.5H18a.5.5 0 010 1H8.5a.5.5 0 01-.5-.5zM8 17.5a.5.5 0 01.5-.5h4a.5.5 0 010 1h-4a.5.5 0 01-.5-.5z"
/>
</svg>
);
}
25 changes: 25 additions & 0 deletions frontend/src/components/icons/WalletIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { SVGAttributes } from "react";

export function WalletIcon(props: SVGAttributes<SVGElement>) {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M12 8a2 2 0 012-2h4a2 2 0 012 2v8a2 2 0 01-2 2h-4a2 2 0 01-2-2V8zm2-1a1 1 0 00-1 1v8a1 1 0 001 1h4a1 1 0 001-1V8a1 1 0 00-1-1h-4z"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M5.5 6A1.5 1.5 0 004 7.5v9A1.5 1.5 0 005.5 18h10a1.5 1.5 0 001.5-1.5v-9A1.5 1.5 0 0015.5 6h-10zm2 7.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"
/>
</svg>
);
}
85 changes: 0 additions & 85 deletions frontend/src/screens/apps/CreateApp.tsx

This file was deleted.

Loading

0 comments on commit bcb7415

Please sign in to comment.