Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweep: Rename all user visible instances of "threads" to "smiths" #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const inter = Inter({
});

export const metadata: Metadata = {
metadataBase: new URL('https://threads.codebustar.com'),
metadataBase: new URL('https://smiths.codebustar.com'),
title: {
default: siteConfig.name,
template: `%s • ${siteConfig.name}`,
Expand All @@ -29,8 +29,8 @@ export const metadata: Metadata = {
"prisma",
"tRPC",
"sujjeee",
"threads",
"threads-clone",
"smiths",
"smiths-clone",
"t3-stack",
"uploadthing",
"shadcn ui"
Expand Down
4 changes: 2 additions & 2 deletions src/components/auth/account-setup-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export default function AccountSetupForm({ username }: { username: string }) {
if (success) {
router.push(origin ? `${origin}` : '/')
}
toast.success(`Welcome to threads ${username} !`)

toast.success(`Welcome to smiths ${username} !`)
},
onError: (err) => {
toast.error("AuthCallBack: Something went wrong!")
Expand Down
4 changes: 2 additions & 2 deletions src/components/user/user-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const UserProfile: React.FC<UserProfileInfoProps> = (props) => {
<h4 className="text-[15px]">
{username}
</h4>
<span className="ml-0.5 rounded-2xl bg-primary text-[#777777] text-xm px-1.5 py-1 text-[11px] font-medium">threads.net</span>
<span className="ml-0.5 rounded-2xl bg-primary text-[#777777] text-xm px-1.5 py-1 text-[11px] font-medium">smiths.net</span>
</div>
</div>
<Avatar className="h-[80px] w-[80px] overflow-visible outline outline-2 outline-border relative">
Expand Down Expand Up @@ -111,7 +111,7 @@ const UserProfile: React.FC<UserProfileInfoProps> = (props) => {
href={`/${basePath}`} className={cn("flex items-center justify-center w-full h-12 font-medium duration-200 text-center text-neutral-600", {
"border-b-2 border-foreground text-foreground": lastSegment === basePath
})}>
Threads
Smiths
</Link>
<Link
href={`/${basePath}/replies`}
Expand Down
8 changes: 4 additions & 4 deletions src/config/site.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export type SiteConfig = typeof siteConfig

export const siteConfig = {
name: "Threads",
description: "Open source threads clone with t3 stack.",
url: "https://threads.codebustar.com.vercel.app",
ogImage: "https://threads.codebustar.com/opengraph-image.png",
name: "Smiths",
description: "Open source smiths clone with t3 stack.",
url: "https://smiths.codebustar.com.vercel.app",
ogImage: "https://smiths.codebustar.com/opengraph-image.png",
links: {
twitter: "https://twitter.com/sujjeeee",
github: "https://github.com/sujjeee",
Expand Down