Moved and renamed homepage

This commit is contained in:
2025-03-16 23:42:00 +01:00
parent f065c31fc3
commit 0647d5f90e
2 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
import { useState } from "react"; import { useState } from "react";
import "./app.css"; import "../app.css";
import { motion } from "motion/react"; import { motion } from "motion/react";
export function Welcome() { export function HomePage() {
const [rolling, setRolling] = useState(false); const [rolling, setRolling] = useState(false);
const [showResetPopup, setShowResetPopup] = useState(false); const [showResetPopup, setShowResetPopup] = useState(false);
@@ -44,7 +44,7 @@ export function Welcome() {
<div className="w-full overflow-hidden mt-4"> <div className="w-full overflow-hidden mt-4">
<motion.div <motion.div
className="flex space-x-3" className="flex space-x-3"
animate={rolling ? { x: [15000, -15110] } : null} animate={rolling ? { x: [15000, -15110] } : undefined}
transition={ transition={
rolling rolling
? { ? {

View File

@@ -1,5 +1,5 @@
import type { Route } from "./+types/home"; import type { Route } from "./+types/home";
import { Welcome } from "../index"; import { HomePage } from "../pages/home";
export function meta({}: Route.MetaArgs) { export function meta({}: Route.MetaArgs) {
return [ return [
@@ -9,5 +9,5 @@ export function meta({}: Route.MetaArgs) {
} }
export default function Home() { export default function Home() {
return <Welcome />; return <HomePage />;
} }