Repository navigation
landing page #789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
landing page #789
Changes from 2 commits
a2faad7
8fb0f8a
4b1ead2
74806c3
3f4c42e
ad61327
3f592b7
9aa1e41
1a3f425
2456041
5a2953c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,62 +1,82 @@ | ||||||||||
| --- | ||||||||||
| title: LangChain docs home | ||||||||||
| title: | ||||||||||
| sidebarTitle: Home | ||||||||||
| description: "The platform for reliable agents" | ||||||||||
| mode: "wide" | ||||||||||
| description: | ||||||||||
| mode: "center" | ||||||||||
| --- | ||||||||||
|
|
||||||||||
| <img | ||||||||||
| className="block dark:hidden" | ||||||||||
| src="/images/brand/langchain-docs-teal.svg" | ||||||||||
| alt="Light mode LangChain docs" | ||||||||||
| /> | ||||||||||
|
|
||||||||||
| # Frameworks | ||||||||||
| <img | ||||||||||
| className="hidden dark:block" | ||||||||||
| src="/images/brand/langchain-docs-lilac.svg" | ||||||||||
| alt="Dark mode LangChain Docs" | ||||||||||
| /> | ||||||||||
|
|
||||||||||
| <CardGroup cols={2}> | ||||||||||
| <Card | ||||||||||
| title="LangChain - Python" | ||||||||||
| href="https://python.langchain.com/docs/introduction/" | ||||||||||
| > | ||||||||||
| Open-source framework for developing applications powered by large language models (LLMs). | ||||||||||
| </Card> | ||||||||||
|
|
||||||||||
| # The agent engineering platform for developers building reliable agents | ||||||||||
|
|
||||||||||
| [NEED COPY FOR HERE] | ||||||||||
|
||||||||||
| [NEED COPY FOR HERE] | |
| Build, evaluate, and deploy robust AI agents with our open-source frameworks and LangSmith platform. Explore tools and resources to accelerate your agent development journey. |
Copilot
AI
Oct 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'contol' to 'control'.
| Iterate on prompts with automatic version contol and collaboration features. | |
| Iterate on prompts with automatic version control and collaboration features. |
Copilot
AI
Oct 8, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'contol' to 'control'.
| Iterate on prompts with automatic version contol and collaboration features. | |
| Iterate on prompts with automatic version control and collaboration features. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| // Smart logo navigation - redirects to the current dropdown's first page | ||
| (function() { | ||
| // Wait for DOM to be ready | ||
| function initSmartLogoNav() { | ||
| const logo = document.querySelector('a[href="/"]') || document.querySelector('a[href*="langchain.com"]'); | ||
|
|
||
| if (!logo) { | ||
| // Try again after a short delay if logo not found | ||
| setTimeout(initSmartLogoNav, 100); | ||
| return; | ||
| } | ||
|
|
||
| logo.addEventListener('click', function(e) { | ||
| const currentPath = window.location.pathname; | ||
| let destination = '/'; // Default to homepage | ||
|
|
||
| // Determine destination based on current path | ||
| if (currentPath.includes('/oss/python/')) { | ||
| destination = '/oss/python/langchain/overview'; | ||
| } else if (currentPath.includes('/oss/javascript/')) { | ||
| destination = '/oss/javascript/langchain/overview'; | ||
|
lnhsingh marked this conversation as resolved.
Outdated
|
||
| } else if (currentPath.includes('/langgraph-platform/')) { | ||
| destination = '/langgraph-platform/index'; | ||
| } else if (currentPath.includes('/langsmith/')) { | ||
| destination = '/langsmith/home'; | ||
| } else if (currentPath.includes('/labs/')) { | ||
| destination = '/labs/index'; | ||
| } | ||
|
|
||
| // If we determined a specific destination, navigate to it | ||
| if (destination !== '/') { | ||
| e.preventDefault(); | ||
| window.location.href = destination; | ||
| } | ||
| // Otherwise, let the default behavior happen (go to homepage) | ||
| }); | ||
| } | ||
|
|
||
| // Initialize when DOM is ready | ||
| if (document.readyState === 'loading') { | ||
| document.addEventListener('DOMContentLoaded', initSmartLogoNav); | ||
| } else { | ||
| initSmartLogoNav(); | ||
| } | ||
| })(); | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title field in the frontmatter is empty. This should contain a descriptive title for the homepage, such as 'LangChain Documentation Home' or 'LangChain Platform'.