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 removed src/assets/background-img/bar-in-aquarium.jpg
Binary file not shown.
Binary file removed src/assets/background-img/cat&girl.jpg
Binary file not shown.
Binary file removed src/assets/background-img/cat-at-night.jpg
Binary file not shown.
Binary file removed src/assets/background-img/city-night.jpg
Binary file not shown.
Binary file removed src/assets/background-img/fisherman-in-river.jpg
Binary file not shown.
Binary file removed src/assets/background-img/game-room.jpg
Binary file not shown.
Binary file removed src/assets/background-img/horizontal.jpg
Binary file not shown.
Binary file removed src/assets/background-img/long-road.jpg
Binary file not shown.
Binary file removed src/assets/background-img/mario.jpg
Binary file not shown.
Binary file removed src/assets/background-img/old-windows.jpg
Binary file not shown.
Binary file removed src/assets/background-img/railing&mountain.png
Binary file not shown.
Binary file removed src/assets/background-img/rooftop-painting.jpg
Binary file not shown.
Binary file removed src/assets/background-img/type.jpg
Binary file not shown.
Binary file removed src/assets/sound/info.mp3
Binary file not shown.
Binary file removed src/assets/sound/info2.mp3
Binary file not shown.
Binary file removed src/assets/sound/info3.mp3
Binary file not shown.
Binary file removed src/assets/sound/info4.mp3
Binary file not shown.
Binary file removed src/assets/sound/mouse-click.mp3
Binary file not shown.
Binary file removed src/assets/sound/startup-sound.mp3
Binary file not shown.
Binary file added src/assets/wallpapers/wallpaper.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions src/os/Shortcut/Shortcut.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@ export default function Shortcut({
{...props}
>
<Icon
className={twMerge(
"text-text-default",
"size-9 md:size-10",
isSelected && "bg-secondary/80"
)}
className={twMerge("text-muted", "size-9 md:size-10", isSelected && "bg-secondary/80")}
aria-hidden="true"
/>
<span
className={twMerge(
"text-text-default text-xs select-none md:text-sm",
"text-muted text-xs select-none md:text-sm",
isSelected && "bg-secondary/80 focus-dotted",
isFocused && "focus-dotted"
)}
Expand Down
9 changes: 7 additions & 2 deletions src/pages/os/OsMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function OsMain() {
const ref = useRef<HTMLElement | null>(null);
const [selectedShortcutId, setSelectedShortcutId] = useState<string | null>(null);
const [focusedShortcutId, setFocusedShortcutId] = useState<string | null>(null);

const windows = useWindowStore((state) => state.windows);
const openWindow = useWindowStore((state) => state.openWindow);
const closeWindow = useWindowStore((state) => state.closeWindow);
Expand Down Expand Up @@ -41,8 +42,12 @@ export default function OsMain() {
};

return (
<main className="bg-base-2 flex h-dvh max-h-dvh flex-col overflow-hidden">
<section ref={ref} className="relative flex-1 overflow-hidden p-4" aria-label="데스크톱">
<main className="flex h-dvh max-h-dvh flex-col overflow-hidden bg-[#e9e0fb]">
<section
ref={ref}
className="relative flex-1 overflow-hidden bg-[url(@/assets/wallpapers/wallpaper.jpg)] bg-size-[40%] bg-center bg-no-repeat p-4"
aria-label="데스크톱"
>
<div
className="grid h-full w-full auto-cols-max grid-flow-row auto-rows-max gap-6 md:gap-8"
aria-label="바로가기"
Expand Down
1 change: 1 addition & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ body {
body {
font-size: 11px;
overscroll-behavior: none;
word-break: keep-all;
}

@media (min-width: 768px) {
Expand Down
Loading