This commit is contained in:
Maze Winther
2026-01-21 14:57:40 +01:00
parent f3c91d5cb4
commit 9aeea153c7
5 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1632,7 +1632,7 @@ platform.ts
export function getPlatformAlternateKey(): string export function getPlatformAlternateKey(): string
export function isAppleDevice(): boolean export function isAppleDevice(): boolean
string-utils.ts strings.ts
export function capitalizeFirstLetter({ string }: { string: string }) export function capitalizeFirstLetter({ string }: { string: string })
export function uppercase({ string }: { string: string }) export function uppercase({ string }: { string: string })
+5
View File
@@ -4,6 +4,11 @@
Privacy-first video editor, with a focus on simplicity and ease of use. Privacy-first video editor, with a focus on simplicity and ease of use.
## Lib vs Utils
- `lib/` - domain logic (specific to this app)
- `utils/` - small helper utils (generic, could be copy-pasted into any other app)
## Core Editor System ## Core Editor System
The editor uses a **singleton EditorCore** that manages all editor state through specialized managers. The editor uses a **singleton EditorCore** that manages all editor state through specialized managers.
@@ -19,7 +19,7 @@ import {
} from "./property-item"; } from "./property-item";
import { ColorPicker } from "@/components/ui/color-picker"; import { ColorPicker } from "@/components/ui/color-picker";
import { cn } from "@/utils/ui"; import { cn } from "@/utils/ui";
import { capitalizeFirstLetter, uppercase } from "@/utils/string-utils"; import { capitalizeFirstLetter, uppercase } from "@/utils/strings";
import { clamp } from "@/utils/math"; import { clamp } from "@/utils/math";
import { Grid2x2 } from "lucide-react"; import { Grid2x2 } from "lucide-react";
import { import {
@@ -390,7 +390,7 @@ export function TextProperties({
className={cn( className={cn(
"text-foreground", "text-foreground",
element.backgroundColor === "transparent" && element.backgroundColor === "transparent" &&
"text-primary", "text-primary",
)} )}
/> />
</Button> </Button>
+1 -1
View File
@@ -3,7 +3,7 @@ import { RiDiscordFill, RiTwitterXLine } from "react-icons/ri";
import { FaGithub } from "react-icons/fa6"; import { FaGithub } from "react-icons/fa6";
import Image from "next/image"; import Image from "next/image";
import { DEFAULT_LOGO_URL, SOCIAL_LINKS } from "@/constants/site-constants"; import { DEFAULT_LOGO_URL, SOCIAL_LINKS } from "@/constants/site-constants";
import { capitalizeFirstLetter } from "@/utils/string-utils"; import { capitalizeFirstLetter } from "@/utils/strings";
type Category = "resources" | "company"; type Category = "resources" | "company";