forked from UKSOURCE/hailearning.edu.vn
feat: Udpate api/index.ts
This commit is contained in:
@@ -2,5 +2,6 @@
|
||||
* Export all API functions
|
||||
*/
|
||||
export * from "./blogsApi";
|
||||
export * from "./homeApi";
|
||||
export * from "./footerApi";
|
||||
export * from "./servicesApi";
|
||||
|
||||
@@ -9,8 +9,8 @@ import Achievements from './components/home/Achievements';
|
||||
import Partners from './components/home/Partners';
|
||||
import BlogPreview from './components/home/BlogPreview';
|
||||
import localHomeData from './home.json';
|
||||
import { fetchHomeData } from '@/api';
|
||||
import { getCmsImageUrl } from '@/utils/image';
|
||||
import { fetchHomeData } from '@/api';
|
||||
|
||||
export default async function Home() {
|
||||
// Fetch home data (blog aggregation is now handled by the backend)
|
||||
|
||||
Reference in New Issue
Block a user