Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update project structure (#1382)

boojacka21ff5c2e311
diff --git a/README.md b/README.md
index 2730e9ddb..b66d440bb 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-<p align="center"><a href="https://usememos.com"><img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/resources/logo-full.webp" alt="✍️ memos" /></a></p>
+<p align="center"><a href="https://usememos.com"><img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/assets/logo-full.webp" alt="✍️ memos" /></a></p>
<p align="center">
<a href="https://github.com/usememos/memos/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/usememos/memos" /></a>
diff --git a/resources/logo-full.webp b/assets/logo-full.webp
similarity index 100%
rename from resources/logo-full.webp
rename to assets/logo-full.webp
diff --git a/resources/logo.webp b/assets/logo.webp
similarity index 100%
rename from resources/logo.webp
rename to assets/logo.webp
diff --git a/resources/tech-stack.png b/assets/tech-stack.png
similarity index 100%
rename from resources/tech-stack.png
rename to assets/tech-stack.png
diff --git a/cmd/server.go b/cmd/memos.go
similarity index 100%
rename from cmd/server.go
rename to cmd/memos.go
diff --git a/doc/CustomThemes.md b/docs/custom-themes.md
similarity index 52%
rename from doc/CustomThemes.md
rename to docs/custom-themes.md
index 7780ee822..c03ab3830 100644
--- a/doc/CustomThemes.md
+++ b/docs/custom-themes.md
@@ -4,11 +4,15 @@
2. Navigate to the System Tab
3. In the "Additional Styles" box add these lines of code:
-```css
-.memo-list-container {background-color: #INSERT COLOR HERE;}
-.page-container {background-color: #INSERT COLOR HERE;}
-```
+ ```css
+ .memo-list-container {
+ background-color: #INSERT COLOR HERE;
+ }
+ .page-container {
+ background-color: #INSERT COLOR HERE;
+ }
+ ```
- It is recommended that you choose the same color for both options
+ It is recommended that you choose the same color for both options
4. Refresh the page and the background color of your memos app will successfully update to reflect your changes
diff --git a/docs/deploy-with-render.md b/docs/deploy-with-render.md
index 4c7e2f062..b6f834753 100644
--- a/docs/deploy-with-render.md
+++ b/docs/deploy-with-render.md
@@ -2,7 +2,7 @@
written by [AJ](https://memos.ajstephens.website/) (also a noob)
-<img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/resources/logo-full.webp" alt="✍️ memos" />
+<img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/assets/logo-full.webp" alt="✍️ memos" />
[Live Demo](https://demo.usememos.com) • [Official Website](https://usememos.com) • [Source Code](https://github.com/usememos/memos)
diff --git a/docs/development.md b/docs/development.md
index 234e36241..08505ee7d 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -8,7 +8,7 @@ Memos is built with a curated tech stack. It is optimized for developer experien
## Tech Stack
-![tech-stack](https://raw.githubusercontent.com/usememos/memos/main/resources/tech-stack.png)
+![tech-stack](https://raw.githubusercontent.com/usememos/memos/main/assets/tech-stack.png)
## Prerequisites