浏览代码

Update activity messages in JSON data (#2452)

Paweł Kuna 2 周之前
父节点
当前提交
8947d7c7b7
共有 3 个文件被更改,包括 131 次插入20 次删除
  1. 5 0
      .changeset/modern-dots-bathe.md
  2. 2 2
      preview/pages/activity.html
  3. 124 18
      shared/data/activity.json

+ 5 - 0
.changeset/modern-dots-bathe.md

@@ -0,0 +1,5 @@
+---
+"@tabler/preview": patch
+---
+
+Update activity messages

+ 2 - 2
preview/pages/activity.html

@@ -6,12 +6,12 @@ layout: default
 permalink: activity.html
 ---
 
-<div class="row justify-content-center">
+<div class="row">
 	<div class="col-8">
 		<div class="card">
 			<div class="card-body">
 				{% include "parts/activity.html" %}
 			</div>
-		</div>
+		</div> 
 	</div>
 </div>

+ 124 - 18
shared/data/activity.json

@@ -1,56 +1,162 @@
 [
   {
-    "text": "<strong>%p</strong> commented on your <strong>\"I'm not a witch.\"</strong> post."
+    "text": "<strong>%p</strong> commented on your post: <strong>Not everything is what it seems</strong>",
+    "icon": "message-circle"
   },
   {
-    "text": "It's <strong>%p</strong>'s birthday. Wish him well!"
+    "text": "It's <strong>%p</strong>'s birthday today",
+    "icon": "cake"
   },
   {
-    "text": "<strong>%p</strong> posted <strong>\"Well, what do you want?\"</strong>."
+    "text": "<strong>%p</strong> posted a status: <strong>Trying to figure things out one step at a time.</strong>",
+    "icon": "pencil"
   },
   {
-    "text": "<strong>%p</strong> created a new project <strong>Morning alarm clock</strong>."
+    "text": "<strong>%p</strong> created a new project: <strong>Smart Morning Alarm</strong>",
+    "icon": "alarm"
   },
   {
-    "text": "<strong>%p</strong> liked your photo."
+    "text": "<strong>%p</strong> liked your photo",
+    "icon": "heart"
   },
   {
-    "text": "<strong>%p</strong> registered new client as <strong>%c</strong>."
+    "text": "<strong>%p</strong> registered a new client: <strong>Trilia Solutions</strong>",
+    "icon": "user-plus"
   },
   {
-    "text": "<strong>%p</strong> closed a new deal on project <strong>Pen Pineapple Apple Pen</strong>."
+    "text": "<strong>%p</strong> closed a new deal on project: <strong>PPAP Campaign Strategy</strong>",
+    "icon": "handshake"
   },
   {
-    "text": "<strong>%p</strong> created a new project for <strong>%c</strong>."
+    "text": "<strong>%p</strong> created a new project: <strong>Wikibox Knowledge Platform</strong>",
+    "icon": "folder-plus"
   },
   {
-    "text": "<strong>%p</strong> change status of <strong>Tabler Icons</strong> from <strong>open</strong> to <strong>closed</strong>."
+    "text": "<strong>%p</strong> changed project status of <strong>Tabler Icons</strong> from <strong>open</strong> to <strong>closed</strong>",
+    "icon": "check"
   },
   {
-    "text": "<strong>%p</strong> liked <strong>Tabler UI Kit</strong>."
+    "text": "<strong>%p</strong> liked the <strong>Tabler UI Kit</strong>",
+    "icon": "thumb-up"
   },
   {
-    "text": "<strong>%p</strong> posted new video."
+    "text": "<strong>%p</strong> shared a new video: <strong>Design Tips for Busy Creators</strong>",
+    "icon": "video"
   },
   {
-    "text": "<strong>%p</strong> and 3 others followed you."
+    "text": "<strong>%p</strong> and <strong>3 others</strong> followed you",
+    "icon": "user-plus"
   },
   {
-    "text": "<strong>%p</strong> upload 3 new photos to category <strong>Inspirations</strong>."
+    "text": "<strong>%p</strong> uploaded <strong>3 new photos</strong> to category: <strong>Creative Inspirations</strong>",
+    "icon": "photo"
   },
   {
-    "text": "<strong>%p</strong> made a <strong>$10</strong> donation."
+    "text": "<strong>%p</strong> made a <strong>$10 donation</strong>",
+    "icon": "coin"
   },
   {
-    "text": "<strong>%p</strong> created a profile."
+    "text": "<strong>%p</strong> created a profile",
+    "icon": "id"
   },
   {
-    "text": "<strong>%p</strong> hosted the event <strong>Tabler UI Birthday</strong>."
+    "text": "<strong>%p</strong> hosted the event: <strong>Tabler UI Anniversary</strong>",
+    "icon": "calendar-event"
   },
   {
-    "text": "<strong>%p</strong> mentioned you on <strong>Best of 2020</strong>."
+    "text": "<strong>%p</strong> mentioned you in <strong>Best of 2020 Highlights</strong>",
+    "icon": "at"
   },
   {
-    "text": "<strong>%p</strong> sent a Review Request to <strong>Amanda Blake</strong>."
+    "text": "<strong>%p</strong> sent a review request to <strong>Amanda Blake</strong>",
+    "icon": "send"
+  },
+  {
+    "text": "<strong>%p</strong> posted a photo from her vacation in <strong>Tuscany</strong>",
+    "icon": "camera"
+  },
+  {
+    "text": "<strong>%p</strong> shared an article: <strong>Top 10 productivity hacks</strong>",
+    "icon": "book"
+  },
+  {
+    "text": "<strong>%p</strong> commented on your photo",
+    "icon": "message-circle"
+  },
+  {
+    "text": "<strong>%p</strong> joined the group: <strong>UX Designers Hub</strong>",
+    "icon": "users"
+  },
+  {
+    "text": "<strong>%p</strong> uploaded new design mockups",
+    "icon": "layout"
+  },
+  {
+    "text": "<strong>%p</strong> reacted with ❤️ to your story",
+    "icon": "emoji-heart-eyes"
+  },
+  {
+    "text": "<strong>%p</strong> posted a video: <strong>Building Better Dashboards</strong>",
+    "icon": "video"
+  },
+  {
+    "text": "<strong>%p</strong> joined your webinar: <strong>Intro to TypeScript</strong>",
+    "icon": "presentation"
+  },
+  {
+    "text": "<strong>%p</strong> commented: <strong>This is so helpful!</strong>",
+    "icon": "message-circle"
+  },
+  {
+    "text": "<strong>%p</strong> updated her profile photo",
+    "icon": "user-edit"
+  },
+  {
+    "text": "<strong>%p</strong> posted a job listing: <strong>Frontend Developer</strong>",
+    "icon": "briefcase"
+  },
+  {
+    "text": "<strong>%p</strong> started following your project: <strong>Clean Code Patterns</strong>",
+    "icon": "code"
+  },
+  {
+    "text": "<strong>%p</strong> gave feedback on your latest design",
+    "icon": "message-check"
+  },
+  {
+    "text": "<strong>%p</strong> shared a playlist: <strong>Coding Flow</strong>",
+    "icon": "music"
+  },
+  {
+    "text": "<strong>%p</strong> joined the event: <strong>Night UI Meetup</strong>",
+    "icon": "calendar-plus"
+  },
+  {
+    "text": "<strong>%p</strong> shared a memory: <strong>2 years at Tabler!</strong>",
+    "icon": "history"
+  },
+  {
+    "text": "<strong>%p</strong> retweeted your latest post",
+    "icon": "repeat"
+  },
+  {
+    "text": "<strong>%p</strong> shared your story to their network",
+    "icon": "share"
+  },
+  {
+    "text": "<strong>%p</strong> invited you to collaborate on her workspace",
+    "icon": "user-plus"
+  },
+  {
+    "text": "<strong>%p</strong> published a new blog post: <strong>Dark Mode for All</strong>",
+    "icon": "article"
+  },
+  {
+    "text": "<strong>%p</strong> mentioned you in a comment",
+    "icon": "at"
+  },
+  {
+    "text": "<strong>%p</strong> shared a new design: <strong>Modern Dashboard UI</strong>",
+    "icon": "layout"
   }
 ]