Skip to content

Commit 1f20ab5

Browse files
committed
docs: modified home page
1 parent f4a5fcc commit 1f20ab5

File tree

2 files changed

+8
-42
lines changed

2 files changed

+8
-42
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
title: 'Obsidian',
3-
tagline: 'Safe, Fast, Fun',
3+
tagline: 'Ergonomic way of building web.',
44
url: 'https://obsidian-rs.github.io',
55
baseUrl: '/',
66
favicon: 'img/favicon.ico',
@@ -14,8 +14,8 @@ module.exports = {
1414
// src: 'img/logo.svg',
1515
// },
1616
links: [
17-
{to: 'docs/doc1', label: 'Docs', position: 'left'},
18-
{to: 'blog', label: 'Blog', position: 'left'},
17+
{to: 'docs/doc1', label: 'Docs', position: 'right'},
18+
{to: 'blog', label: 'Blog', position: 'right'},
1919
{
2020
href: 'https://github.com/obsidian-rs/obsidian',
2121
label: 'GitHub',

src/pages/index.js

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const features = [
1212
imageUrl: 'img/undraw_High_five.svg',
1313
description: (
1414
<>
15-
Docusaurus was designed from the ground up to be easily installed and
15+
Obsidian was designed from the ground up to be easily used
1616
used to get your website up and running quickly.
1717
</>
1818
),
@@ -22,8 +22,7 @@ const features = [
2222
imageUrl: 'img/undraw_to_do_list.svg',
2323
description: (
2424
<>
25-
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
26-
ahead and move your docs into the <code>docs</code> directory.
25+
Obsidian lets you focus on your system logic, and we&apos;ll do the chores.
2726
</>
2827
),
2928
},
@@ -32,45 +31,12 @@ const features = [
3231
imageUrl: 'img/undraw_developer_activity.svg',
3332
description: (
3433
<>
35-
Extend or customize your website layout by reusing React. Docusaurus can
36-
be extended while reusing the same header and footer.
34+
It is memory safety by default thanks to Rust. It is fast also!
3735
</>
3836
),
3937
},
4038
];
4139

42-
// const features = [
43-
// {
44-
// title: <>Easy to Use</>,
45-
// imageUrl: 'img/undraw_docusaurus_mountain.svg',
46-
// description: (
47-
// <>
48-
// Docusaurus was designed from the ground up to be easily installed and
49-
// used to get your website up and running quickly.
50-
// </>
51-
// ),
52-
// },
53-
// {
54-
// title: <>Focus on What Matters</>,
55-
// imageUrl: 'img/undraw_docusaurus_tree.svg',
56-
// description: (
57-
// <>
58-
// Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go
59-
// ahead and move your docs into the <code>docs</code> directory.
60-
// </>
61-
// ),
62-
// },
63-
// {
64-
// title: <>Powered by React</>,
65-
// imageUrl: 'img/undraw_docusaurus_react.svg',
66-
// description: (
67-
// <>
68-
// Extend or customize your website layout by reusing React. Docusaurus can
69-
// be extended while reusing the same header and footer.
70-
// </>
71-
// ),
72-
// },
73-
// ];
7440

7541
function Feature({imageUrl, title, description}) {
7642
const imgUrl = useBaseUrl(imageUrl);
@@ -92,8 +58,8 @@ function Home() {
9258
const {siteConfig = {}} = context;
9359
return (
9460
<Layout
95-
title={`Hello from ${siteConfig.title}`}
96-
description="Description will go into a meta tag in <head />">
61+
title={`${siteConfig.title} Web Framework`}
62+
description="Ergonomic way of building web.">
9763
<header className={classnames('hero hero--primary', styles.heroBanner)}>
9864
<div className="container">
9965
<h1 className="hero__title">{siteConfig.title}</h1>

0 commit comments

Comments
 (0)