diff --git a/README.md b/README.md
index 9c8bac5..d2edcf6 100644
--- a/README.md
+++ b/README.md
@@ -1,53 +1,53 @@
-# Liit: Microblogging CRUD App & Next.js Boilerplate
+# Bolt Boilerplate
-Liit is a powerful microblogging CRUD (Create, Read, Update, Delete) application built with Next.js and powered by Convex, Clerk, and Shadcn. It provides developers with a robust boilerplate for creating dynamic and engaging microblogging platforms with real-time functionality.
+**Bolt Boilerplate** is a [Next.js](https://nextjs.org/) framework integrated with Convex for seamless interactions, Clerk for authentication, and Shadcn for stunning UI. It's designed to supercharge your web development projects, allowing you to build dynamic web applications at lightning speed and with ease.
## Features
-- Unlimited Likes: Anyone can like posts multiple times, without limitations.
-- Real-Time Updates: Leveraging Convex's real-time database, users experience seamless interactions with instant updates.
-- Authentication: Integrated with Clerk for secure authentication and user management.
-- Custom Styling: Styled with Shadcn to provide a visually appealing and customizable user interface.
-- CRUD Operations: Easily perform Create, Read, Update, and Delete operations on posts and user profiles.
+- **Seamless Interactions**: Integrated with [Convex](https://www.convex.dev/) for real-time updates and interactions.
+- **Secure Authentication**: Utilizes [Clerk](https://clerk.com/) for authentication and user management, ensuring a secure login experience.
+- **Stunning UI**: Styled with [Shadcn](https://ui.shadcn.com/) to provide visually appealing and customizable UI components.
+- **Easy Setup**: Get started in minutes with Bolt Boilerplate's straightforward setup process.
## Quick Start
-1. Clone the Repository:
+**1. Clone the Repository:**
```bash
-git clone https://github.com/sov3333/get-liit.git
+git clone https://github.com/sov3333/bolt-boilerplate-nextjs.git
```
-2. Install Dependencies:
+**2. Install Dependencies:**
```bash
-cd get-liit
+cd bolt-boilerplate-nextjs
npm install
```
-3. Run Convex development server, and select create new project.
+**3. Setup Convex Development Server:**
+Run the Convex development server and create a new project:
```bash
npx convex dev
```
-
This will auto-populate `.env.local` file with the following:
```plaintext
CONVEX_DEPLOYMENT=dev:something-random-123
NEXT_PUBLIC_CONVEX_URL=your_public_convex_url
```
-4. Setup a Clerk project, then add the following environment variables:
+**4. Setup Clerk Authentication:**
+Setup a Clerk project and add the following environment variables to the .env.local file:
```plaintext
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
```
+Replace Clerk issuerUrl in `@/convex/auth.config.ts` in the providers domain.
-5. Replace Clerk issuerUrl in `@/convex/auth.config.ts` in providers domain.
-
-6. Run the Development Server:
+**5. Run the Development Server:**
```bash
npm run dev
```
-7. Open Your Browser: Open http://localhost:3000 to view the app.
+**6. Open Your Browser:**
+Open http://localhost:3000 to view the app.
## Contributing
diff --git a/app/(home)/(crud)/_components/create-post.tsx b/app/(home)/(crud)/_components/create-post.tsx
index 3740f86..faf9dc7 100644
--- a/app/(home)/(crud)/_components/create-post.tsx
+++ b/app/(home)/(crud)/_components/create-post.tsx
@@ -2,15 +2,15 @@ import { useForm } from "react-hook-form";
import { z } from "zod";
import { zodResolver } from "@hookform/resolvers/zod"
import { useConvexAuth, useMutation } from "convex/react";
-import { SignInButton, useUser } from "@clerk/nextjs";
+import { useUser } from "@clerk/nextjs";
import { Button } from "@/components/ui/button";
import { Form, FormControl, FormField, FormItem, FormMessage } from "@/components/ui/form";
import { Input } from "@/components/ui/input";
import { api } from "@/convex/_generated/api";
-import { Flame } from "lucide-react";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
+import { Avatar, AvatarImage } from "@/components/ui/avatar";
import Link from "next/link";
+import AvatarFallbackLogo from "../../_components/avatar-fallback-logo";
const formSchema = z.object({
text: z.string()
@@ -55,19 +55,12 @@ const CreatePost = () => {
-
-
-
-
+
:
- {/* */}
-
-
-
-
+
}
diff --git a/app/(home)/(crud)/_components/posts.tsx b/app/(home)/(crud)/_components/posts.tsx
index ee6eca2..55bb855 100644
--- a/app/(home)/(crud)/_components/posts.tsx
+++ b/app/(home)/(crud)/_components/posts.tsx
@@ -4,13 +4,14 @@ import { useUser } from "@clerk/nextjs";
import { useConvexAuth, useMutation } from "convex/react";
import { Heart, Trash2 } from "lucide-react";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
+import { Avatar, AvatarImage } from "@/components/ui/avatar";
import { Button } from "@/components/ui/button";
import { DialogDelete } from "./dialog-delete";
import { api } from "@/convex/_generated/api";
import { Id } from "@/convex/_generated/dataModel";
import { Post } from "@/convex/posts";
import Link from "next/link";
+import AvatarFallbackLogo from "../../_components/avatar-fallback-logo";
dayjs.extend(relativeTime);
@@ -46,7 +47,7 @@ export function Posts(props: { posts: Post[] }) {
- Liit
+
{buttonData.map((button, index) => (
// make github button a sign in button if user is not authenticated
- isAuthenticated
+ (isAuthenticated || button.name !== "github")
?
- Unlimited Likes, Infinite Connections. It's Liit
+ Supercharge Your Next.js Projects with Bolt Boilerplate
- Experience microblogging with limitless likes and seamless interactions powered by Convex's real-time database.
+ Build dynamic web apps lightning fast with Bolt: the Next.js framework integrated with Convex for seamless interactions, Clerk for authentication, and Shadcn for stunning UI.
+