Skip to content

Commit b50ff96

Browse files
authored
refactor: replace @iconify/tailwind with @egoist/tailwindcss-icons (#1154)
1 parent 9002dce commit b50ff96

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+253
-181
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161
"zustand": "4.4.6"
162162
},
163163
"devDependencies": {
164+
"@egoist/tailwindcss-icons": "1.7.0",
164165
"@ianvs/prettier-plugin-sort-imports": "4.1.1",
165-
"@iconify/tailwind": "0.1.4",
166166
"@next/bundle-analyzer": "14.0.3",
167167
"@types/async-lock": "1.4.2",
168168
"@types/canvas-confetti": "1.6.4",

pnpm-lock.yaml

Lines changed: 88 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/[locale]/(home)/(activities)/tag/[tag]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default async function Tag({
4848
<Hydrate state={dehydratedState}>
4949
<div className="border rounded-xl px-5 py-6 mb-4 space-y-2 relative bg-zinc-50">
5050
<div className="text-2xl flex items-center font-bold">
51-
<i className="icon-[mingcute--tag-line] mr-1" />
51+
<i className="i-mingcute-tag-line mr-1" />
5252
{params.tag}
5353
</div>
5454
<ParticipateButton tag={params.tag} />

src/app/[locale]/(home)/(activities)/topic/[topic]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default async function Topic({
5353
<Hydrate state={dehydratedState}>
5454
<div className="border rounded-xl px-5 py-6 mb-4 space-y-2 relative bg-zinc-50">
5555
<div className="text-2xl flex items-center font-bold">
56-
<i className="icon-[mingcute--tag-line] mr-1" />
56+
<i className="i-mingcute-tag-line mr-1" />
5757
{info?.includeTags[0]}
5858
</div>
5959
<p className="text-zinc-600">{t(info?.description || "")}</p>

src/app/[locale]/(home)/about/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async function Home() {
2020
<OriginEntranceButton
2121
connectedContent={
2222
<>
23-
<span className="icon-[mingcute--grid-line] text-xl mr-2 inline-block"></span>
23+
<span className="i-mingcute-grid-line text-xl mr-2 inline-block"></span>
2424
<span>{t("Dashboard")}</span>
2525
</>
2626
}
@@ -163,7 +163,7 @@ async function Home() {
163163
<span className="mb-1 sm:mb-3">{t("Explore the xLog way")}</span>
164164
<Link
165165
href="#features"
166-
className="cursor-pointer inline-block icon-[mingcute--down-line] text-3xl"
166+
className="cursor-pointer inline-block i-mingcute-down-line text-3xl"
167167
></Link>
168168
</div>
169169
</div>
@@ -318,7 +318,7 @@ async function Home() {
318318
<ul className="mt-14 grid grid-cols-3 sm:grid-cols-5 gap-y-14 gap-x-2">
319319
<Integration />
320320
<li className="flex items-center justify-center">
321-
<i className="icon-[mingcute--more-1-line] text-5xl" />
321+
<i className="i-mingcute-more-1-line text-5xl" />
322322
</li>
323323
</ul>
324324
</div>

src/app/[locale]/dashboard/[subdomain]/editor/post-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ const EditorExtraProperties = memo(
574574
onClick={openAdvancedOptions}
575575
>
576576
<span className="inline-flex items-center">
577-
<i className="icon-[mingcute--settings-4-fill] inline-block mr-2" />
577+
<i className="i-mingcute-settings-4-fill inline-block mr-2" />
578578
<span>{t("Advanced Settings")}</span>
579579
</span>
580580
</Button>

src/app/[locale]/dashboard/[subdomain]/events/page-component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export default function EventsPage() {
164164
}
165165
>
166166
{t("Learn more")}{" "}
167-
<i className="icon-[mingcute--right-line] text-xl ml-1" />
167+
<i className="i-mingcute-right-line text-xl ml-1" />
168168
</UniLink>
169169
</div>
170170
</div>

0 commit comments

Comments
 (0)