Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ title: Introduction
description: A brief intro to CommandKit
---

import Logo from './Logo';

<div
align="center"
style={{
margin: '2rem 0',
}}
>
<img src="/img/ckit_logo.svg" width="60%" />
<Logo/>

<br />
<div
style={{
Expand Down
9 changes: 9 additions & 0 deletions apps/website/docs/guide/01-getting-started/Logo.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react';
import { useColorMode } from '@docusaurus/theme-common';

export default function Logo() {
const { colorMode } = useColorMode();
const logo =
colorMode === 'dark' ? '/img/ckit_logo.svg' : '/img/ckit_logo_d.svg';
return <img src={logo} width="60%" alt="CommandKit Logo" />;
}
11 changes: 11 additions & 0 deletions apps/website/static/img/ckit_logo_d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.