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
32 changes: 3 additions & 29 deletions apps/desktop/src/renderer/assets/app-icons/preset-icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,8 @@
import { getPresetIcon, PRESET_ICONS } from "@superset/ui/icons/preset-icons";
import { useThemeStore } from "renderer/stores/theme/store";
import claudeIcon from "./claude.svg";
import codexIcon from "./codex.svg";
import codexWhiteIcon from "./codex-white.svg";
import cursorIcon from "./cursor.svg";
import geminiIcon from "./gemini.svg";
import opencodeIcon from "./opencode.svg";
import opencodeWhiteIcon from "./opencode-white.svg";

interface PresetIconSet {
light: string;
dark: string;
}

const PRESET_ICONS: Record<string, PresetIconSet> = {
claude: { light: claudeIcon, dark: claudeIcon },
codex: { light: codexIcon, dark: codexWhiteIcon },
gemini: { light: geminiIcon, dark: geminiIcon },
"cursor-agent": { light: cursorIcon, dark: cursorIcon },
opencode: { light: opencodeIcon, dark: opencodeWhiteIcon },
};

export function getPresetIcon(
presetName: string,
isDark: boolean,
): string | undefined {
const normalizedName = presetName.toLowerCase().trim();
const iconSet = PRESET_ICONS[normalizedName];
if (!iconSet) return undefined;
return isDark ? iconSet.dark : iconSet.light;
}
export { PRESET_ICONS, getPresetIcon };
export type { PresetIconSet } from "@superset/ui/icons/preset-icons";

export function usePresetIcon(presetName: string): string | undefined {
const activeTheme = useThemeStore((state) => state.activeTheme);
Expand Down
1 change: 1 addition & 0 deletions apps/marketing/public/app-icons/claude.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/marketing/public/app-icons/codex.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions apps/marketing/public/app-icons/cursor-agent.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/marketing/public/app-icons/cursor.svg
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 apps/marketing/public/app-icons/finder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/marketing/public/app-icons/gemini.svg
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 apps/marketing/public/app-icons/iterm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions apps/marketing/public/app-icons/jetbrains.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/marketing/public/app-icons/opencode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/marketing/public/app-icons/sublime.svg
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 apps/marketing/public/app-icons/terminal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions apps/marketing/public/app-icons/vscode.svg
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 apps/marketing/public/app-icons/warp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/marketing/public/app-icons/xcode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions apps/marketing/src/app/components/CTASection/CTASection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function CTASection() {
return (
<>
<section className="relative py-32 px-8 lg:px-[30px]">
<div className="max-w-[1200px] mx-auto flex flex-col items-center text-center">
<div className="max-w-7xl mx-auto flex flex-col items-center text-center">
<motion.h2
className="text-[32px] lg:text-[40px] font-normal tracking-normal leading-[1.3em] text-foreground mb-8"
style={{ fontFamily: "var(--font-ibm-plex-mono)" }}
Expand All @@ -20,9 +20,8 @@ export function CTASection() {
viewport={{ once: true }}
transition={{ duration: 0.5 }}
>
Give us a try
Get Superset Today
</motion.h2>

<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
Expand Down
Loading