From 538d6830a0022b49b99695095d85e567b0c86e71 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Sun, 30 Jul 2023 23:47:53 +0800
Subject: ...

---
 .../src/pages/timeline/TimelinePostEditNoLogin.tsx     | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 FrontEnd/src/pages/timeline/TimelinePostEditNoLogin.tsx

(limited to 'FrontEnd/src/pages/timeline/TimelinePostEditNoLogin.tsx')

diff --git a/FrontEnd/src/pages/timeline/TimelinePostEditNoLogin.tsx b/FrontEnd/src/pages/timeline/TimelinePostEditNoLogin.tsx
new file mode 100644
index 00000000..1ef0a287
--- /dev/null
+++ b/FrontEnd/src/pages/timeline/TimelinePostEditNoLogin.tsx
@@ -0,0 +1,18 @@
+import * as React from "react";
+import { Trans } from "react-i18next";
+import { Link } from "react-router-dom";
+
+import TimelinePostEditCard from "./TimelinePostEditCard";
+
+export default function TimelinePostEditNoLogin(): React.ReactElement | null {
+  return (
+    <TimelinePostEditCard>
+      <div className="mt-3 mb-4">
+        <Trans
+          i18nKey="timeline.postNoLogin"
+          components={{ l: <Link to="/login" /> }}
+        />
+      </div>
+    </TimelinePostEditCard>
+  );
+}
-- 
cgit v1.2.3

