api ulandi

This commit is contained in:
Samandar Turgunboyev
2025-11-28 19:41:12 +05:00
parent c8f96f46ad
commit 83efa1f24a
35 changed files with 2043 additions and 767 deletions

View File

@@ -1,17 +1,8 @@
import { getPosts } from '@/shared/config/api/test/test.request';
import LangToggle from '@/widgets/lang-toggle/ui/lang-toggle';
import ModeToggle from '@/widgets/theme-toggle/ui/theme-toggle';
import { useQuery } from '@tanstack/react-query';
import GitHubButton from 'react-github-btn';
import LangToggle from "@/widgets/lang-toggle/ui/lang-toggle";
import ModeToggle from "@/widgets/theme-toggle/ui/theme-toggle";
import GitHubButton from "react-github-btn";
const Welcome = () => {
const { data } = useQuery({
queryKey: ['posts'],
queryFn: () => getPosts(),
});
console.log('data', data);
return (
<div className="custom-container h-screen rounded-2xl flex items-center justify-center">
<div className="flex flex-col gap-2 items-center">