1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 16:52:59 +01:00
actix-website/layouts/partials/header.html

83 lines
3.6 KiB
HTML
Raw Normal View History

2018-05-22 23:15:08 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<link rel="stylesheet" href="/css/bootstrap-reboot.css">
<link rel="stylesheet" href="/css/bootstrap.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/actix.css">
<link rel="stylesheet" href="/css/highlight.css">
2018-06-18 11:41:33 +02:00
<link rel="icon" href="/favicon.ico" title="actix">
2018-05-22 23:15:08 +02:00
<title>{{ .Title }}</title>
</head>
<body>
<header class="navbar navbar-light navbar-toggleable-md bd-navbar">
<nav class="actix-main-nav">
<div class="d-flex justify-content-between hidden-lg-up">
<a href="/" class="navbar-brand">
<img src="/img/logo-nav.png" class="align-middle" alt="">
</a>
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#actix-main-nav" aria-label="Toggle navigation" aria-controls="actix-main-nav" aria-expanded="false">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<div class="navbar-collapse collapse" id="actix-main-nav">
2018-06-24 04:00:12 +02:00
<ul class="nav navbar-nav" id="ul-en">
2018-05-22 23:15:08 +02:00
<li class="nav-item hd-lg-down">
<a class="navbar-brand" href="/"><img src="/img/logo-nav.png" class="align-middle" alt=""></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/docs/">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/community/">Community</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/code/">Code</a>
</li>
2018-06-23 21:14:26 +02:00
<li class="nav-item" id="language">
2018-06-24 04:00:12 +02:00
<img src="/img/i18n.jpeg"/>
2018-06-23 21:14:26 +02:00
<ul class="subitem">
2018-06-24 16:31:09 +02:00
<li class="submenu-item"><a href="https://actix.rs" target="view_window">English</a></li>
<li class="submenu-item"><a href="https://actix.rs/cn" target="view_window">中文</a> </li>
2018-06-23 21:14:26 +02:00
</ul>
</li>
2018-05-22 23:15:08 +02:00
</ul>
2018-06-24 04:00:12 +02:00
<ul class="nav navbar-nav" id="ul-zh">
<li class="nav-item hd-lg-down">
<a class="navbar-brand" href="/"><img src="/img/logo-nav.png" class="align-middle" alt=""></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/">首页</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/docs/">文档</a>
</li>
2018-06-24 16:31:09 +02:00
<li class="nav-item">
<a class="nav-link" href="/blog/">博客</a>
</li>
2018-06-24 04:00:12 +02:00
<li class="nav-item">
<a class="nav-link" href="/community/">社区</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/code/">源码</a>
</li>
<li class="nav-item" id="language">
<img src="/img/i18n.jpeg"/>
<ul class="subitem">
2018-06-24 16:31:09 +02:00
<li class="submenu-item"><a href="https://actix.rs" target="view_window">English</a></li>
<li class="submenu-item"><a href="https://actix.rs/cn" target="view_window">中文</a> </li>
2018-06-24 04:00:12 +02:00
</ul>
</li>
</ul>
2018-05-22 23:15:08 +02:00
</div>
</nav>
</header>