This document provides a comprehensive overview of the Datum Inc. website project structure.
.
├── src/ # Source code
├── public/ # Static files served as-is
├── config/ # Kubernetes deployment configuration
├── dist/ # Build output (generated)
├── tests/ # End-to-end tests
├── init/ # Database initialization scripts
├── scripts/ # Standalone maintenance scripts (SEO review, cache warmup)
├── templates/ # Code-generation templates (API docs)
├── .github/ # GitHub configuration and workflows
├── .vscode/ # VS Code settings
├── astro.config.mjs # Astro configuration
├── docker-compose.yml # Docker Compose configuration
├── Dockerfile # Docker build configuration
├── package.json # Project dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── eslint.config.mjs # ESLint configuration
└── playwright.config.ts # Playwright test configuration
Server-side actions for form submissions and API interactions:
index.ts- Main actions exportdemo.ts- Book-a-demo form action (sends vialibs/mailer.ts)newsletter.ts- Newsletter subscription actions
Reusable UI components organized by feature:
Announcement.astro- Announcement bannerArticleNavigation.astro- Article navigationAside.astro- Aside componentButton.astro- Button componentCard.astro- Card componentCollectionEntryBody.astro- Renders a content-collection entry bodyContainer.astro- Container wrapperFAQ.astro- FAQ componentFavicons.astro- Favicons componentFigure.astro- Figure componentFooter.astro/FooterAiAgents.astro- Site footer variantsGithubStargazerValue.astro- GitHub stargazer counterGlobalSection.astro- Generic full-width section wrapperGrafanaResourceGenerator.astro/GrafanaUrlGenerator.astro- Grafana dashboard link generatorsHeader.astro- Page headerHero.astro- Hero componentIcon.astro- Icon componentJsonLd.astro- JSON-LD structured data injectorLayoutEmbedScripts.astro- Shared embed/analytics scriptsLogoDropdown.astro- Logo dropdown menuMarkdownLightbox.astro/MediaLightbox.astro- Image/video lightboxMobileMenu.astro- Mobile navigation menuNav.astro/NavMenu.astro- Site navigationPagination.astro- Pagination componentPricingCard.astro- Pricing cardSecondaryTabNav.astro- Secondary tab navigationTableOfContents.astro- Table of contents componentTeamMemberCard.astro- Team member card
About (about/)
AboutHero.astro- "Why Datum?" hero with the companies logo barFoundingInsight.astro- Scroll-driven photo collage + founding insight copy (module-collage.js)Investors.astro- Investors logo gridExploreCards.astro- Team / Work with us / In the wild cards with tab stripTwinsInTheLoop.astro- Latest "Twins in the Loop" posts (Strapitwins-post)TeamGrid.astro/TeamGridSkeleton.astro- /about/team department tabs + grid (Strapi-backed) with loading skeletonProfileModal.astro- Profile modal component
Blog (blog/)
BlogItemStrapi.astro- Individual blog post card (Strapi-backed)BlogPagination.astro- Blog paginationBlogStrapi.astro/BlogStrapiSkeleton.astro- Blog listing with loading skeletonFeaturedPostStrapi.astro- Featured blog post
Brand (brand/)
BrandCard.astro/BrandCardImage.astro/BrandCardText.astro- Brand card and variants (used fromcontent/pages/brand/*.mdx)ColorPalette.astro- Color palette displayNavBrand.astro- Brand navigation
Career (career/)
Benefits.astro- Career benefits componentCulture.astro- Company culture componentJobList.astro- Job listing componentMission.astro- Company mission component
Changelog (changelog/)
Card.astro- Changelog cardSkeleton.astro- Loading skeleton
Content (content/)
Note.astro/TabItem.astro/Tabs.astro- MDX content primitives (callouts, tabbed content)index.ts/tabs.ts- Content component exports and tab logic
Download (download/)
Download.astro- Download link/buttonDownloadNav.astro- Download page navigation
Events (events/)
Card.astro- Event card componentCommunityHuddlePastModal.astro- Past community huddle modalEventBadge.astro- Event status badgeEventCalendarSection.astro- Event calendar sectionEventCategoryCard.astro- Event category cardEventPeople.astro- Event speakers/attendeesEventSeriesCard.astro- Event series cardSkeleton.astro- Loading skeleton
Features (features/)
Cards.astro- Feature cardsTable.astro- Feature comparison table
Forms (forms/)
BookDemo.astro- Book-a-demo form (submits viaactions/demo.ts)Contact.astro- Contact formNewsletterModal.astro- Newsletter signup modal
Handbook (handbook/)
Article.astro- Handbook articleEditPage.astro- "Edit this page" linkLastUpdated.astro- Last-updated timestampPageNav.astro- Prev/next page navigationSidebar.astro- Handbook sidebar
Hello (hello/)
HelloBehindCard.astro/HelloCard.astro/HelloHero.astro-/hellolanding page sections
Home (home/)
DatumPlatform.astro- Platform overview sectionDedicatedCloud.astro- Dedicated cloud sectionHero.astro/HomeHero.astro- Homepage heroMission.astro- Mission sectionVideo.astro- Video sectionWhatIsDatum.astro- "What is Datum" section
Locations (locations/)
LocationsList.astro- Locations listLocationsMap.astro- Locations map
Roadmap (roadmap/)
RoadmapBacklog.astro/RoadmapBacklogRow.astro- Backlog tableRoadmapCard.astro- Roadmap cardRoadmapDetailContent.astro- Roadmap detail page contentRoadmapGrid.astro/RoadmapRow.astro- Roadmap listing layoutsRoadmapStrapi.astro- Roadmap listing (Strapi-backed)RoadmapViewFilter.astro- Grid/list view filter
Static data files:
ai-prompt.md- AI agent system prompt contentannouncement.json- Announcement banner configdownloads.json- Download page entriesfeatures.json- Feature descriptionslocations.json- Office/location datalogos.json- Logo datanavigation.json- Navigation structureschemaOrgSite.ts- Schema.org site datasiteConfig.json- Site configuration
Content (src/content/)
Content files organized by content type. See CONTENT_STRUCTURE.md for detailed content organization.
about/- About page content and imagescareers/- Career content and assetscategories/- Blog post categorieschangelog/- Changelog entriesdownload/- Downloads contentevents/- Event entriesfaq/- Frequently asked questionsfeatures/- Feature descriptionshandbook/- Company handbookimages/- Shared images (OG, etc.)legal/- Legal documentspages/- Static page contentpricing/- Pricing configuration (JSON)
Layouts (src/layouts/)
Page layout templates:
Layout.astro- Default layoutLayoutMinimal.astro- Minimal layoutLayoutSimple.astro- Simple layoutNotFound.astro- 404 page layout
Libraries (src/libs/)
Reusable utility libraries:
ashby.ts- Ashby (careers) API clientcache.ts- Caching utilitiescacheApiAuth.ts- Auth guard for cache API routescacheViewer.ts- Cache inspection utilitiesdatum.ts- Datum API clientevents.ts- Events data fetching/formattinggithub.ts- GitHub API clientgithubBacklog.ts- GitHub-backed roadmap backloggithubRoadmap.ts- GitHub milestones-backed roadmap content (replaces the old Strapi-sourced roadmap; seedocs/STRAPI_CACHE_API.mdfor caching)k8s-client.ts- Kubernetes clientmailer.ts- Email sending (used byactions/demo.ts)postgres.ts- Postgres clientsafeRedirect.ts- Restricts redirect targets to same-origin pathsstring.ts- String helpersstrapi/- Strapi CMS client_runtime.ts- Shared runtime helpersarticles.ts- Blog article queriesauthors.ts- Author queriesdrivers/- Cache driver backends (redis.ts,resilient.ts)graphqlPagination.ts- GraphQL pagination helperhttpCache.ts- HTTP-level cachingindex.ts- Strapi client exportsregenerateCache.ts- Cache regeneration (also drives force-regen for the GitHub-sourced roadmap/backlog caches, seedocs/STRAPI_CACHE_API.md)resilientGraphqlClient.ts- GraphQL client with retriesdrivers/- Underlying transport drivers
File-based routes. Notable routes beyond the obvious top-level pages:
api/- API routesapi/cache/index.ts/api/cache/[name].ts/api/cache/strapi.ts- Cache inventory (GET), single-key JSON (GET/api/cache/:name), Strapi regenerate (POST); see STRAPI_CACHE_API.mdapi/webhooks/strapi-content.ts- Strapi content-change webhook
blog/,authors/,roadmap/,download/- Dynamic listing/detail pages, each with a matching*.md.tsmarkdown-export routedev/-build.astro,info.astro- Build status/info pagesdemo.astro- Book-a-demo page (renderscomponents/forms/BookDemo.astro)llms.txt.ts/llms-full.txt.ts- LLMs.txt endpointsrss.xml.js/sitemap.xml.ts- Feed and sitemap endpoints
Astro/remark build plugins:
announcement.ts- Announcement integrationremarkModifiedTime.mjs- Modified-time remark pluginsitemap.ts- Sitemap plugin
TypeScript type definitions:
brand.ts- Brand typeschangelog.ts- Changelog typescommon.ts- Common typesfeatures.ts- Feature typesform.ts- Form typesk8s-resources.ts- Kubernetes resource typesnavigation.ts- Navigation typesroadmap.ts- Roadmap typesstrapi.ts- Strapi API response typesteam.ts- Team types
Utility functions:
authorUtils.ts- Author utilitiesblogPagination.ts- Blog pagination helperscollectionUtils.ts- Collection utilitiesdateUtils.ts- Date utilitiesexpressiveCode.ts/expressiveCodeOptions.ts- Code block rendering configgithub.ts- GitHub utilitiesiconMap.ts- Icon mappingllmsUtils.ts- LLMs utilitiesmarkdownExport.ts- Markdown export helpersmarkdownFigure.ts- Markdown figure renderingmarkdownRegistry.ts- Markdown component registrypageMarkdown.ts- Page-to-markdown renderingstring.ts- String utilitiesyoutube.ts- YouTube embed helpers
Static (src/static/)
Legacy static assets and styles:
assets/- Legacy images, SVGs, and other assetsscripts/- Legacy JavaScript filesstyles/- Legacy CSS files
Configuration Files
content.config.ts- Content collection configurationentrypoint.ts- Application entry pointenv.d.ts- Environment typesglobal.d.ts- Global typesmiddleware.ts- Astro middleware
Static files served as-is:
fonts/- Web fontsimages/- Static imagesdownload/- Downloadable assetsfavicons/- Favicon filesfavicon.ico,favicon.png,favicon.svg- Root faviconssite.webmanifest- Web app manifestrobots.txt- Robots directives*.md- Prerendered markdown exports of top-level pages (for.mdfetches)
base/- Deployment, service, HTTP route, and Redis kustomize basegateway/- Gateway API configuration (endpoint, gateway, HTTP routes, namespace, kustomization)
roadmap.sql- Roadmap schema/seed script
seo-review.mjs/seo-review.config.json- SEO review toolingwarmup-cache.ts- Cache warmup script
api-docs/- API documentation generation templates (gv_details.tpl,gv_list.tpl,type.tpl,type_members.tpl)
End-to-end tests using Playwright:
e2e/home.spec.ts- Homepage teststest-webhook.sh- Manual webhook test script
Generated build artifacts (not committed):
client/- Client-side build outputserver/- Server-side build output
For detailed content organization, see CONTENT_STRUCTURE.md.
- Components: PascalCase (e.g.,
Button.astro,BlogItemStrapi.astro) - Pages: kebab-case or PascalCase (e.g.,
index.astro,blog.astro) - Utilities: camelCase (e.g.,
dateUtils.ts,collectionUtils.ts) - Types: camelCase (e.g.,
brand.ts,common.ts) - Content: kebab-case (e.g.,
our-purpose.mdx,team.mdx)
Components are organized by feature/domain when they belong to a specific section of the site. Shared/common components are placed directly in src/components/.
Astro uses file-based routing:
- Files in
src/pages/automatically become routes index.astrofiles create index routes_[...slug].astrocreates catch-all dynamic routes- Folders create nested routes