From d1fc7a8fd5193ab1acdef85adb49612af1714b50 Mon Sep 17 00:00:00 2001 From: ArraysID Date: Sat, 10 May 2025 05:38:01 +0700 Subject: [PATCH] refactor: move global section functions to services directory --- apps/landing/src/app/(frontend)/page.tsx | 6 +++--- .../get-globals-communitues-section.ts | 0 .../get-globals-features-section.ts | 0 .../{repositories => services}/get-globals-hero-section.ts | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename apps/landing/src/{repositories => services}/get-globals-communitues-section.ts (100%) rename apps/landing/src/{repositories => services}/get-globals-features-section.ts (100%) rename apps/landing/src/{repositories => services}/get-globals-hero-section.ts (100%) diff --git a/apps/landing/src/app/(frontend)/page.tsx b/apps/landing/src/app/(frontend)/page.tsx index 9a5a0ad..8818b6d 100644 --- a/apps/landing/src/app/(frontend)/page.tsx +++ b/apps/landing/src/app/(frontend)/page.tsx @@ -1,6 +1,6 @@ -import { getGlobalsCommunitiesSection } from '../../repositories/get-globals-communitues-section'; -import { getGlobalsFeaturesSection } from '../../repositories/get-globals-features-section'; -import { getGlobalsHeroSection } from '../../repositories/get-globals-hero-section'; +import { getGlobalsCommunitiesSection } from '../../services/get-globals-communitues-section'; +import { getGlobalsFeaturesSection } from '../../services/get-globals-features-section'; +import { getGlobalsHeroSection } from '../../services/get-globals-hero-section'; import { CallToAction } from './_components/call-to-action'; import { Community } from './_components/community'; import { Features } from './_components/features'; diff --git a/apps/landing/src/repositories/get-globals-communitues-section.ts b/apps/landing/src/services/get-globals-communitues-section.ts similarity index 100% rename from apps/landing/src/repositories/get-globals-communitues-section.ts rename to apps/landing/src/services/get-globals-communitues-section.ts diff --git a/apps/landing/src/repositories/get-globals-features-section.ts b/apps/landing/src/services/get-globals-features-section.ts similarity index 100% rename from apps/landing/src/repositories/get-globals-features-section.ts rename to apps/landing/src/services/get-globals-features-section.ts diff --git a/apps/landing/src/repositories/get-globals-hero-section.ts b/apps/landing/src/services/get-globals-hero-section.ts similarity index 100% rename from apps/landing/src/repositories/get-globals-hero-section.ts rename to apps/landing/src/services/get-globals-hero-section.ts