Skip to content

Commit bb747f6

Browse files
committed
compress image size and redirect
1 parent 8e9ee0a commit bb747f6

File tree

9 files changed

+7
-6
lines changed

9 files changed

+7
-6
lines changed

public/timer-logos/cstimer.jpg

6.17 KB
Loading

public/timer-logos/cstimer.png

-17.6 KB
Binary file not shown.

public/timer-logos/cubedesk.jpg

11.3 KB
Loading

public/timer-logos/cubedesk.png

-29 KB
Binary file not shown.

public/timer-logos/nexustimer.jpg

10.7 KB
Loading

public/timer-logos/nexustimer.png

-26.5 KB
Binary file not shown.

public/timer-logos/twistytimer.jpg

13.3 KB
Loading

public/timer-logos/twistytimer.png

-80.5 KB
Binary file not shown.

src/components/menu-settings/ImportModal.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ export default function ImportModal() {
4242
onChange={(e) => {
4343
alert("Testing");
4444
importDataFromFile(e);
45-
// router.push("/cubes");
46-
// setSelectedCube(null);
45+
router.push("/cubes");
46+
setSelectedCube(null);
47+
setImportModalOpen(false);
4748
}}
4849
className="absolute z-50 w-full h-full opacity-0 hover:cursor-pointer"
4950
/>
@@ -54,15 +55,15 @@ export default function ImportModal() {
5455
<div className="font-medium">Supported Timers:</div>
5556
<ul className="flex gap-2">
5657
<Image
57-
src={"/timer-logos/nexustimer.png"}
58+
src={"/timer-logos/nexustimer.jpg"}
5859
alt="nexustimer logo"
5960
width={64}
6061
height={64}
6162
className="rounded-2xl"
6263
draggable={false}
6364
/>
6465
<Image
65-
src={"/timer-logos/cstimer.png"}
66+
src={"/timer-logos/cstimer.jpg"}
6667
alt="cstimer logo"
6768
width={64}
6869
height={64}
@@ -71,7 +72,7 @@ export default function ImportModal() {
7172
/>
7273

7374
<Image
74-
src={"/timer-logos/twistytimer.png"}
75+
src={"/timer-logos/twistytimer.jpg"}
7576
alt="twistytimer logo"
7677
width={64}
7778
height={64}
@@ -80,7 +81,7 @@ export default function ImportModal() {
8081
/>
8182

8283
<Image
83-
src={"/timer-logos/cubedesk.png"}
84+
src={"/timer-logos/cubedesk.jpg"}
8485
alt="cubedesk logo"
8586
width={64}
8687
height={64}

0 commit comments

Comments
 (0)