bootstrap布局实现一个ai智能体官网首页代码
代码语言:html
所属分类:布局界面
代码描述:bootstrap布局实现一个ai智能体官网首页代码
代码标签: bootstrap 布局 ai 智能体 官网 首页 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AgentHub - AI智能体中心</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.5.3.0.css">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.8.1.css">
<style>
:root {
--primary-color: #6366f1;
--secondary-color: #ec4899;
--accent-color: #06b6d4;
--bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
body {
background: var(--bg-gradient);
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.sidebar {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 0 20px 20px 0;
box-shadow: var(--card-shadow);
min-height: 100vh;
position: fixed;
width: 250px;
z-index: 1000;
}
.sidebar .nav-link {
color: #64748b;
padding: 12px 20px;
border-radius: 10px;
margin: 5px 15px;
transition: all 0.3s ease;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
background: var(--primary-color);
color: white;
transform: translateX(5px);
}
.main-content {
margin-left: 250px;
padding: 20px;
}
.header-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
box-shadow: var(--card-shadow);
padding: 40px;
text-align: center;
margin-bottom: 30px;
}
.logo {
font-size: 3rem;
font-weight: bold;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
color: #64748b;
font-size: 1.2rem;
margin-top: 10px;
}
.action-buttons {
margin-top: 30px;
}
.btn-custom {
padding: 12px 30px;
border-radius: 25px;
font-weight: 600;
margin: 0 10px;
transition: all 0.3s ease;
border: none;
}
.btn-primary-custom {
background: var(--primary-color);
color: white;
}
.btn-primary-custom:hover {
background: #5855eb;
transform: translateY(-2px);
box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}
.btn-outline-custom {
border: 2px solid var(--primary-color);
color: var(--primary-color);
background: transparent;
}
.btn-outline-custom:hover {
background: var(--primary-color);
color: white;
transform: translateY(-2px);
}
.search-section {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
box-shadow: var(--card-shadow);
padding: 30px;
margin-bottom: 30px;
}
.search-input {
border: none;
border-radius: 15px;
padding: 15px 20px;
background: #f8fafc;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}
.search-btn {
border-radius: 15px;
padding: 15px 25px;
backg.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0