Files
logos-web/apps/web/lib/tech-stack-overview.ts
T
Jinho Jang cdc110a0ac UI updates (#15)
* Refactor technology stack integration and update documentation links

- Updated the technology stack links in various components to point to the new GitHub documentation repository.
- Refactored the Lambda Prize page to utilize a shared TechStackSection instead of local tech cards.
- Removed redundant tech stack message copies from the storage and technology stack pages.
- Enhanced the home feature cards section to use Link components for navigation.
- Added tests to ensure the integrity of the new tech stack structure and documentation links.

* feat: integrate social proof stats into home page and update related components
2026-05-27 13:26:53 +09:00

21 lines
578 B
TypeScript

import { getPageCopy } from '@repo/content/loaders'
import type { Language, TechStackOverviewSection } from '@repo/content/schemas'
import { ROUTES } from '@/constants/routes'
import { createSectionFinder } from './page-sections'
const findHomeSection = createSectionFinder('home')
export async function getHomeTechStackOverview(
locale: Language
): Promise<TechStackOverviewSection> {
const homePage = await getPageCopy(ROUTES.home, locale)
return findHomeSection<TechStackOverviewSection>(
homePage.sections,
'techStackOverview',
'home.techStack'
)
}