chore: move new ic icon to icons folder

This commit is contained in:
Daniel Gonzalez Albo
2025-10-07 00:58:17 +02:00
committed by Nicolás Hatcher Andrés
parent b177a33815
commit b709041f9d
4 changed files with 11 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ import InsertRowAboveIcon from "./insert-row-above.svg?react";
import InsertRowBelow from "./insert-row-below.svg?react"; import InsertRowBelow from "./insert-row-below.svg?react";
import IronCalcIcon from "./ironcalc_icon.svg?react"; import IronCalcIcon from "./ironcalc_icon.svg?react";
import IronCalcIconWhite from "./ironcalc_icon_white.svg?react";
import IronCalcLogo from "./orange+black.svg?react"; import IronCalcLogo from "./orange+black.svg?react";
import Fx from "./fx.svg?react"; import Fx from "./fx.svg?react";
@@ -41,6 +42,7 @@ export {
InsertRowAboveIcon, InsertRowAboveIcon,
InsertRowBelow, InsertRowBelow,
IronCalcIcon, IronCalcIcon,
IronCalcIconWhite,
IronCalcLogo, IronCalcLogo,
Fx, Fx,
}; };

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,5 +1,5 @@
import init, { Model } from "@ironcalc/wasm"; import init, { Model } from "@ironcalc/wasm";
import IronCalc from "./IronCalc"; import IronCalc from "./IronCalc";
import { IronCalcIcon, IronCalcLogo } from "./icons"; import { IronCalcIcon, IronCalcIconWhite, IronCalcLogo } from "./icons";
export { init, Model, IronCalc, IronCalcIcon, IronCalcLogo }; export { init, Model, IronCalc, IronCalcIcon, IronCalcIconWhite, IronCalcLogo };

View File

@@ -1,8 +1,8 @@
import { IronCalcIconWhite as IronCalcIcon } from "@ironcalc/workbook";
import { Dialog, styled } from "@mui/material"; import { Dialog, styled } from "@mui/material";
import { House, Table, TicketsPlane, X } from "lucide-react"; import { House, Table, TicketsPlane, X } from "lucide-react";
import { useState } from "react"; import { useState } from "react";
import TemplatesListItem from "./TemplatesListItem"; import TemplatesListItem from "./TemplatesListItem";
import IronCalcIcon from "./ironcalc_icon_white.svg";
function WelcomeDialog(properties: { function WelcomeDialog(properties: {
onClose: () => void; onClose: () => void;
@@ -28,7 +28,7 @@ function WelcomeDialog(properties: {
<DialogHeader> <DialogHeader>
<DialogHeaderTitleWrapper> <DialogHeaderTitleWrapper>
<DialogHeaderLogoWrapper> <DialogHeaderLogoWrapper>
<DialogHeaderLogo src={IronCalcIcon} /> <IronCalcIcon />
</DialogHeaderLogoWrapper> </DialogHeaderLogoWrapper>
<DialogHeaderTitle>Welcome to IronCalc</DialogHeaderTitle> <DialogHeaderTitle>Welcome to IronCalc</DialogHeaderTitle>
<DialogHeaderTitleSubtitle> <DialogHeaderTitleSubtitle>
@@ -161,14 +161,11 @@ const DialogHeaderLogoWrapper = styled("div")`
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transform: rotate(-8deg); transform: rotate(-8deg);
user-select: none; user-select: none;
-webkit-user-select: none;
-moz-user-select: none; svg {
-ms-user-select: none; width: 18px;
`; height: 18px;
}
const DialogHeaderLogo = styled("img")`
width: 18px;
height: auto;
`; `;
const Cross = styled("div")` const Cross = styled("div")`