[WEB-2204] chore: asset optimization (#5346)

* chore: dashboard empty state asset updated and remove unwanted asset

* chore: workspace active cycle asset updated

* chore: onboarding pages asset updated and remove unwanted asset from web and space app

* chore: onboarding profile setup and create workspace asset updated and remove unwanted asset from web and space app

* chore: code refactor
This commit is contained in:
Anmol Singh Bhatia 2024-08-10 12:09:57 +05:30 committed by GitHub
parent 6e435df613
commit 269e6ccd18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 7 additions and 2805 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.6 MiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 994 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 993 KiB

View file

@ -4,7 +4,7 @@ import { useTheme } from "next-themes";
// icons
import { Lightbulb } from "lucide-react";
// images
import latestFeatures from "@/public/onboarding/onboarding-pages.svg";
import latestFeatures from "@/public/onboarding/onboarding-pages.webp";
export const LatestFeatureBlock = () => {
const { resolvedTheme } = useTheme();

View file

@ -9,7 +9,7 @@ import { EUserWorkspaceRoles } from "@/constants/workspace";
// hooks
import { useCommandPalette, useEventTracker, useUser } from "@/hooks/store";
// assets
import ProjectEmptyStateImage from "@/public/empty-state/dashboard/project.svg";
import ProjectEmptyStateImage from "@/public/empty-state/onboarding/dashboard-light.webp";
export const DashboardProjectEmptyState = observer(() => {
// store hooks

View file

@ -10,8 +10,8 @@ import { Invitations, OnboardingHeader, SwitchAccountDropdown, CreateWorkspace }
// hooks
import { useUser } from "@/hooks/store";
// assets
import CreateJoinWorkspaceDark from "@/public/onboarding/create-join-workspace-dark.svg";
import CreateJoinWorkspace from "@/public/onboarding/create-join-workspace.svg";
import CreateJoinWorkspaceDark from "@/public/onboarding/create-join-workspace-dark.webp";
import CreateJoinWorkspace from "@/public/onboarding/create-join-workspace-light.webp";
import { LogoSpinner } from "../common";
export enum ECreateOrJoinWorkspaceViews {

View file

@ -22,8 +22,8 @@ import { E_PASSWORD_STRENGTH, getPasswordStrength } from "@/helpers/password.hel
import { useEventTracker, useUser, useUserProfile } from "@/hooks/store";
// services
// assets
import ProfileSetupDark from "@/public/onboarding/profile-setup-dark.svg";
import ProfileSetupLight from "@/public/onboarding/profile-setup-light.svg";
import ProfileSetupDark from "@/public/onboarding/profile-setup-dark.webp";
import ProfileSetupLight from "@/public/onboarding/profile-setup-light.webp";
import UserPersonalizationDark from "@/public/onboarding/user-personalization-dark.svg";
import UserPersonalizationLight from "@/public/onboarding/user-personalization-light.svg";
import { AuthService } from "@/services/auth.service";

View file

@ -20,7 +20,7 @@ import {
useCommandPalette,
} from "@/hooks/store";
// images
import emptyProject from "@/public/empty-state/project.svg";
import emptyProject from "@/public/empty-state/onboarding/dashboard-light.webp";
interface IProjectAuthWrapper {
children: ReactNode;

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 590 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 464 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 994 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 993 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 202 KiB

Before After
Before After