mirror of
https://github.com/d0zingcat/alert-message-center.git
synced 2026-06-03 23:16:45 +00:00
feat: add icon and meta
Signed-off-by: d0zingcat <iamtangli42@gmail.com>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import {
|
||||
Activity,
|
||||
Hash,
|
||||
LogIn,
|
||||
LogOut,
|
||||
@@ -38,7 +37,7 @@ function App() {
|
||||
<div className="min-h-screen flex items-center justify-center bg-gray-50">
|
||||
<div className="max-w-md w-full bg-white shadow-lg rounded-lg p-8">
|
||||
<div className="text-center">
|
||||
<Activity className="h-16 w-16 text-indigo-600 mx-auto mb-4" />
|
||||
<img src="/icon.png" alt="Logo" className="h-16 w-16 mx-auto mb-4" />
|
||||
<h1 className="text-3xl font-bold text-gray-900 mb-2">
|
||||
Alert Message Center
|
||||
</h1>
|
||||
@@ -66,7 +65,7 @@ function App() {
|
||||
<div className="flex justify-between h-16">
|
||||
<div className="flex">
|
||||
<div className="flex-shrink-0 flex items-center">
|
||||
<Activity className="h-8 w-8 text-indigo-600" />
|
||||
<img src="/icon.png" alt="Logo" className="h-8 w-8" />
|
||||
<span className="ml-2 text-xl font-bold text-gray-900">
|
||||
Alert Message Center
|
||||
</span>
|
||||
@@ -76,11 +75,10 @@ function App() {
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setActiveTab("admin")}
|
||||
className={`${
|
||||
activeTab === "admin"
|
||||
? "border-indigo-500 text-gray-900"
|
||||
: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700"
|
||||
} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium`}
|
||||
className={`${activeTab === "admin"
|
||||
? "border-indigo-500 text-gray-900"
|
||||
: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700"
|
||||
} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium`}
|
||||
>
|
||||
<Settings className="mr-2 h-4 w-4" />
|
||||
Admin
|
||||
@@ -89,11 +87,10 @@ function App() {
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setActiveTab("topics")}
|
||||
className={`${
|
||||
activeTab === "topics"
|
||||
? "border-indigo-500 text-gray-900"
|
||||
: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700"
|
||||
} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium`}
|
||||
className={`${activeTab === "topics"
|
||||
? "border-indigo-500 text-gray-900"
|
||||
: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700"
|
||||
} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium`}
|
||||
>
|
||||
<Hash className="mr-2 h-4 w-4" />
|
||||
Topics
|
||||
@@ -102,11 +99,10 @@ function App() {
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setActiveTab("users")}
|
||||
className={`${
|
||||
activeTab === "users"
|
||||
? "border-indigo-500 text-gray-900"
|
||||
: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700"
|
||||
} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium`}
|
||||
className={`${activeTab === "users"
|
||||
? "border-indigo-500 text-gray-900"
|
||||
: "border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700"
|
||||
} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium`}
|
||||
>
|
||||
<Users className="mr-2 h-4 w-4" />
|
||||
Users
|
||||
|
||||
Reference in New Issue
Block a user