├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .vscode └── settings.json ├── README.md ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── images │ ├── G-google.png │ ├── Twitter-logo.png │ ├── Twitter-logo.svg.png │ ├── a-apple.png │ ├── banner.jpeg │ ├── favicon.ico │ ├── linkedin-banner-01.jpg │ ├── loading.svg │ ├── next.svg │ ├── saddam.jpg │ ├── svg │ │ └── Spinner-1s-200px.svg │ ├── thirteen.svg │ ├── twitter-banner.jpeg │ └── vercel.svg ├── next.svg ├── thirteen.svg └── vercel.svg ├── src ├── app │ ├── .prettierrc │ ├── Providers.tsx │ ├── [...not-found] │ │ └── page.tsx │ ├── [profile] │ │ └── page.tsx │ ├── api │ │ └── hello │ │ │ └── route.ts │ ├── error.tsx │ ├── favicon.ico │ ├── layout.tsx │ ├── not-found.tsx │ ├── page.tsx │ ├── sign-in │ │ └── page.tsx │ └── sign-up │ │ └── page.tsx ├── components │ ├── Article.tsx │ ├── Auth.tsx │ ├── Button.tsx │ ├── Comment.tsx │ ├── Comments.tsx │ ├── DarkModSwitch.tsx │ ├── Messages.tsx │ ├── News.tsx │ ├── RandomUser.tsx │ ├── Search.tsx │ ├── SideBarOption.tsx │ ├── Sidebar.tsx │ ├── Trend.tsx │ ├── Trending.tsx │ ├── Tweet.tsx │ ├── TweetInput.tsx │ ├── TweetTemp.tsx │ ├── Tweets.tsx │ ├── WhoToFollow.tsx │ └── Widget.tsx ├── config │ └── firebase.ts ├── pages │ └── api │ │ └── auth │ │ └── [...nextauth].tsx ├── styles │ └── globals.css ├── types │ ├── news.ts │ ├── randomUser.ts │ └── tweets.ts └── utils │ ├── helpers.ts │ ├── index.ts │ └── mockedData.ts ├── tailwind.config.js ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/.prettierignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/README.md -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/images/G-google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/G-google.png -------------------------------------------------------------------------------- /public/images/Twitter-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/Twitter-logo.png -------------------------------------------------------------------------------- /public/images/Twitter-logo.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/Twitter-logo.svg.png -------------------------------------------------------------------------------- /public/images/a-apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/a-apple.png -------------------------------------------------------------------------------- /public/images/banner.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/banner.jpeg -------------------------------------------------------------------------------- /public/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/favicon.ico -------------------------------------------------------------------------------- /public/images/linkedin-banner-01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/linkedin-banner-01.jpg -------------------------------------------------------------------------------- /public/images/loading.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/loading.svg -------------------------------------------------------------------------------- /public/images/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/next.svg -------------------------------------------------------------------------------- /public/images/saddam.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/saddam.jpg -------------------------------------------------------------------------------- /public/images/svg/Spinner-1s-200px.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/svg/Spinner-1s-200px.svg -------------------------------------------------------------------------------- /public/images/thirteen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/thirteen.svg -------------------------------------------------------------------------------- /public/images/twitter-banner.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/twitter-banner.jpeg -------------------------------------------------------------------------------- /public/images/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/images/vercel.svg -------------------------------------------------------------------------------- /public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/next.svg -------------------------------------------------------------------------------- /public/thirteen.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/thirteen.svg -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/app/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/.prettierrc -------------------------------------------------------------------------------- /src/app/Providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/Providers.tsx -------------------------------------------------------------------------------- /src/app/[...not-found]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/[...not-found]/page.tsx -------------------------------------------------------------------------------- /src/app/[profile]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/[profile]/page.tsx -------------------------------------------------------------------------------- /src/app/api/hello/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/api/hello/route.ts -------------------------------------------------------------------------------- /src/app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/error.tsx -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/not-found.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/sign-in/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/sign-in/page.tsx -------------------------------------------------------------------------------- /src/app/sign-up/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/app/sign-up/page.tsx -------------------------------------------------------------------------------- /src/components/ Article.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/ Article.tsx -------------------------------------------------------------------------------- /src/components/Auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Auth.tsx -------------------------------------------------------------------------------- /src/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Button.tsx -------------------------------------------------------------------------------- /src/components/Comment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Comment.tsx -------------------------------------------------------------------------------- /src/components/Comments.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Comments.tsx -------------------------------------------------------------------------------- /src/components/DarkModSwitch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/DarkModSwitch.tsx -------------------------------------------------------------------------------- /src/components/Messages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Messages.tsx -------------------------------------------------------------------------------- /src/components/News.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/News.tsx -------------------------------------------------------------------------------- /src/components/RandomUser.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/RandomUser.tsx -------------------------------------------------------------------------------- /src/components/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Search.tsx -------------------------------------------------------------------------------- /src/components/SideBarOption.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/SideBarOption.tsx -------------------------------------------------------------------------------- /src/components/Sidebar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Sidebar.tsx -------------------------------------------------------------------------------- /src/components/Trend.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Trend.tsx -------------------------------------------------------------------------------- /src/components/Trending.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Trending.tsx -------------------------------------------------------------------------------- /src/components/Tweet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Tweet.tsx -------------------------------------------------------------------------------- /src/components/TweetInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/TweetInput.tsx -------------------------------------------------------------------------------- /src/components/TweetTemp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/TweetTemp.tsx -------------------------------------------------------------------------------- /src/components/Tweets.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Tweets.tsx -------------------------------------------------------------------------------- /src/components/WhoToFollow.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/WhoToFollow.tsx -------------------------------------------------------------------------------- /src/components/Widget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/components/Widget.tsx -------------------------------------------------------------------------------- /src/config/firebase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/config/firebase.ts -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/pages/api/auth/[...nextauth].tsx -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/types/news.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/types/news.ts -------------------------------------------------------------------------------- /src/types/randomUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/types/randomUser.ts -------------------------------------------------------------------------------- /src/types/tweets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/types/tweets.ts -------------------------------------------------------------------------------- /src/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/utils/helpers.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/mockedData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/src/utils/mockedData.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/saddamarbaa/twitter-clone-app-nextjs-typescript/HEAD/yarn.lock --------------------------------------------------------------------------------