Skip to content

Commit

Permalink
final touch , added few styles
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekHegde2000 committed Nov 25, 2023
1 parent 4db3e3c commit 272b0bc
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 31 deletions.
25 changes: 25 additions & 0 deletions .env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema

# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings

DATABASE_URL= "your dabase url" --> change password and add database name


NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= your clerk publishable key
CLERK_SECRET_KEY= your clerk secret key


NEXT_PUBLIC_CLERK_SIGN_IN_URL =/sign-in

NEXT_PUBLIC_CLERK_SIGN_OUT_URL =/sign-out

NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL =/notes

NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL =/notes

OPENAI_API_KEY= your openai api key

PINECONE_API_KEY= your pincode api key
22 changes: 0 additions & 22 deletions .vscode/settings.json

This file was deleted.

1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"postinstall": "prisma generate"
},
"dependencies": {
"@clerk/nextjs": "^4.26.1",
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "./globals.css";
const inter = Inter({ subsets: ["latin"] });

export const metadata: Metadata = {
title: "FlowBrain",
title: "IntelliNote",
description: "The intelligent note-taking app",
};

Expand Down
4 changes: 2 additions & 2 deletions src/app/notes/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export default function NavBar() {
<div className="p-4 shadow">
<div className="m-auto flex max-w-7xl flex-wrap items-center justify-between gap-3">
<Link href="/notes" className="flex items-center gap-1">
<Image src={logo} alt="FlowBrain logo" width={40} height={40} />
<span className="font-bold">FlowBrain</span>
<Image src={logo} alt="IntelliNote logo" width={40} height={40} />
<span className="font-bold">IntelliNote</span>
</Link>
<div className="flex items-center gap-2">
<UserButton
Expand Down
2 changes: 1 addition & 1 deletion src/app/notes/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { auth } from "@clerk/nextjs";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "FlowBrain - Notes",
title: "IntelliNote - Notes",
};

export default async function NotesPage() {
Expand Down
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ export default function Home() {
return (
<main className="flex h-screen flex-col items-center justify-center gap-5">
<div className="flex items-center gap-4">
<Image src={logo} alt="FlowBrain logo" width={100} height={100} />
<Image src={logo} alt="IntelliNote logo" width={100} height={100} />
<span className="text-4xl font-extrabold tracking-tight lg:text-5xl">
FlowBrain
IntelliNote
</span>
</div>
<p className="max-w-prose text-center">
Expand Down
2 changes: 1 addition & 1 deletion src/app/sign-in/[[...sign-in]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SignIn } from "@clerk/nextjs";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "FlowBrain - Sign In",
title: "IntelliNote - Sign In",
};

export default function SignInPage() {
Expand Down
2 changes: 1 addition & 1 deletion src/app/sign-up/[[...sign-up]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SignUp } from "@clerk/nextjs";
import { Metadata } from "next";

export const metadata: Metadata = {
title: "FlowBrain - Sign Up",
title: "IntelliNote - Sign Up",
};

export default function SignUpPage() {
Expand Down
Binary file modified src/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/logo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 272b0bc

Please sign in to comment.