mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-09 11:41:30 -07:00
Change user icon from ph-user to ph-head-circuit
This commit is contained in:
parent
21e4eeb67f
commit
d793f33df5
34 changed files with 42 additions and 42 deletions
|
@ -262,7 +262,7 @@ export async function openAccountMenu(
|
|||
},
|
||||
{
|
||||
type: "link",
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
text: i18n.ts.manageAccounts,
|
||||
to: "/settings/accounts",
|
||||
},
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</div>
|
||||
<div class="status">
|
||||
<div>
|
||||
<i class="ph-users ph-bold ph-lg ph-fw ph-lg"></i>
|
||||
<i class="ph-head-circuits ph-bold ph-lg ph-fw ph-lg"></i>
|
||||
<I18n
|
||||
:src="i18n.ts._channel.usersCount"
|
||||
tag="span"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
>{{ maxTextLength - textLength }}</span
|
||||
>
|
||||
<span v-if="localOnly" class="local-only"
|
||||
><i class="ph-users ph-bold ph-lg"></i
|
||||
><i class="ph-head-circuits ph-bold ph-lg"></i
|
||||
></span>
|
||||
<button
|
||||
ref="visibilityButton"
|
||||
|
|
|
@ -187,7 +187,7 @@ const renote = (viaKeyboard = false, ev?: MouseEvent) => {
|
|||
if (canRenote) {
|
||||
buttonActions.push({
|
||||
text: `${i18n.ts.renote} (${i18n.ts.local})`,
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
danger: false,
|
||||
action: () => {
|
||||
os.api(
|
||||
|
|
|
@ -40,7 +40,7 @@ async function openSearchFilters(ev) {
|
|||
await os.popupMenu(
|
||||
[
|
||||
{
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
text: i18n.ts._filters.fromUser,
|
||||
action: () => {
|
||||
os.selectUser().then((user) => {
|
||||
|
@ -75,7 +75,7 @@ async function openSearchFilters(ev) {
|
|||
},
|
||||
},
|
||||
{
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
icon: "ph-head-circuits-three ph-bold ph-lg",
|
||||
text: i18n.ts._filters.followersOnly,
|
||||
action: () => {
|
||||
appendSearchFilter("filter:followers");
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
tag="div"
|
||||
>
|
||||
<template #icon>
|
||||
<i class="ph-users ph-bold ph-lg" />
|
||||
<i class="ph-head-circuits ph-bold ph-lg" />
|
||||
</template>
|
||||
</I18n>
|
||||
</li>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</span>
|
||||
<span v-if="note.localOnly" :class="$style.localOnly"
|
||||
><i
|
||||
class="ph-users ph-bold ph-lg"
|
||||
class="ph-head-circuits ph-bold ph-lg"
|
||||
v-tooltip="i18n.ts._visibility.localOnly"
|
||||
></i
|
||||
></span>
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
@click="localOnly = !localOnly"
|
||||
>
|
||||
<div :class="$style.icon">
|
||||
<i class="ph-users ph-bold ph-lg"></i>
|
||||
<i class="ph-head-circuits ph-bold ph-lg"></i>
|
||||
</div>
|
||||
<div :class="$style.body">
|
||||
<span :class="$style.itemTitle">{{
|
||||
|
|
|
@ -56,7 +56,7 @@ export const navbarItemDef = reactive({
|
|||
/*
|
||||
groups: {
|
||||
title: 'groups',
|
||||
icon: 'ph-users-three ph-bold ph-lg',
|
||||
icon: 'ph-head-circuits-three ph-bold ph-lg',
|
||||
show: computed(() => $i != null),
|
||||
to: '/my/groups',
|
||||
},
|
||||
|
@ -96,7 +96,7 @@ export const navbarItemDef = reactive({
|
|||
},
|
||||
groups: {
|
||||
title: "groups",
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
icon: "ph-head-circuits-three ph-bold ph-lg",
|
||||
to: "/my/groups",
|
||||
},
|
||||
ui: {
|
||||
|
|
|
@ -428,7 +428,7 @@ const headerActions = $computed(() => [
|
|||
const headerTabs = $computed(() => [
|
||||
{
|
||||
key: "local",
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
title: i18n.ts.local,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -136,7 +136,7 @@ const menuDef = $computed(() => [
|
|||
? [
|
||||
{
|
||||
type: "button",
|
||||
icon: "ph-user-plus ph-bold ph-lg",
|
||||
icon: "ph-head-circuit-plus ph-bold ph-lg",
|
||||
text: i18n.ts.invite,
|
||||
action: invite,
|
||||
},
|
||||
|
@ -154,7 +154,7 @@ const menuDef = $computed(() => [
|
|||
active: currentPage?.route.name === "overview",
|
||||
},
|
||||
{
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
text: i18n.ts.users,
|
||||
to: "/admin/users",
|
||||
active: currentPage?.route.name === "users",
|
||||
|
@ -352,7 +352,7 @@ const lookup = (ev) => {
|
|||
[
|
||||
{
|
||||
text: i18n.ts.user,
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
action: () => {
|
||||
lookupUser();
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div v-else :class="$style.root">
|
||||
<div class="item _panel users">
|
||||
<div class="icon">
|
||||
<i class="ph-users ph-bold ph-xl"></i>
|
||||
<i class="ph-head-circuits ph-bold ph-xl"></i>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="value">
|
||||
|
|
|
@ -207,7 +207,7 @@ const headerTabs = $computed(() => []);
|
|||
definePageMetadata(
|
||||
computed(() => ({
|
||||
title: i18n.ts.users,
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
})),
|
||||
);
|
||||
</script>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<div class="status">
|
||||
<div>
|
||||
<i
|
||||
class="ph-users ph-bold ph-lg ph-fw ph-lg"
|
||||
class="ph-head-circuits ph-bold ph-lg ph-fw ph-lg"
|
||||
></i
|
||||
><I18n
|
||||
:src="i18n.ts._channel.usersCount"
|
||||
|
|
|
@ -58,7 +58,7 @@ const headerActions = $computed(() => []);
|
|||
const headerTabs = $computed(() => [
|
||||
{
|
||||
key: "users",
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
title: i18n.ts.users,
|
||||
},
|
||||
{
|
||||
|
|
|
@ -492,7 +492,7 @@ if (iAmAdmin) {
|
|||
{
|
||||
key: "users",
|
||||
title: i18n.ts.users,
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
},
|
||||
{
|
||||
key: "raw",
|
||||
|
|
|
@ -135,7 +135,7 @@ async function deleteGroup() {
|
|||
definePageMetadata(
|
||||
computed(() => ({
|
||||
title: i18n.ts.members,
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
icon: "ph-head-circuits-three ph-bold ph-lg",
|
||||
})),
|
||||
);
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ const headerActions = $computed(() => [
|
|||
definePageMetadata(
|
||||
computed(() => ({
|
||||
title: i18n.ts.groups,
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
icon: "ph-head-circuits-three ph-bold ph-lg",
|
||||
})),
|
||||
);
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ const headerTabs = $computed(() => [
|
|||
},
|
||||
{
|
||||
key: "users",
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
title: i18n.ts.users,
|
||||
},
|
||||
]);
|
||||
|
|
|
@ -150,7 +150,7 @@ const headerTabs = $computed(() => []);
|
|||
|
||||
definePageMetadata({
|
||||
title: i18n.ts.accounts,
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ const menuDef = computed(() => [
|
|||
title: i18n.ts.basicSettings,
|
||||
items: [
|
||||
{
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
text: i18n.ts.profile,
|
||||
to: "/settings/profile",
|
||||
active: currentPage?.route.name === "profile",
|
||||
|
|
|
@ -301,7 +301,7 @@ const headerTabs = $computed(() => []);
|
|||
|
||||
definePageMetadata({
|
||||
title: i18n.ts.profile,
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -32,6 +32,6 @@ const headerTabs = $computed(() => []);
|
|||
|
||||
definePageMetadata({
|
||||
title: i18n.ts.signup,
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -87,7 +87,7 @@ const headerTabs = $computed(() => [
|
|||
},
|
||||
{
|
||||
key: "users",
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
title: i18n.ts.users,
|
||||
},
|
||||
]);
|
||||
|
|
|
@ -235,7 +235,7 @@ const headerTabs = $computed(() => [
|
|||
{
|
||||
key: "local",
|
||||
title: i18n.ts._timelines.local,
|
||||
icon: "ph-users ph-bold ph-lg",
|
||||
icon: "ph-head-circuits ph-bold ph-lg",
|
||||
iconOnly: true,
|
||||
},
|
||||
]
|
||||
|
@ -277,7 +277,7 @@ definePageMetadata(
|
|||
title: i18n.ts.timeline,
|
||||
icon:
|
||||
src === "local"
|
||||
? "ph-users ph-bold ph-lg"
|
||||
? "ph-head-circuits ph-bold ph-lg"
|
||||
: src === "social"
|
||||
? "ph-handshake ph-bold ph-lg"
|
||||
: src === "recommended"
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
inline
|
||||
danger
|
||||
@click="deleteAccount"
|
||||
><i class="ph-user-minus ph-bold ph-lg"></i>
|
||||
><i class="ph-head-circuit-minus ph-bold ph-lg"></i>
|
||||
{{ i18n.ts.deleteAccount }}</FormButton
|
||||
>
|
||||
</div>
|
||||
|
|
|
@ -65,7 +65,7 @@ definePageMetadata(
|
|||
computed(() =>
|
||||
user
|
||||
? {
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
title: user.name
|
||||
? `${user.name} (@${user.username})`
|
||||
: `@${user.username}`,
|
||||
|
|
|
@ -65,7 +65,7 @@ definePageMetadata(
|
|||
computed(() =>
|
||||
user
|
||||
? {
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
title: user.name
|
||||
? `${user.name} (@${user.username})`
|
||||
: `@${user.username}`,
|
||||
|
|
|
@ -88,7 +88,7 @@ const headerTabs = $computed(() =>
|
|||
{
|
||||
key: "home",
|
||||
title: i18n.ts.overview,
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
},
|
||||
...(($i && $i.id === user.id) || user.publicReactions
|
||||
? [
|
||||
|
@ -126,7 +126,7 @@ definePageMetadata(
|
|||
computed(() =>
|
||||
user
|
||||
? {
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
title: user.name
|
||||
? `${user.name} (@${user.username})`
|
||||
: `@${user.username}`,
|
||||
|
|
|
@ -34,6 +34,6 @@ const headerTabs = $computed(() => []);
|
|||
|
||||
definePageMetadata({
|
||||
title: "Verify email",
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -436,7 +436,7 @@ export function getNoteMenu(props: {
|
|||
!isAppearAuthor
|
||||
? {
|
||||
type: "parent",
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
text: i18n.ts.user,
|
||||
children: getUserMenu(appearNote.user),
|
||||
}
|
||||
|
|
|
@ -312,7 +312,7 @@ export function getUserMenu(user, router: Router = mainRouter) {
|
|||
},
|
||||
meId !== user.id
|
||||
? {
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
icon: "ph-head-circuits-three ph-bold ph-lg",
|
||||
text: i18n.ts.inviteToGroup,
|
||||
action: inviteGroup,
|
||||
}
|
||||
|
|
|
@ -238,21 +238,21 @@ function messagingStart(ev) {
|
|||
[
|
||||
{
|
||||
text: i18n.ts.messagingWithUser,
|
||||
icon: "ph-user ph-bold ph-lg",
|
||||
icon: "ph-head-circuit ph-bold ph-lg",
|
||||
action: () => {
|
||||
startUser();
|
||||
},
|
||||
},
|
||||
{
|
||||
text: i18n.ts.messagingWithGroup,
|
||||
icon: "ph-users-three ph-bold ph-lg",
|
||||
icon: "ph-head-circuits-three ph-bold ph-lg",
|
||||
action: () => {
|
||||
startGroup();
|
||||
},
|
||||
},
|
||||
{
|
||||
text: i18n.ts.manageGroups,
|
||||
icon: "ph-user-circle-gear ph-bold ph-lg",
|
||||
icon: "ph-head-circuit-circle-gear ph-bold ph-lg",
|
||||
action: () => {
|
||||
mainRouter.push("/my/groups");
|
||||
},
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<MkContainer :show-header="widgetProps.showHeader" class="mkw-userList">
|
||||
<template #header
|
||||
><i class="ph-user-list ph-bold ph-lg"></i>
|
||||
><i class="ph-head-circuit-list ph-bold ph-lg"></i>
|
||||
{{ list ? list.name : i18n.ts._widgets.userList }}</template
|
||||
>
|
||||
<template #func="{ buttonStyleClass }"
|
||||
|
|
Loading…
Reference in a new issue