Skip to content

Commit 0a212ab

Browse files
authored
docs: add logo (#272)
1 parent f91a900 commit 0a212ab

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p align="center">
22
<picture>
3-
<source media="(prefers-color-scheme: dark)" srcset="./docs/assets/rnef.png">
4-
<img alt="RNEF" src="./docs/assets/rnef.png" height="200">
3+
<source media="(prefers-color-scheme: dark)" srcset="./website/docs/public/logo.svg">
4+
<img alt="RNEF" src="./website/docs/public/logo.svg" height="100">
55
</picture>
66
</p>
77
<h1 align="center" style="border-bottom: 0px">

website/docs/public/logo.svg

Lines changed: 3 additions & 0 deletions
Loading
-6.15 KB
Binary file not shown.
-100 KB
Binary file not shown.
-6.23 KB
Binary file not shown.

website/rspress.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ export default defineConfig({
77
plugins: [pluginCallstackTheme(), vercelPluginAnalytics()],
88
root: path.join(__dirname, 'docs'),
99
title: 'React Native Enterprise Framework',
10-
icon: '/rspress-icon.png',
10+
icon: '/logo.svg',
1111
outDir: 'build',
1212
route: {
1313
cleanUrls: true
1414
},
15-
// logo: {
16-
// light: '/rspress-light-logo.png',
17-
// dark: '/rspress-dark-logo.png',
18-
// },
15+
logo: {
16+
light: '/logo.svg',
17+
dark: '/logo.svg',
18+
},
1919
themeConfig: {
2020
socialLinks: [
2121
{

0 commit comments

Comments
 (0)