Skip to content

Commit cbeb892

Browse files
committed
Update web
1 parent 7ef5eda commit cbeb892

File tree

5 files changed

+59
-2
lines changed

5 files changed

+59
-2
lines changed

web/docusaurus.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ const config = {
155155
disableSwitch: false,
156156
respectPrefersColorScheme: true,
157157
},
158+
scripts: [
159+
{
160+
src: "https://buttons.github.io/buttons.js",
161+
async: true,
162+
defer: true,
163+
},
164+
],
158165
}),
159166
};
160167

web/package-lock.json

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"prism-react-renderer": "^1.3.5",
2424
"react": "^17.0.2",
2525
"react-dom": "^17.0.2",
26+
"react-github-btn": "^1.4.0",
2627
"react-player": "^2.12.0"
2728
},
2829
"devDependencies": {

web/src/pages/index.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Link from "@docusaurus/Link";
44
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
55
import Layout from "@theme/Layout";
66
import HomepageFeatures from "@site/src/components/HomepageFeatures";
7+
import GitHubButton from "react-github-btn";
78

89
import styles from "./index.module.css";
910

@@ -13,18 +14,31 @@ function HomepageHeader() {
1314
<header className={clsx("hero hero--primary", styles.heroBanner)}>
1415
<div className="container">
1516
<h1 className="hero__title">{siteConfig.title}</h1>
16-
<p className="hero__subtitle">{siteConfig.tagline}</p>
17+
<p className="hero__subtitle">
18+
Open-source platform to build AI apps, chatbots and agents with your
19+
data
20+
</p>
1721
<div className={styles.buttons}>
1822
<Link
1923
className="button button--secondary button--lg"
2024
href="https://trypromptly.com"
2125
>
22-
Get Started for Free
26+
Try Cloud Offering
2327
</Link>
2428
<Link className="button button--primary button--lg" to="/docs/">
2529
Deploy LLMStack
2630
</Link>
2731
</div>
32+
<div className={styles.githubButtons}>
33+
<GitHubButton
34+
href="https://github.com/trypromptly/LLMStack"
35+
data-size="large"
36+
data-show-count="true"
37+
aria-label="Star trypromptly/LLMStack on GitHub"
38+
>
39+
Star
40+
</GitHubButton>
41+
</div>
2842
</div>
2943
</header>
3044
);

web/src/pages/index.module.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
color: #2c3746;
2626
}
2727

28+
.githubButtons {
29+
gap: 1rem;
30+
padding: 1rem;
31+
}
32+
2833
[data-theme="dark"] .heroBanner {
2934
background-image: radial-gradient(circle, #061522, #032c52);
3035
}

0 commit comments

Comments
 (0)