Skip to content

Commit 46d0c0c

Browse files
authored
Merge pull request #53 from jaseci-labs/byllm-jaseci
Byllm website link change from jac-lang.org to docs.jaseci.org
2 parents 7bade7e + 00dce26 commit 46d0c0c

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

byllm/src/components/Header.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ export const Header: React.FC = () => {
3030
Tutorials
3131
</a>
3232
<a
33-
href="https://www.jac-lang.org/learn/jac-byllm/with_llm/"
34-
target="_blank"
35-
rel="noopener noreferrer"
33+
href="https://docs.jaseci.org/learn/jac-byllm/with_llm/"
3634
className="text-muted-foreground hover:text-foreground transition-colors"
3735
>
3836
Documentation

byllm/src/pages/Index.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ const Index = () => {
5454
title: 'RPG Game level generation',
5555
description: 'An LLM powered game world generation into a simple RPG.',
5656
image: example1,
57-
link: 'https://www.jac-lang.org/learn/examples/mtp_examples/rpg_game/'
57+
link: 'https://docs.jaseci.org/learn/examples/mtp_examples/rpg_game/'
5858
},
5959
{
6060
title: 'Agentic AI Chatbot',
6161
description: 'An agentic chatbot built using byLLM and MCP',
6262
image: example2,
63-
link: 'https://www.jac-lang.org/learn/examples/rag_chatbot/Overview/'
63+
link: 'https://docs.jaseci.org/learn/examples/rag_chatbot/Overview/'
6464
},
6565
{
6666
title: 'Agentic Coding Agent (Jac-Aider)',
@@ -131,7 +131,7 @@ const Index = () => {
131131
description: 'Code-along: build an AI-integrated RPG using byLLM to generate dynamic level maps. Follow the video and docs to reproduce the project.',
132132
youtubeId: 'FSIZmwfQD1s',
133133
// Link to the documentation example page as requested by the user
134-
repoLink: 'https://www.jac-lang.org/learn/examples/mtp_examples/rpg_game/',
134+
repoLink: 'https://docs.jaseci.org/learn/examples/mtp_examples/rpg_game/',
135135
},
136136
];
137137

@@ -191,7 +191,7 @@ const Index = () => {
191191
View on GitHub
192192
</Button>
193193
<Button className="btn-hero group"
194-
onClick={() => window.open('https://www.jac-lang.org/learn/jac-byllm/with_llm/', '_blank')}
194+
onClick={() => (window.location.href = 'https://docs.jaseci.org/learn/jac-byllm/with_llm/')}
195195
>
196196
<BookOpen className="mr-2 h-4 w-4" />
197197
View Docs
@@ -630,9 +630,7 @@ const Index = () => {
630630
<div className="container text-center">
631631
<h2 className="text-section mb-4">Ready to dive deeper?</h2>
632632
<a
633-
href="https://www.jac-lang.org/learn/jac-byllm/with_llm/"
634-
target="_blank"
635-
rel="noopener noreferrer"
633+
href="https://docs.jaseci.org/learn/jac-byllm/with_llm/"
636634
>
637635
<Button className="btn-hero text-lg px-8 py-4">
638636
<BookOpen className="mr-2 h-5 w-5" />
@@ -752,7 +750,7 @@ const Index = () => {
752750
</CardHeader>
753751
<CardContent className="p-4">
754752
<div className="flex justify-end">
755-
<Button variant="outline" onClick={() => window.open(t.repoLink, '_blank')}>
753+
<Button variant="outline" onClick={() => (window.location.href = t.repoLink)}>
756754
View Docs
757755
</Button>
758756
</div>
@@ -779,11 +777,11 @@ const Index = () => {
779777
</div>
780778

781779
<div className="grid gap-6 md:grid-cols-1 lg:grid-cols-2 max-w-3xl mx-auto">
782-
{examples.map((example, index) => (
780+
{examples.map((example, index) => (
783781
<Card
784782
key={index}
785783
className="card-interactive group cursor-pointer overflow-hidden"
786-
onClick={() => window.open(example.link, '_blank')}
784+
onClick={() => (window.location.href = example.link)}
787785
>
788786
<div className="aspect-video overflow-hidden">
789787
<img
@@ -882,7 +880,7 @@ const Index = () => {
882880
<h4 className="font-semibold mb-4">Resources</h4>
883881
<ul className="space-y-2 text-sm">
884882
<li>
885-
<a href="https://www.jac-lang.org/learn/jac-byllm/with_llm/" target="_blank" className="text-muted-foreground hover:text-primary transition-colors">
883+
<a href="https://docs.jaseci.org/learn/jac-byllm/with_llm/" className="text-muted-foreground hover:text-primary transition-colors">
886884
Documentation
887885
</a>
888886
</li>
@@ -918,7 +916,7 @@ const Index = () => {
918916
</a>
919917
</li> */}
920918
<li>
921-
<a href="https://www.jac-lang.org/internals/contrib/" target="_blank" className="text-muted-foreground hover:text-primary transition-colors">
919+
<a href="https://docs.jaseci.org/internals/contrib/" className="text-muted-foreground hover:text-primary transition-colors">
922920
Contributing
923921
</a>
924922
</li>

0 commit comments

Comments
 (0)