Skip to content

Commit e2b894f

Browse files
authored
Merge pull request #11 from prafullnavkar/v2
changed header title and added freepdf page
2 parents ea398a6 + cbefa1b commit e2b894f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/component/Header.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useLocation } from "react-router-dom";
66
const Header = () => {
77
const location = useLocation();
88
const [isMenuVisible, setIsMenuVisible] = useState(false);
9-
console.log("host", window.location.host);
9+
// console.log("host", window.location);
1010
return (
1111
<div className="bg-blue-500 flex justify-between py-2 px-2">
1212
<div className="flex justify-center items-center gap-4">
@@ -15,7 +15,7 @@ const Header = () => {
1515
</Link>
1616
{location.pathname === "/" ? (
1717
<div className="text-white pr-3 font-bold text-sm md:text-base">
18-
{window.location.host}
18+
Tech Plus Coding
1919
</div>
2020
) : (
2121
<Link
@@ -28,7 +28,6 @@ const Header = () => {
2828
</div>
2929

3030
{/* desktop/large device Menu */}
31-
3231
<div className="hidden md:flex justify-between items-center gap-2 mr-3">
3332
<Link
3433
to="/carrer"
@@ -57,7 +56,7 @@ const Header = () => {
5756
</div>
5857
{/* Mobile device Menu */}
5958
{isMenuVisible && (
60-
<div className="absolute right-0 top-14 bg-black z-40">
59+
<div className="absolute right-0 top-14 bg-blue-500 z-40">
6160
<div className="md:hidden flex flex-col justify-between items-center gap-2 mr-3">
6261
<Link
6362
to="/carrer"

src/component/page/freepdf/FreePdf.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ import React from "react";
22

33
const FreePdf = () => {
44
return (
5-
<div className=" min-h-screen w-full">
6-
<h1>FreePdf</h1>
5+
<div className="h-screen w-full flex justify-center items-center ">
6+
<h3 className="text-xl md:text-4xl font-medium text-gray-400">
7+
Currently we working on it
8+
</h3>
79
</div>
810
);
911
};

0 commit comments

Comments
 (0)