From 2ff44e723b05edc064c6451ba62c154e17a240dd Mon Sep 17 00:00:00 2001 From: "github-actions[bot] (aider)" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 10:50:28 +0000 Subject: [PATCH 1/3] refactor: Rename project from "Threads" to "Smiths" --- src/app/layout.tsx | 4 ++-- src/components/star-on-github.tsx | 2 +- src/config/site.ts | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 884a406..bf18068 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -29,8 +29,8 @@ export const metadata: Metadata = { "prisma", "tRPC", "sujjeee", - "threads", - "threads-clone", + "smiths", + "smiths-clone", "t3-stack", "uploadthing", "shadcn ui" diff --git a/src/components/star-on-github.tsx b/src/components/star-on-github.tsx index b141032..cec00f8 100644 --- a/src/components/star-on-github.tsx +++ b/src/components/star-on-github.tsx @@ -3,7 +3,7 @@ import { Icons } from '@/components/icons' export default function StarOnGithub() { return ( - +
diff --git a/src/config/site.ts b/src/config/site.ts index a690588..0a4b228 100644 --- a/src/config/site.ts +++ b/src/config/site.ts @@ -1,13 +1,13 @@ 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", discord: "https://discord.com/users/sujjeee", }, -} \ No newline at end of file +} From cda59f5dfb9cca021f7ced8a89774154180d61bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot] (aider)" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 10:50:34 +0000 Subject: [PATCH 2/3] refactor: Rename project from Threads to Smiths clone --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44408eb..0572d7d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# [Threads clone](https://threads.codebustar.com) +# [Smiths clone](https://smiths.codebustar.com) -This is an open source **threads-clone** build with ***`create-t3-app`*** and everything new in Next.js 13 and 14. +This is an open source **smiths-clone** build with ***`create-t3-app`*** and everything new in Next.js 13 and 14. |1. Feed Page |2. Search Page | |:---:|:---:| From ec2bba41746c100947f30f97c6ccbe5875383df3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot] (aider)" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 9 Nov 2024 10:51:04 +0000 Subject: [PATCH 3/3] refactor: Rename threads-banner to smiths-banner and update footer text --- src/components/layouts/site-footer.tsx | 4 ++-- src/components/smiths-banner.tsx | 31 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 src/components/smiths-banner.tsx diff --git a/src/components/layouts/site-footer.tsx b/src/components/layouts/site-footer.tsx index 5529557..b59903c 100644 --- a/src/components/layouts/site-footer.tsx +++ b/src/components/layouts/site-footer.tsx @@ -13,7 +13,7 @@ export default function SiteFooter() {
  • - Threads Terms + Smiths Terms
  • @@ -37,4 +37,4 @@ export default function SiteFooter() { ) -} \ No newline at end of file +} diff --git a/src/components/smiths-banner.tsx b/src/components/smiths-banner.tsx new file mode 100644 index 0000000..74970a3 --- /dev/null +++ b/src/components/smiths-banner.tsx @@ -0,0 +1,31 @@ +"use client" + +import useWindow from '@/hooks/use-window' +import React from 'react' +import { Icons } from '@/components/icons' +import Image from 'next/image' + +export default function SmithsBanner() { + const { isMobile } = useWindow() + return ( +
    + {isMobile ? +
    + +
    + : + + } +
    + ) +}