Skip to content

Commit

Permalink
Merge pull request #4102 from traPtitech/fix/replace_twitter_with_x
Browse files Browse the repository at this point in the history
Twitterを𝕏で置き換え
  • Loading branch information
mehm8128 authored Oct 18, 2023
2 parents 92bd176 + e52f614 commit 12b5014
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 3 additions & 0 deletions src/assets/icons/x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions src/assets/mdi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
mdiPin,
mdiDotsHorizontal,
mdiBook,
mdiTwitter,
mdiTagMultiple,
mdiEmail,
mdiTag,
Expand Down Expand Up @@ -113,7 +112,6 @@ const mdi: MdiIconsMapping = {
'dots-horizontal': mdiDotsHorizontal,
book: mdiBook,
notebook: mdiNotebook,
twitter: mdiTwitter,
tag: mdiTag,
tags: mdiTagMultiple,
email: mdiEmail,
Expand Down
10 changes: 5 additions & 5 deletions src/components/Modal/UserModal/ProfileTab/AccountList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<profile-header text="アカウント" />
<p v-if="showWikiPageLink" :class="$style.p">
<circle-icon
title="wiki"
name="crowi"
:color="iconColor"
:background="iconBackgroundColor"
Expand All @@ -18,6 +19,7 @@
</p>
<p v-if="blogPageLink" :class="$style.p">
<circle-icon
title="ブログ"
name="traP"
:color="iconColor"
:background="iconBackgroundColor"
Expand All @@ -33,8 +35,8 @@
</p>
<p v-if="twitterId !== ''" :class="$style.p">
<circle-icon
name="twitter"
mdi
title="𝕏"
name="x"
:color="iconColor"
:background="iconBackgroundColor"
:class="$style.icon"
Expand Down Expand Up @@ -90,9 +92,7 @@ const blogPageLink = computed(() => {
return `${blogPagePrefix}${props.name}`
})
const twitterLink = computed(
() => `https://twitter.com/${props.twitterId ?? ''}`
)
const twitterLink = computed(() => `https://x.com/${props.twitterId ?? ''}`)
</script>

<style lang="scss" module>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Settings/ProfileTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/>
</div>
<div :class="$style.element">
<h3 :class="$style.header">Twitter</h3>
<h3 :class="$style.header">𝕏</h3>
<form-input
v-model="state.twitterId"
prefix="@"
Expand Down

0 comments on commit 12b5014

Please sign in to comment.