news/app/routes/news.tsx

54 lines
1.7 KiB
TypeScript
Raw Permalink Normal View History

2025-11-18 17:40:37 +08:00
2025-11-18 13:30:19 +08:00
import type { Route } from "./+types/news";
2025-11-18 17:17:06 +08:00
import Integrated from "@/components/news/body/Integrated";
import CultureBgPage from "@/components/news/body/Culturebg";
2025-11-18 17:44:27 +08:00
import {Header} from "@/components/news/header/Header";
import {TopNav} from "@/components/news/header/TopNav";
2025-11-19 16:25:28 +08:00
import NewsList from "@/components/news/list/NewsList";
2025-11-19 08:32:47 +08:00
import ImageGridSection from "@/components/news/body/ImageGridSection";
import GrassrootsDynamics from "@/components/news/body/GrassrootsDynamics";
2025-11-19 22:03:10 +08:00
import { ImportantNews } from "@/components/news/body/FireNews/ImportantNews";
import { LectureHall } from "@/components/news/body/FireNews/LectureHall";
import { MicroVision } from "@/components/news/body/FireNews/MicroVision";
import { Hotline } from "@/components/news/body/FireNews/Hotline";
2025-11-19 08:23:22 +08:00
import { AutoCarouselDemo } from "@/components/AutoCarousel";
2025-11-20 08:32:56 +08:00
import Footer from "@/components/news/footer/footer";
2025-11-21 11:39:58 +08:00
import Train from "@/components/news/body/Train";
2025-11-21 17:51:41 +08:00
import AddPopupForm from "@/components/news/body/PopupfloatingMangement/AddPopup";
2025-11-19 11:45:10 +08:00
2025-11-18 15:32:13 +08:00
export function meta( ) {
2025-11-18 13:05:00 +08:00
return [
{ title: "New React Router App" },
{ name: "description", content: "Welcome to React Router!" },
];
}
export default function Home() {
2025-11-18 15:31:37 +08:00
return (
<div>
2025-11-18 17:13:49 +08:00
<Header />
<TopNav />
2025-11-19 22:03:10 +08:00
<ImportantNews />
<NewsList />
2025-11-18 17:13:49 +08:00
<ImageGridSection />
2025-11-19 10:39:02 +08:00
<div
style={{backgroundImage: "url('/public/images/jcdt.png')"}}
>
<GrassrootsDynamics />
2025-11-19 22:03:10 +08:00
<LectureHall />
<MicroVision />
<Hotline />
2025-11-19 10:39:02 +08:00
<AutoCarouselDemo />
<CultureBgPage />
<Integrated />
</div>
2025-11-19 22:26:14 +08:00
<Footer />
2025-11-21 11:39:58 +08:00
<Train />
2025-11-21 17:51:41 +08:00
<AddPopupForm />
2025-11-18 15:31:37 +08:00
</div>
2025-11-21 17:51:41 +08:00
2025-11-18 15:31:37 +08:00
);
2025-11-18 13:05:00 +08:00
}