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 demo seeding data (#318)

boojack69e3ba6bed0b
diff --git a/store/db/seed/10002__memo.sql b/store/db/seed/10002__memo.sql
index c656da0d0..5317ff433 100644
--- a/store/db/seed/10002__memo.sql
+++ b/store/db/seed/10002__memo.sql
@@ -7,8 +7,7 @@ INSERT INTO
VALUES
(
1001,
- "#Hello πŸ‘‹ Welcome to memos.
-And here is old Jack's Page: [/u/102](/u/102)",
+ "#Hello πŸ‘‹ Welcome to memos.",
101
);
@@ -23,9 +22,9 @@ VALUES
(
1002,
'#TODO
-- [ ] Take more photos about **πŸŒ„ sunset**;
+- [x] Take more photos about **πŸŒ„ sunset**;
- [x] Clean the room;
-- [x] Read *πŸ“– The Little Prince*;
+- [ ] Read *πŸ“– The Little Prince*;
(πŸ‘† click to toggle status)',
101,
'PROTECTED'
@@ -41,7 +40,9 @@ INSERT INTO
VALUES
(
1003,
- 'ε₯½ε₯½ε­¦δΉ οΌŒε€©ε€©ε‘δΈŠγ€‚πŸ€œπŸ€›',
+ "DevJoy is **the Developer's ChinaJoy**.
+![](https://www.devjoy.org/images/skateboard.webp)
+🌐 [devjoy.org](https://www.devjoy.org/)",
101,
'PUBLIC'
);
diff --git a/store/db/seed/10003__memo_organizer.sql b/store/db/seed/10003__memo_organizer.sql
index be2ddec6e..cee1db137 100644
--- a/store/db/seed/10003__memo_organizer.sql
+++ b/store/db/seed/10003__memo_organizer.sql
@@ -10,3 +10,16 @@ VALUES
101,
1
);
+
+INSERT INTO
+ memo_organizer (
+ `memo_id`,
+ `user_id`,
+ `pinned`
+ )
+VALUES
+ (
+ 1003,
+ 101,
+ 1
+ );
diff --git a/web/src/less/memo-content.less b/web/src/less/memo-content.less
index 19b300f58..bfe9211f0 100644
--- a/web/src/less/memo-content.less
+++ b/web/src/less/memo-content.less
@@ -19,7 +19,7 @@
}
.img {
- @apply float-left max-w-full rounded cursor-pointer hover:shadow;
+ @apply block max-w-full rounded cursor-pointer hover:shadow;
}
.tag-span {