i dislike nextjs

This commit is contained in:
amy 2024-12-04 01:08:37 +03:30
parent 43d4f55727
commit e1432f1f14
Signed by: amy
SSH key fingerprint: SHA256:Y6VEv6ZOxI6zqjjOF4luhfaCoY+zDK0w62P+qhQYie4
2 changed files with 4 additions and 3 deletions

4
.idea/workspace.xml generated
View file

@ -6,7 +6,7 @@
<component name="ChangeListManager">
<list default="true" id="4cc93404-63bf-4aee-bd04-2b0203a508b3" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/images/upload/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/images/upload/page.tsx" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/app/page.tsx" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/page.tsx" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -74,7 +74,7 @@
<workItem from="1733239451427" duration="6396000" />
<workItem from="1733250368879" duration="1956000" />
<workItem from="1733252479518" duration="1692000" />
<workItem from="1733254541032" duration="2685000" />
<workItem from="1733254541032" duration="3191000" />
</task>
<servers />
</component>

View file

@ -3,13 +3,14 @@ import 'dotenv/config'
import { cookies } from 'next/headers'
import "@radix-ui/themes/styles.css";
import {Text, Theme} from "@radix-ui/themes";
import Image from "next/image";
export default async function Home() {
console.log((await cookies()).get("access_token"))
return (
<Theme appearance="dark">
<div className="leftside">
<img className="logo" src="./main.png" />
<Image alt="logo" className="logo" src="./main.png" />
</div>
<div className="textleft">
<Text size="6">Tappo</Text>