Skip to content

Commit

Permalink
new logo
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
  • Loading branch information
rohityadavcloud committed Aug 18, 2023
1 parent 1bc8346 commit aab35f7
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/tutorial-basics/markdown-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ Let's see how to [Create a page](./create-a-page.md).

Regular Markdown images are supported.

You can use absolute paths to reference images in the static directory (`static/img/docusaurus.png`):
You can use absolute paths to reference images in the static directory (`static/img/onprem.png`):

```md
![Docusaurus logo](/img/docusaurus.png)
![Docusaurus logo](/img/onprem.png)
```

![Docusaurus logo](/img/docusaurus.png)
![Docusaurus logo](/img/onprem.png)

You can reference images relative to the current file as well. This is particularly useful to colocate images close to the Markdown files using them:

```md
![Docusaurus logo](./img/docusaurus.png)
![Docusaurus logo](./img/onprem.png)
```

## Code Blocks
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = {
title: 'onprem.in',
tagline: 'DIY OnPrem Cloud',
favicon: 'img/favicon.ico',
favicon: 'img/onprem.png',

// Set the production url of your site here
url: 'https://onprem.in',
Expand Down Expand Up @@ -62,7 +62,7 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
image: 'img/onprem.png',
navbar: {
title: 'onprem.in',
logo: {
Expand Down
5 changes: 3 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ import styles from './index.module.css';
function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<header className={clsx('hero', styles.heroBanner)}>
<div className="container">
<img src="/img/onprem.png" />
<h1 className="hero__title">{siteConfig.title}</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min ⏱️
OnPrem.in Documentation
</Link>
</div>
</div>
Expand Down
Binary file added static/.DS_Store
Binary file not shown.
Binary file added static/img/.DS_Store
Binary file not shown.
Binary file removed static/img/docusaurus-social-card.jpg
Binary file not shown.
Binary file removed static/img/docusaurus.png
Binary file not shown.
Binary file removed static/img/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion static/img/logo.svg

This file was deleted.

Binary file modified static/img/onprem.png
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 aab35f7

Please sign in to comment.