lmnr-ai / lmnr

Laminar - open-source all-in-one platform for engineering AI products. Crate data flywheel for you AI app. Traces, Evals, Datasets, Labels. YC S24.
https://www.lmnr.ai
Apache License 2.0
1.19k stars 60 forks source link

Landing #116

Closed skull8888888 closed 1 month ago

skull8888888 commented 1 month ago

[!IMPORTANT] Add GitHub star count display and dynamic pricing calculation to landing and pricing pages.

  • API:
    • Add GET function in route.ts to fetch GitHub stars for lmnr-ai/lmnr repository using GITHUB_TOKEN.
  • Landing Page:
    • Display GitHub star count in landing-header.tsx and landing.tsx using useEffect to fetch from /api/stars.
    • Add SelfHostCard component in landing.tsx to promote self-hosting with code snippet.
  • Pricing:
    • Update pricing.tsx to include dynamic pricing calculation for "Pro" plan based on spans and team members using Slider component.
    • Modify PricingCard to display subfeatures in pricing-card.tsx.
  • UI Components:
    • Add background prop to CodeEditor in code-editor.tsx for customizable background color.
    • Update Slider component in slider.tsx for styling changes.

This description was created by Ellipsis for 564aa4061e6f883467c8706d05793e8ea4c55022. It will automatically update as commits are pushed.