Skip to content
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
2 changes: 1 addition & 1 deletion client/.env.sample
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VITE_BASE_URL =
VITE_BASE_URL = "http://localhost:8080"
18 changes: 9 additions & 9 deletions client/src/components/DocGrid/DocGrid.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const DocGrid = () => {
}}
/>
<button
className="rounded-md mt-3 mb-10 rounded-l-none pl-4 bg-indigo-600 text-white px-6 text-lg font-semibold py-4 rounded-r-md"
className="rounded-md mt-3 mb-10 rounded-l-none pl-4 bg-indigo-600 text-white px-6 text-lg font-semibold py-4 rounded-r-md hover:bg-indigo-500"
onClick={() => {
window.location.href = `?search=${encodeURIComponent(
searchInput
Expand All @@ -196,11 +196,11 @@ const DocGrid = () => {
}}
className={`flex-1 border-2 ${
activeTab === "All"
? "bg-indigo-600 text-white"
: "border-black"
} rounded-lg p-2 `}
? "bg-indigo-600 text-white "
: "border-black hover:bg-slate-200"
} rounded-lg p-2 hover:bg-indigo-500 cursor-pointer `}
>
<h2 className="text-2xl font-bold tracking-tight justify-center flex text-center">
<h2 className="text-2xl font-bold tracking-tight justify-center flex text-center">
All Notes
</h2>
</div>
Expand All @@ -210,9 +210,9 @@ const DocGrid = () => {
}}
className={`flex-1 border-2 ${
activeTab === "BookMarked"
? "bg-indigo-600 text-white"
: "border-black"
} rounded-lg p-2 `}
? "bg-indigo-600 text-white "
: "border-black hover:bg-slate-200"
} rounded-lg p-2 hover:bg-indigo-500 cursor-pointer `}
>
<h2 className="text-2xl font-bold tracking-tight first-center justify-center flex text-center">
BookMarked Notes
Expand Down Expand Up @@ -311,7 +311,7 @@ const DocGrid = () => {
aria-labelledby="information-heading"
className="mt-2 gap-4 flex flex-col"
>
<h2 className="text-2xl font-bold text-gray-900 sm:pr-12">
<h2 className="text-</h2>2xl font-bold text-gray-900 sm:pr-12">
{note_.title}
</h2>
<h3 id="information-heading" className="sr-only">
Expand Down
12 changes: 6 additions & 6 deletions server/.env.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PORT =
MONGODB_URI =
SECRET =
ORIGIN =
APP_EMAIL =
APP_PASSWORD =
PORT = 8080
MONGODB_URI = "mongodb+srv://swapnilskumar99:7yOlhRjMJCGXi5SS@cluster0.s5vxjxw.mongodb.net/"
SECRET = "N()U*(#@HDF(*#XGH*&#^G)#(UXJX#)U)"
ORIGIN = "http://localhost:5173"
APP_EMAIL = "examtime.official.dev@gmail.com"
APP_PASSWORD = "eivc xnuz bmeg jutk"
16 changes: 15 additions & 1 deletion server/package-lock.json

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