Add blog and edit homepage

This commit is contained in:
Daniel 2023-11-05 09:07:55 +07:00
parent 68917dc3dc
commit 093b4eaffb
4 changed files with 32 additions and 15 deletions

View File

@ -0,0 +1,12 @@
---
title: Hello World
description: This is my first post on Docusaurus.
slug: hello-world
authors:
- name: Daniel
tags: [hello, jan]
image: https://i.imgur.com/mErPwqL.png
hide_table_of_contents: false
---
Hello World!

6
docs/blog/authors.yml Normal file
View File

@ -0,0 +1,6 @@
dan-jan:
name: Daniel Onggunhao
title: Co-Founder
url: https://github.com/dan-jan
image_url: https://avatars.githubusercontent.com/u/101145494?v=4
email: daniel@jan.ai

View File

@ -73,7 +73,10 @@ const config = {
filename: "sitemap.xml", filename: "sitemap.xml",
}, },
// Will be passed to @docusaurus/plugin-content-blog (false to disable) // Will be passed to @docusaurus/plugin-content-blog (false to disable)
blog: false, blog: {
blogSidebarTitle: "All Posts",
blogSidebarCount: "ALL",
},
// Will be passed to @docusaurus/theme-classic. // Will be passed to @docusaurus/theme-classic.
theme: { theme: {
customCss: require.resolve("./src/styles/main.scss"), customCss: require.resolve("./src/styles/main.scss"),
@ -131,6 +134,11 @@ const config = {
label: "Developers", label: "Developers",
}, },
// Navbar right // Navbar right
{
to: "blog",
label: "Blog",
position: "right",
},
{ {
type: "docSidebar", type: "docSidebar",
sidebarId: "aboutSidebar", sidebarId: "aboutSidebar",

View File

@ -84,28 +84,19 @@ export default function Home() {
</div> </div>
<h1 className="bg-gradient-to-r dark:from-white from-black to-gray-500 dark:to-gray-400 bg-clip-text text-4xl lg:text-6xl font-bold leading-tight text-transparent dark:text-transparent lg:leading-tight"> <h1 className="bg-gradient-to-r dark:from-white from-black to-gray-500 dark:to-gray-400 bg-clip-text text-4xl lg:text-6xl font-bold leading-tight text-transparent dark:text-transparent lg:leading-tight">
Run Your Own AI Personal AI
</h1> </h1>
<p className="text-xl leading-relaxed lg:text-2xl lg:leading-relaxed text-gray-500 dark:text-gray-400"> <p className="text-xl leading-relaxed lg:text-2xl lg:leading-relaxed text-gray-500 dark:text-gray-400">
{/* Run Large Language Models locally on&nbsp;
<span className="dark:text-white text-black">Mac</span>
,&nbsp;
<span className="dark:text-white text-black">Windows</span>
&nbsp;or&nbsp;
<span className="dark:text-white text-black">Linux</span>. */}
Jan is a powerful&nbsp; Jan is a powerful&nbsp;
<span className="dark:text-white text-black"> <span className="dark:text-white text-black">
Personal AI Personal AI
</span> </span>
&nbsp;built to run locally on your machine, &nbsp;built to run locally on your computer,
<br /> <br />
with a rich&nbsp; inifinitely customizable via&nbsp;
<span className="dark:text-white text-black">app</span> <span className="dark:text-white text-black">apps</span>
&nbsp;and&nbsp; &nbsp;and&nbsp;
<span className="dark:text-white text-black"> <span className="dark:text-white text-black">plugins</span>.
plugin ecosystem
</span>
.
</p> </p>
<div className="my-6 flex flex-col-reverse md:flex-row items-center justify-center gap-4 relative z-20"> <div className="my-6 flex flex-col-reverse md:flex-row items-center justify-center gap-4 relative z-20">