Skip to content

Commit

Permalink
hid docs, blogs and donate & fixed joinus overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
harshau007 committed Aug 18, 2024
1 parent b63634d commit 43de598
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion app/JoinUs/[jobId]/jobContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function JobContent({ jobId }) {
<HeadCus params={job.title} />
<header className="bg-[#090E0E] shadow w-full">
<div className="px-4 py-6 mx-auto text-center max-w-7xl sm:px-6 lg:px-8">
<h1 className="mt-[9rem] mb-3 text-6xl font-bold text-white">
<h1 className="mt-[9rem] mb-3 text-4xl font-bold text-white text-wrap lg:text-6xl">
{job.title}
</h1>
<p className="text-xl text-gray-200">{job.location}</p>
Expand Down
16 changes: 8 additions & 8 deletions app/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ export default function Navbar() {
{navOpen && (
<Modal onClose={burgerClick}>
<div className="flex flex-col items-center justify-center gap-4 font-bold">
<Link href="/docs" target="_blank" className="hover:text-[#6a45d1]">
{/* <Link href="/docs" target="_blank" className="hover:text-[#6a45d1]">
Docs
</Link>
<Link
</Link> */}
{/* <Link
href="/blogs"
target="_blank"
className="hover:text-[#6a45d1]"
>
Blogs
</Link>
</Link> */}
<Link href="/tutorials" className="hover:text-[#6a45d1]">
Tutorials
</Link>
Expand Down Expand Up @@ -88,16 +88,16 @@ export default function Navbar() {
<Image src="/hamburger.svg" height={30} width={30} alt="Nothing" />
</button>
<div className="items-center hidden gap-4 text-lg font-bold md:flex">
<Link href="/docs" target="_blank" className="hover:text-[#6a45d1]">
{/* <Link href="/docs" target="_blank" className="hover:text-[#6a45d1]">
Docs
</Link>
<Link
</Link> */}
{/* <Link
href="/blogs"
target="_blank"
className="hover:text-[#6a45d1]"
>
Blogs
</Link>
</Link> */}
<Link href="/tutorials" className="hover:text-[#6a45d1]">
Tutorials
</Link>
Expand Down
4 changes: 2 additions & 2 deletions app/components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Layout = ({ children }) => {
return (
<div className="min-h-screen flex flex-col relative">
<main className="flex-grow">{children}</main>
{!isDonatePage && (
{/* {!isDonatePage && (
<Link
href="/donate"
className="fixed w-[3.5rem] h-[3.5rem] bg-[#6a45d1] rounded-full flex items-center justify-center shadow-lg hover:bg-[#7554d1] transition duration-300 bottom-20 right-4 md:bottom-24 md:right-6 lg:w-[3.5rem] lg:h-[3.5rem] lg:bottom-6"
Expand All @@ -26,7 +26,7 @@ const Layout = ({ children }) => {
className="lg:w-6 lg:h-6"
/>
</Link>
)}
)} */}
</div>
);
};
Expand Down
7 changes: 4 additions & 3 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@nextui-org/switch": "^2.0.28",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tooltip": "^1.1.2",
"@splidejs/react-splide": "^0.7.12",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down

0 comments on commit 43de598

Please sign in to comment.