Skip to content

Commit 888af7f

Browse files
committed
feat: new ecommerce page
1 parent 4e2dc9a commit 888af7f

File tree

5 files changed

+183
-20
lines changed

5 files changed

+183
-20
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"lodash.merge": "^4.6.2",
3030
"react": "^18.3.1",
3131
"react-dom": "^18.3.1",
32-
"trieve-search-component": "^0.2.60",
32+
"trieve-search-component": "^0.3.7",
3333
"unpic": "^3.17.0"
3434
},
3535
"devDependencies": {
@@ -59,4 +59,4 @@
5959
"engines": {
6060
"node": ">=18.14.1"
6161
}
62-
}
62+
}

src/navigation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ import { getAsset } from '~/utils/permalinks';
44
export const headerData = {
55
links: [
66
{
7-
text: 'API Documentation',
7+
text: 'Developers',
88
href: 'https://docs.trieve.ai',
99
},
1010
{
1111
text: 'Pricing',
1212
href: '/pricing',
1313
},
1414
{
15-
text: 'Sitesearch',
16-
href: '/sitesearch',
15+
text: 'Ecommerce',
16+
href: '/ecommerce',
1717
},
1818
{
1919
text: 'Blog',

src/pages/ecommerce.astro

Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
---
2+
import Layout from '~/layouts/PageLayout.astro';
3+
import Hero from '~/components/widgets/Hero.astro';
4+
import Features from '~/components/widgets/Features.astro';
5+
import Steps from '~/components/widgets/Steps.astro';
6+
import Content from '~/components/widgets/Content.astro';
7+
import CallToAction from '~/components/widgets/CallToAction.astro';
8+
import Logos from '~/components/widgets/Logos.astro';
9+
10+
const metadata = {
11+
title: 'Trieve provides AI-native conversational discovery solutions for ecommerce',
12+
ignoreTitleTemplate: true,
13+
};
14+
---
15+
16+
<meta property="og:title" content="Trieve" />
17+
<meta property="og:site_name" content="" />
18+
<meta property="og:url" content="https://search.trieve.ai" />
19+
<meta property="og:description" content="" />
20+
<meta property="og:type" content="" />
21+
<meta property="og:image" content="https://cdn.trieve.ai/trieve-og.png" />
22+
<script is:inline defer data-domain="trieve.ai" src="https://plausible.trieve.ai/js/script.js"></script>
23+
24+
<Layout metadata={metadata}>
25+
<!-- Hero Widget ******************* -->
26+
27+
<Hero
28+
actions={[
29+
{
30+
variant: 'primary',
31+
text: 'Get Started Free',
32+
href: 'https://dashboard.trieve.ai',
33+
target: '_blank',
34+
icon: 'tabler:external-link',
35+
},
36+
{
37+
variant: 'secondary',
38+
text: 'Request a demo',
39+
icon: 'tabler:presentation',
40+
href: '/request-demo',
41+
},
42+
]}
43+
>
44+
<Fragment slot="title"> Conversational Discovery for any Ecommerce Experience </Fragment>
45+
46+
<Fragment slot="subtitle">
47+
<span class="hidden sm:inline">
48+
Discovery isn't just search and recommendations. Consumers coming from Google, Bing, and Perplexity all expect
49+
GenAI. <br />
50+
</span>
51+
</Fragment>
52+
</Hero>
53+
54+
<Logos
55+
title="Powering 30,000+ discovery experiences across categories"
56+
logos={[
57+
{ src: 'https://cdn.trieve.ai/customer-logos/mintlify-logo.svg' },
58+
{ src: 'https://cdn.trieve.ai/customer-logos/vapi-logo.png' },
59+
{ src: 'https://cdn.trieve.ai/customer-logos/guardant-health-logo.svg' },
60+
{ src: 'https://cdn.trieve.ai/customer-logos/bestway-logo.png' },
61+
{ src: 'https://cdn.trieve.ai/customer-logos/signoz-logo.svg' },
62+
{ src: 'https://cdn.trieve.ai/customer-logos/parcelhero.webp' },
63+
{ src: 'https://cdn.trieve.ai/customer-logos/billtrack50logo.svg' },
64+
{ src: 'https://cdn.trieve.ai/customer-logos/hostai-logo.webp' },
65+
{ src: 'https://cdn.trieve.ai/customer-logos/openmart-logo.svg' },
66+
{ src: 'https://cdn.trieve.ai/customer-logos/agentic-labs-logo.png' },
67+
]}
68+
/>
69+
70+
<!-- Content Widget **************** -->
71+
72+
<Content
73+
isReversed
74+
tagline="Build Fast and Don't Break Things"
75+
title="Manage ingestion, embeddings and analytics with ease"
76+
items={[
77+
{
78+
title: 'Private Open-Source Models',
79+
description: 'We use open source embedding models and LLMs running in our own servers. Data is never leaked.',
80+
},
81+
{
82+
title: 'Batteries Included',
83+
description:
84+
'Our API surface covers chunking, ingestion, search, recommendations, RAG, and even a little front-end.',
85+
},
86+
{
87+
title: 'Self-Hostable',
88+
description:
89+
'Sensitive data? Need maximum performance? Host Trieve yourself with terraform templates and no external dependencies.',
90+
},
91+
]}
92+
image={{
93+
src: 'https://cdn.trieve.ai/battery-4-square.png',
94+
alt: 'Visual of Trieve features',
95+
}}
96+
>
97+
<Fragment slot="content">
98+
<h3 class="text-2xl font-bold tracking-tight sm:text-3xl mb-2">Built on the best foundations</h3>
99+
We help companies build unfair competitive advantages through their search, discovery, and RAG experiences
100+
</Fragment>
101+
102+
<Fragment slot="bg">
103+
<div class="absolute inset-0 bg-blue-50 dark:bg-transparent"></div>
104+
</Fragment>
105+
</Content>
106+
107+
<!-- Steps Widget ****************** -->
108+
109+
<Steps
110+
title="Set up industry-leading search in 30 minutes"
111+
items={[
112+
{
113+
title: 'Step 1: <span class="font-medium">Add Existing Data</span>',
114+
description:
115+
'Upload individual chunks or entire documents that get chunked by our algorithms via our API or no-code dashboard.',
116+
icon: 'tabler:database-export',
117+
},
118+
{
119+
title: 'Step 2: <span class="font-medium">Integrate our API</em>',
120+
description: 'Add calls to our API on your create and update routes to keep your data current.',
121+
icon: 'tabler:git-merge',
122+
},
123+
{
124+
title: 'Step 3: <span class="font-medium">Search, Recommend, or Generate</span>',
125+
description:
126+
'Test and tune search, recommendations, and chat quality with our search playground, then integrate the API calls into your product.',
127+
icon: 'tabler:telescope',
128+
},
129+
{
130+
title: 'Ready!',
131+
icon: 'tabler:check',
132+
},
133+
]}
134+
image={{
135+
src: 'https://cdn.trieve.ai/db-4-square.png',
136+
alt: 'Steps to use',
137+
}}
138+
/>
139+
140+
<!-- CallToAction Widget *********** -->
141+
142+
<CallToAction
143+
actions={[
144+
{
145+
variant: 'primary',
146+
text: 'Get Started Free',
147+
href: 'https://dashboard.trieve.ai',
148+
target: '_blank',
149+
icon: 'tabler:external-link',
150+
},
151+
{
152+
variant: 'secondary',
153+
text: 'Request a demo',
154+
icon: 'tabler:presentation',
155+
href: '/request-demo',
156+
},
157+
]}
158+
>
159+
<Fragment slot="title">Take control of your search.</Fragment>
160+
161+
<Fragment slot="subtitle">AI-native, end-to-end, self-hostable API for the trends of today and tomorrow</Fragment>
162+
</CallToAction>
163+
</Layout>

src/pages/pricing.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import Layout from '~/layouts/PageLayout.astro';
33
import HeroText from '~/components/widgets/HeroText.astro';
44
import Prices from '~/components/widgets/Pricing.astro';
5-
import Features3 from '~/components/widgets/Features3.astro';
65
import CallToAction from '~/components/widgets/CallToAction.astro';
76
87
const metadata = {

yarn.lock

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3558,6 +3558,11 @@ jiti@^1.21.6:
35583558
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.7.tgz#9dd81043424a3d28458b193d965f0d18a2300ba9"
35593559
integrity sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==
35603560

3561+
jotai@^2.11.0:
3562+
version "2.11.0"
3563+
resolved "https://registry.yarnpkg.com/jotai/-/jotai-2.11.0.tgz#923f8351e0b2d721036af892c0ae25625049d120"
3564+
integrity sha512-zKfoBBD1uDw3rljwHkt0fWuja1B76R7CjznuBO+mSX6jpsO1EBeWNRKpeaQho9yPI/pvCv4recGfgOXGxwPZvQ==
3565+
35613566
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
35623567
version "4.0.0"
35633568
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -3878,11 +3883,6 @@ mdast-util-gfm-task-list-item@^2.0.0:
38783883
version "2.0.0"
38793884
resolved "https://registry.yarnpkg.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz#e68095d2f8a4303ef24094ab642e1047b991a936"
38803885
integrity sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==
3881-
dependencies:
3882-
"@types/mdast" "^4.0.0"
3883-
devlop "^1.0.0"
3884-
mdast-util-from-markdown "^2.0.0"
3885-
mdast-util-to-markdown "^2.0.0"
38863886

38873887
mdast-util-gfm@^3.0.0:
38883888
version "3.0.0"
@@ -5017,10 +5017,10 @@ react-markdown@^9.0.1:
50175017
unist-util-visit "^5.0.0"
50185018
vfile "^6.0.0"
50195019

5020-
5021-
version "0.0.11"
5022-
resolved "https://registry.yarnpkg.com/react-pdf-spotlight/-/react-pdf-spotlight-0.0.11.tgz#6b714d5aeac77c6918922c830039ec1e4553b751"
5023-
integrity sha512-Go68WzKQPj8fJe+tSXcGcdmiWUUSAZu10YlJ4n+4j+gcbb6eVaYftWTpU9rsPQiLyTFatrlHNm1ILKU0c+u5xg==
5020+
5021+
version "0.0.15"
5022+
resolved "https://registry.yarnpkg.com/react-pdf-spotlight/-/react-pdf-spotlight-0.0.15.tgz#00509fb6936625bfbeb96986d35e0e066bde4a67"
5023+
integrity sha512-GVm2DhXem7fSSv584n3wdkGiqrNvtattE3peHuGFsE8sJhAIkHPmps8V4eh/xoTM5gOJw3zpTPumA2BUnjBSPA==
50245024
dependencies:
50255025
pdfjs-dist "^4.9.155"
50265026

@@ -5888,15 +5888,16 @@ to-regex-range@^5.0.1:
58885888
dependencies:
58895889
is-number "^7.0.0"
58905890

5891-
trieve-search-component@^0.2.60:
5892-
version "0.2.68"
5893-
resolved "https://registry.yarnpkg.com/trieve-search-component/-/trieve-search-component-0.2.68.tgz#539b5711115d124969131511db865e3101917575"
5894-
integrity sha512-d7+66+9DNj/gY4epZXN72puUb7w+8YCKWqo3R7Iqv4F59nDE1+A0/skkWOt9mUDS9U5/H/QKBN7OVBqTIcYDAw==
5891+
trieve-search-component@^0.3.7:
5892+
version "0.3.7"
5893+
resolved "https://registry.yarnpkg.com/trieve-search-component/-/trieve-search-component-0.3.7.tgz#78eb8b3b3afd32a7da5a81cda4e82e0618384e0c"
5894+
integrity sha512-S9EOk4kd5l0ms9Jwq4klOHYA/Xai5G7tACItX1iv66oVN0iV+xvQo+L5SYEz9i9IPGjufKIKApkHee4tIrasKA==
58955895
dependencies:
58965896
"@r2wc/react-to-web-component" "^2.0.3"
58975897
"@thumbmarkjs/thumbmarkjs" "^0.16.1"
5898+
jotai "^2.11.0"
58985899
react-markdown "^9.0.1"
5899-
react-pdf-spotlight "0.0.11"
5900+
react-pdf-spotlight "0.0.15"
59005901
react-snap-carousel "^0.5.0"
59015902
trieve-ts-sdk "*"
59025903

0 commit comments

Comments
 (0)