From 0c137089a3d13b786d1e78efbfb7cf2efdb82ff0 Mon Sep 17 00:00:00 2001 From: cykna Date: Fri, 16 Jan 2026 21:20:29 -0300 Subject: [PATCH 1/7] fix: fixed more errors --- src/App.tsx | 24 ++++++++++++------------ src/components/contents.tsx | 20 +++----------------- src/components/usabledock.css | 6 ------ src/pages/home.tsx | 4 ++-- 4 files changed, 17 insertions(+), 37 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 4a34030..bffe8f9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,23 +1,23 @@ import './index.css'; import './App.css'; -import UiBar,{ BarDirection }from "./components/uibar.tsx"; -import {Moon} from "lucide-react"; +import UiBar from "./components/uibar.tsx"; +import { Moon } from "lucide-react"; import ThemeSwitcher from "./components/theme_switcher.tsx" import Home from "./pages/home.tsx"; import Dock from "./components/usabledock.tsx"; export default function App() { return (
- - -

Abacate

-

Melancia

-
- }> - - - + + +

Abacate

+

Melancia

+ + }> + +
+ ) } diff --git a/src/components/contents.tsx b/src/components/contents.tsx index 1c43481..1466262 100644 --- a/src/components/contents.tsx +++ b/src/components/contents.tsx @@ -1,4 +1,4 @@ -import { useEffect, useRef } from "react"; +import { useRef } from "react"; import "./contents.css"; export function* generator_of(value: Iterable) { @@ -20,28 +20,14 @@ export function PageTopic(args: PageContentArg) { export default function Contents() { const left = useRef(null); const right = useRef(null); - const offset = 128; - /*useEffect(() => { - setInterval(() => { - const numerics = generator_of(left.current?.children).map((v, index) => ({ - offset: ((Math.random() * offset + Math.random() * offset) | 0) - (offset * 0.5), - left: v, - right: right.current?.children[index] - })); - for (const { offset, left, right } of numerics) { - left.style.transform = `translateX(${offset}px)`; - right.style.transform = `translateX(${-offset}px)`; - } - }, 2000); - }, []);*/ return

Slynx

Building Your Mom So You Don't Have To

-
+
Abacate Abacate Gengibre @@ -50,7 +36,7 @@ export default function Contents() {
-
+
Inhonho Xicarinha Las Ocho Chaves diff --git a/src/components/usabledock.css b/src/components/usabledock.css index 4bc2912..add8766 100644 --- a/src/components/usabledock.css +++ b/src/components/usabledock.css @@ -1,9 +1,3 @@ ---- -import { Dock } from "./Dock.tsx"; -import {Ellipsis, BookText, Github, Download, Hammer} from "@lucide/astro"; ---- -