Changed too much shit I dont care

This commit is contained in:
2023-06-06 13:25:16 +02:00
parent e0bc92ab44
commit bc6c620736
40 changed files with 1035 additions and 123 deletions

7
src/app/test/index.css Normal file
View File

@@ -0,0 +1,7 @@
main{
display:flex;
flex-direction: column;
padding:8px;
flex-grow: 1;
gap:8px;
}

View File

@@ -0,0 +1,21 @@
// import "public/globals.css"
import { Inter } from 'next/font/google'
const inter = Inter({ subsets: ['latin'], fallback: ['system-ui', 'arial'] })
export const metadata = {
title: 'Create Next App',
description: 'Generated by create next app',
}
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={inter.className}>{children}</body>
</html>
)
}

29
src/app/test/page.tsx Normal file
View File

@@ -0,0 +1,29 @@
import Header from "@/components/header";
import PageContainer from "@/components/page-container";
import Navbar from "@/components/navbar";
import Sidebar from "@/components/sidebar";
import ArticlePreview from "@/components/news/article-preview"
import ReactDOM from "react";
import "public/global.css"
import "./index.css"
export default function Test() {
return <div className={`root`}>
<Header/>
<Navbar/>
<PageContainer>
<Sidebar>
<h1>
Filters
</h1>
<ul><li>filter 1</li><li>filter 2</li><li>filter 3</li></ul>
</Sidebar>
<main>
<ArticlePreview/>
<ArticlePreview/>
<ArticlePreview/>
</main>
</PageContainer>
</div>;
}