Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "BackBtn" Feature to "Services" and "Blogs" Page #263

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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 src/Pages/AboutPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const AboutPage = () => {

return (
<>
<div className="py-8 mb-5 w-[50vw] justify-start ml-auto mr-auto mt-10">
<div className="py-2 mb-5 flex w-[50vw] justify-start ml-auto mr-auto mt-5">
<div>
<BackBtn Page={"About"} />
</div>
Expand Down
6 changes: 6 additions & 0 deletions src/Pages/BlogPage.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import { useState } from 'react'
import SingleBlog from '../components/SingleBlog';
import BackBtn from "../components/BackBtn/BackBtn";


const BlogPage = () => {
Expand Down Expand Up @@ -110,6 +111,11 @@ const BlogPage = () => {
}
return (
<>
<div className="py-2 mb-1 flex w-[50vw] justify-start ml-auto mr-auto mt-5">
<div>
<BackBtn Page={"Blogs"} />
</div>
</div>
{/* Tabs Container */}
<div className="grid grid-cols-3 lg:w-1/2 xl:w-1/4 md:w-2/3 text-base sm:text-xl lg:text-2xl w-5/6 mx-auto align-items-center justify-items-center">
{/* Top blgs tab */}
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/CareersPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function CareersPage() {
};
return (
<>
<div className="py-8 mb-5 flex w-[50vw] justify-start ml-auto mr-auto mt-10">
<div className="py-2 mb-5 flex w-[50vw] justify-start ml-auto mr-auto mt-5">
<div>
<BackBtn Page={"Careers"} />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/ContactPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function ContactPage() {

return (
<>
<div className="py-8 mb-5 flex w-[50vw] justify-start ml-auto mr-auto mt-10">
<div className="py-2 mb-5 flex w-[50vw] justify-start ml-auto mr-auto mt-5">
<div>
<BackBtn Page={"Contact"} />
</div>
Expand Down
9 changes: 8 additions & 1 deletion src/Pages/Services.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React, { useState } from 'react';
import patient from '../../public/assets/patient.webp';
import nurse from '../../public/assets/nurse-services.webp';
import { useNavigate } from 'react-router-dom';
import BackBtn from "../components/BackBtn/BackBtn";


const Services = () => {
const [city, setCity] = useState('Delhi'); // Default city
Expand All @@ -17,7 +19,12 @@ const Services = () => {

return (
<div>
<div className='bg-green-400 block m-auto w-3/4 rounded-md p-10 my-10'>
<div className="py-2 mb-5 flex w-[50vw] justify-start ml-auto mr-auto mt-5">
<div>
<BackBtn Page={"Services"} />
</div>
</div>
<div className='bg-green-400 block m-auto w-3/4 rounded-md p-10 my-10'>
<h1 className='md:text-5xl text-3xl text-center text-white font-bold mb-10'>Find the Best Nurses</h1>
<label
className="block uppercase tracking-wide text-black-700 dark:text-white text text-xs font-bold mb-2"
Expand Down