Skip to content

Commit

Permalink
feat: add sample blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
RodinGolodin committed Jun 19, 2024
1 parent dea69f3 commit 5682d6c
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 1 deletion.
24 changes: 24 additions & 0 deletions blog/example-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Welcome Ronin blog
description: First post on the Ronin technical blog.
slug: welcome-ronin
authors:
- name: Sergey Rodin
title: Technical writer
url: https://github.com/RodinGologin
image_url: https://github.com/RodinGolodin.png
- name: Phuc Thai
title: Blockchain researcher
url: https://sebastienlorber.comhttps://github.com/phuctd95
image_url: https://github.com/phuctd95.png
tags: [hello]
hide_table_of_contents: false
---

Welcome to this blog. This blog is created with [**Docusaurus 3**](https://docusaurus.io/).

<!-- truncate -->

This is my first post on Docusaurus 3.

A whole bunch of exploration to follow.
11 changes: 11 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ const config = {
showLastUpdateTime: true,
},
blog: {
path: 'blog',
blogTitle: 'Technical blog',
blogDescription: 'Learn about the latest updates on Ronin',
routeBasePath: 'blog',
blogSidebarTitle: 'Technical blog',
showReadingTime: true,
},
theme: {
Expand Down Expand Up @@ -173,6 +178,12 @@ const config = {
label: 'Bridge operators',
to: 'bridge-operators',
},
// Blog
{
label: 'Blog',
to: 'blog',
position: 'right',
},
// Search
{
type: 'search',
Expand Down
12 changes: 11 additions & 1 deletion src/components/homepage-features/Features.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import React from 'react'

import BoxTickIcon from './box-tick.svg'
import { Card } from './Card'
import BlogIcon from './blog.svg'
import BoxTickIcon from './box-tick.svg'
import CoinIcon from './coins.svg'
import AppsIcon from './apps.svg'
import ListViewIcon from './list-view.svg'
Expand Down Expand Up @@ -53,6 +54,15 @@ const featureList = [
title: 'Bridge operators',
},
},
{
title: 'Technical blog',
Icon: BlogIcon,
description: <>Stay up to date with the latest technical updates on Ronin.</>,
link: {
href: '/blog',
title: 'Technical blog',
},
},
]

export const Features: React.FC = () => {
Expand Down
24 changes: 24 additions & 0 deletions src/components/homepage-features/blog.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5682d6c

Please sign in to comment.