Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added frontend/src/assets/dash-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/dash-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/dashboard-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/dashboard-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions frontend/src/components/Features.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const items = [
title: "AI-Powered Insights",
description:
"Automatically analyzes logs and CSV files, providing instant error highlights and suggested solutions.",
imageLight: `url("${"https://mui.com"}/static/images/templates/templates-images/dash-light.png")`,
imageDark: `url("${"https://mui.com"}/static/images/templates/templates-images/dash-dark.png")`,
imageLight: `url("../assets/dash-light.png")`,
imageDark: `url("../assets//dash-dark.png")`,
},
{
icon: <EdgesensorHighRoundedIcon />,
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import Stack from "@mui/material/Stack";
import Typography from "@mui/material/Typography";
import { styled } from "@mui/material/styles";
import dashboardImage from "../assets/dashboard.png";
import dashboardImageDark from "../assets/dashboard-dark.png";
import dashboardImageLight from "../assets/dashboard-light.png";

const StyledBox = styled("div")(({ theme }) => ({
alignSelf: "center",
Expand All @@ -19,15 +21,15 @@ const StyledBox = styled("div")(({ theme }) => ({
border: "1px solid",
borderColor: (theme.vars || theme).palette.grey[200],
boxShadow: "0 0 12px 8px hsla(220, 25%, 80%, 0.2)",
backgroundImage: `url(${dashboardImage})`,
backgroundImage: `url(${dashboardImageLight})`,
backgroundSize: "cover",
[theme.breakpoints.up("sm")]: {
marginTop: theme.spacing(10),
height: 700,
},
...theme.applyStyles("dark", {
boxShadow: "0 0 24px 12px hsla(210, 100%, 25%, 0.2)",
backgroundImage: `url(${dashboardImage})`,
backgroundImage: `url(${dashboardImageDark})`,
outlineColor: "hsla(220, 20%, 42%, 0.1)",
borderColor: (theme.vars || theme).palette.grey[700],
}),
Expand Down
Loading