mirror of
https://github.com/logos-co/logos-web.git
synced 2026-08-27 12:11:14 +00:00
* 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
21 lines
578 B
TypeScript
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'
|
|
)
|
|
}
|