Skip to content
Merged
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
7 changes: 3 additions & 4 deletions src/component/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useLocation } from "react-router-dom";
const Header = () => {
const location = useLocation();
const [isMenuVisible, setIsMenuVisible] = useState(false);
console.log("host", window.location.host);
// console.log("host", window.location);
return (
<div className="bg-blue-500 flex justify-between py-2 px-2">
<div className="flex justify-center items-center gap-4">
Expand All @@ -15,7 +15,7 @@ const Header = () => {
</Link>
{location.pathname === "/" ? (
<div className="text-white pr-3 font-bold text-sm md:text-base">
{window.location.host}
Tech Plus Coding
</div>
) : (
<Link
Expand All @@ -28,7 +28,6 @@ const Header = () => {
</div>

{/* desktop/large device Menu */}

<div className="hidden md:flex justify-between items-center gap-2 mr-3">
<Link
to="/carrer"
Expand Down Expand Up @@ -57,7 +56,7 @@ const Header = () => {
</div>
{/* Mobile device Menu */}
{isMenuVisible && (
<div className="absolute right-0 top-14 bg-black z-40">
<div className="absolute right-0 top-14 bg-blue-500 z-40">
<div className="md:hidden flex flex-col justify-between items-center gap-2 mr-3">
<Link
to="/carrer"
Expand Down
6 changes: 4 additions & 2 deletions src/component/page/freepdf/FreePdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ import React from "react";

const FreePdf = () => {
return (
<div className=" min-h-screen w-full">
<h1>FreePdf</h1>
<div className="h-screen w-full flex justify-center items-center ">
<h3 className="text-xl md:text-4xl font-medium text-gray-400">
Currently we working on it
</h3>
</div>
);
};
Expand Down