Skip to content

Commit

Permalink
update Home page customization
Browse files Browse the repository at this point in the history
  • Loading branch information
tanglingxiu committed Dec 4, 2024
1 parent 9e3fc5b commit 72f9df6
Show file tree
Hide file tree
Showing 21 changed files with 493 additions and 81 deletions.
Binary file added docs/en/assets/images/GeneralTaskSolver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/assets/images/OutfitwithLTM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/assets/images/OutfitwithLoop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/assets/images/OutfitwithSwitch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/assets/images/SimpleVQA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/assets/images/Videounderstanding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/en/assets/images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions docs/en/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Build Agents For Your Smart Devices

Some Introductions

---
template: home.html
hide:
- navigation
- toc
---
Binary file added docs/zh/assets/images/GeneralTaskSolver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/assets/images/OutfitwithLTM.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/assets/images/OutfitwithLoop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/assets/images/OutfitwithSwitch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/assets/images/SimpleVQA.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/assets/images/Videounderstanding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/zh/assets/images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions docs/zh/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 为你的智能设备构建智能代理



---
template: home.html
hide:
- navigation
- toc
---
147 changes: 74 additions & 73 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ site_name: OmAgent
site_url: https://om-ai-lab.github.io/OmAgentDocs/
theme:
name: material
custom_dir: overrides
features:
- navigation.instant
- navigation.instant.progress
Expand Down Expand Up @@ -31,92 +32,92 @@ plugins:
nav:
- Home: index.md
- Getting Started:
- Quick Start: Getting Started/1_quick_start.md
- Connect to device: Getting Started/2_devices.md
- Visualization and analysis: Getting Started/3_visual.md
- Quick Start: Getting Started/1_quick_start.md
- Connect to device: Getting Started/2_devices.md
- Visualization and analysis: Getting Started/3_visual.md
- Guides:
- Let the agent think:
- More complex workflow: Guides/Let the agent think/1_workflow.md
- Tools: Guides/Let the agent think/2_tool.md
- Let the agent remember:
- Memory: Guides/Let the agent remember/1_memory.md
- Let the agent think:
- More complex workflow: Guides/Let the agent think/1_workflow.md
- Tools: Guides/Let the agent think/2_tool.md
- Let the agent remember:
- Memory: Guides/Let the agent remember/1_memory.md
- Core Concepts:
- Node:
- Introduction: Core Concepts/Node/intro.md
- Configuration: Core Concepts/Node/config.md
- Build: Core Concepts/Node/build.md
- Workflow:
- Introduction: Core Concepts/Workflow/intro.md
- Configuration: Core Concepts/Workflow/config.md
- Build: Core Concepts/Workflow/build.md
- Models:
- Introduction: Core Concepts/Models/intro.md
- Configuration: Core Concepts/Models/config.md
- Build: Core Concepts/Models/build.md
- Tool:
- Introduction: Core Concepts/Tool/intro.md
- Configuration: Core Concepts/Tool/config.md
- Build: Core Concepts/Tool/build.md
- Memory:
- Introduction: Core Concepts/Memory/intro.md
- Configuration: Core Concepts/Memory/config.md
- Build: Core Concepts/Memory/build.md
- Clients:
- Introduction: Core Concepts/Clients/intro.md
- Configuration: Core Concepts/Clients/config.md
- Build: Core Concepts/Clients/build.md
- Node:
- Introduction: Core Concepts/Node/intro.md
- Configuration: Core Concepts/Node/config.md
- Build: Core Concepts/Node/build.md
- Workflow:
- Introduction: Core Concepts/Workflow/intro.md
- Configuration: Core Concepts/Workflow/config.md
- Build: Core Concepts/Workflow/build.md
- Models:
- Introduction: Core Concepts/Models/intro.md
- Configuration: Core Concepts/Models/config.md
- Build: Core Concepts/Models/build.md
- Tool:
- Introduction: Core Concepts/Tool/intro.md
- Configuration: Core Concepts/Tool/config.md
- Build: Core Concepts/Tool/build.md
- Memory:
- Introduction: Core Concepts/Memory/intro.md
- Configuration: Core Concepts/Memory/config.md
- Build: Core Concepts/Memory/build.md
- Clients:
- Introduction: Core Concepts/Clients/intro.md
- Configuration: Core Concepts/Clients/config.md
- Build: Core Concepts/Clients/build.md
- locale: zh
name: 中文
build: true
nav:
- 首页: index.md
- 开始:
- 快速开始: Getting Started/1_quick_start.md
- 连接设备: Getting Started/2_devices.md
- 可视化与分析: Getting Started/3_visual.md
- 快速开始: Getting Started/1_quick_start.md
- 连接设备: Getting Started/2_devices.md
- 可视化与分析: Getting Started/3_visual.md
- 指南:
- 让Agent思考:
- 更复杂的流程: Guides/Let the agent think/1_workflow.md
- 使用工具: Guides/Let the agent think/2_tool.md
- 让Agent记住:
- 记忆: Guides/Let the agent remember/1_memory.md
- 让Agent思考:
- 更复杂的流程: Guides/Let the agent think/1_workflow.md
- 使用工具: Guides/Let the agent think/2_tool.md
- 让Agent记住:
- 记忆: Guides/Let the agent remember/1_memory.md
- 核心概念:
- Node:
- 介绍: Core Concepts/Node/intro.md
- 配置: Core Concepts/Node/config.md
- 构建: Core Concepts/Node/build.md
- Workflow:
- 介绍: Core Concepts/Workflow/intro.md
- 配置: Core Concepts/Workflow/config.md
- 构建: Core Concepts/Workflow/build.md
- Models:
- 介绍: Core Concepts/Models/intro.md
- 配置: Core Concepts/Models/config.md
- 构建: Core Concepts/Models/build.md
- Tool:
- 介绍: Core Concepts/Tool/intro.md
- 配置: Core Concepts/Tool/config.md
- 构建: Core Concepts/Tool/build.md
- Memory:
- 介绍: Core Concepts/Memory/intro.md
- 配置: Core Concepts/Memory/config.md
- 构建: Core Concepts/Memory/build.md
- Clients:
- 介绍: Core Concepts/Clients/intro.md
- 配置: Core Concepts/Clients/config.md
- 构建: Core Concepts/Clients/build.md
- Node:
- 介绍: Core Concepts/Node/intro.md
- 配置: Core Concepts/Node/config.md
- 构建: Core Concepts/Node/build.md
- Workflow:
- 介绍: Core Concepts/Workflow/intro.md
- 配置: Core Concepts/Workflow/config.md
- 构建: Core Concepts/Workflow/build.md
- Models:
- 介绍: Core Concepts/Models/intro.md
- 配置: Core Concepts/Models/config.md
- 构建: Core Concepts/Models/build.md
- Tool:
- 介绍: Core Concepts/Tool/intro.md
- 配置: Core Concepts/Tool/config.md
- 构建: Core Concepts/Tool/build.md
- Memory:
- 介绍: Core Concepts/Memory/intro.md
- 配置: Core Concepts/Memory/config.md
- 构建: Core Concepts/Memory/build.md
- Clients:
- 介绍: Core Concepts/Clients/intro.md
- 配置: Core Concepts/Clients/config.md
- 构建: Core Concepts/Clients/build.md
- search: # 搜索
lang:
- en
- zh
- en
- zh
separator: '[\s\-\.]+' # 分词分隔符
extra:
social: # 社交账号
- icon: fontawesome/brands/github
link: https://github.com/om-ai-lab/OmAgent
- icon: fontawesome/brands/square-x-twitter
link: https://x.com/OmAI_lab
- icon: fontawesome/brands/discord
link: https://discord.gg/CtmCgXZB
- icon: fontawesome/brands/github
link: https://github.com/om-ai-lab/OmAgent
- icon: fontawesome/brands/square-x-twitter
link: https://x.com/OmAI_lab
- icon: fontawesome/brands/discord
link: https://discord.gg/CtmCgXZB
version:
provider: mike
provider: mike
Binary file added overrides/assets/images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
185 changes: 185 additions & 0 deletions overrides/assets/stylesheets/custom.7c86dd97.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
.container_head {
}
.container_head_img {
width: 100%;
height: 100%;
}
[data-md-color-schreme="slate"] .mdx-container {
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(230, 15%, 14%, 1)' /></svg>")
no-repeat bottom,
linear-gradient(
to bottom,
var(--md-primary-fg-color),
#363949 99%,
var(--md-default-bg-color) 99%
);
}
.mdx-container {
background-color: #031127;
}
.mdx__content {
position: absolute;
top: 20vw;
left: 9vw;
width: 45vw;
}
.mdx_title {
color: #fff;
font-size: 4rem;
letter-spacing: 0rem;
font-family: Alibaba Sans;
}
.mdx_subtitle {
color: #fff;
font-family: MiSans;
font-size: 2.1rem;
font-weight: 300;
letter-spacing: 0rem;
}

.content_title {
font-size: 1.6rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0rem;
color: #ffffff;
padding: 0 7rem;
margin: 2.7rem 0 1.4rem;
}
.container {
display: flex;
flex-wrap: wrap;
padding: 0 7rem 2rem;
gap: 3.2rem 1.5rem;
}
.item {
width: calc(33.33% - 1.5rem);
box-sizing: border-box;
cursor: pointer;
}
.item_img:hover {
box-shadow: 0px 8px 20px 0px rgb(255 255 255 / 18%);
}
.item_img {
width: 100%;
/* height: calc((33.33% - 1.5rem) / 0.67); */
border-radius: 1rem;
}
.item_title {
font-size: 0.8rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0rem;
color: #ffffff;
margin: 1rem 0 0.5rem;
}
.item_desc {
font-size: 0.6rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0rem;
color: rgba(255, 255, 255, 0.8);
}

.popup {
display: none; /* Hidden by default */
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #0a1d34;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 1000;
width: 54.6rem;
border-radius: 1rem;
}

/* Overlay to darken the background */
.overlay {
display: none; /* Hidden by default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.popup_header {
display: flex;
justify-content: space-between;
align-items: center;
}
.popup_title {
font-size: 1.2rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0em;
color: #ffffff;
}
.popup_share {
display: flex;
font-size: 1rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0em;
color: rgba(255, 255, 255, 0.7);
align-items: center;
gap: 16px;
}
.share_btn {
cursor: pointer;
}
.try_btn {
width: 4rem;
height: 1.5rem;
border-radius: 8px;
opacity: 1;

background: #2d5cf6;

font-size: 0.8rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0em;
color: #ffffff;
line-height: 1.5rem;
text-align: center;
cursor: pointer;
}
.popup_content {
display: flex;
margin-top: 1rem;
}
.cont_info {
background: #070f20;
padding: 20px 24px;
border-radius: 8px 0 0 8px;
}
.popup_cont_img {
width: 32.7rem;
border-radius: 0 8px 8px 0;
}
.cont_info_title {
font-size: 1rem;
font-weight: 500;
line-height: normal;
letter-spacing: 0em;
color: #ffffff;
}
.cont_info_desc {
font-size: 0.7rem;
font-weight: normal;
line-height: normal;
letter-spacing: 0em;

color: rgba(255, 255, 255, 0.7);
}
.cont_info_device {
font-size: 1rem;
font-weight: 500;
line-height: normal;
letter-spacing: 0em;
color: #ffffff;
}
Loading

0 comments on commit 72f9df6

Please sign in to comment.