forked from VanshKing30/FoodiesWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request VanshKing30#424 from iamabhishek2828/updation
Fix invalid href attributes
- Loading branch information
Showing
4 changed files
with
98 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import { Link } from "react-router-dom" | ||
import { Link } from "react-router-dom"; | ||
|
||
export default function Footer(){ | ||
return ( | ||
<footer className="p-4 bg-blue-950 md:p-8 lg:p-10 dark:bg-teal-700"> | ||
<div className="mx-auto max-w-screen-xl text-center"> | ||
<a href="#" className="flex justify-center items-center text-2xl font-semibold text-pink-800 "> | ||
<img src="https://foodies-web-app.vercel.app/static/media/logo2.db6bd5028bb56c6572c7.png" alt="title" width={"200px"}/> | ||
</a> | ||
<p className="my-6 text-white ">Discover culinary bliss with our diverse array of recipes and foodie resources – your ultimate destination for gastronomic inspiration.</p> | ||
<ul className="flex flex-wrap justify-center items-center mb-6 text-gray-400 "> | ||
export default function Footer() { | ||
return ( | ||
<footer className="p-4 bg-blue-950 md:p-8 lg:p-10 dark:bg-teal-700"> | ||
<div className="mx-auto max-w-screen-xl text-center"> | ||
<Link to="/" className="flex justify-center items-center text-2xl font-semibold text-pink-800"> | ||
<img src="https://foodies-web-app.vercel.app/static/media/logo2.db6bd5028bb56c6572c7.png" alt="title" width="200px" /> | ||
</Link> | ||
<p className="my-6 text-white">Discover culinary bliss with our diverse array of recipes and foodie resources – your ultimate destination for gastronomic inspiration.</p> | ||
<ul className="flex flex-wrap justify-center items-center mb-6 text-gray-400"> | ||
<li className="mr-4 hover:underline md:mr-6 hover:text-orange-600"> | ||
<Link to="/about">About</Link> | ||
<Link to="/about">About</Link> | ||
</li> | ||
<li className="mr-4 hover:underline md:mr-6 hover:text-orange-600"> | ||
<Link to="/news">News</Link> | ||
<Link to="/news">News</Link> | ||
</li> | ||
</ul> | ||
<span className="text-sm text-white sm:text-center ">© 2024-2025 <a href="#" className="hover:underline">Foodies™</a>. All Rights Reserved.</span> | ||
</div> | ||
</footer> | ||
) | ||
} | ||
</ul> | ||
<span className="text-sm text-white sm:text-center">© 2024-2025 <Link to="/" className="hover:underline">Foodies™</Link>. All Rights Reserved.</span> | ||
</div> | ||
</footer> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,26 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
darkMode: 'class', | ||
darkMode: 'class', // Enable dark mode based on 'class' attribute | ||
content: [ | ||
"./index.html", | ||
"./src/**/*.{js,ts,jsx,tsx}", | ||
"./src/**/*.{js,ts,jsx,tsx}", // Scan these files for Tailwind CSS classes | ||
], | ||
|
||
theme: { | ||
extend: { | ||
colors:{ | ||
colors: { | ||
customColor: '#484b6a', | ||
customBlue: '#151586', | ||
aliceblue: '#f0f8ff', | ||
cadetblue: '#5f9ea0', | ||
lightcadetblue: '#84bbbd', | ||
|
||
}, | ||
boxShadow: { | ||
green: '0 0 4px rgba(0, 255, 0, 0.5)', | ||
}, | ||
borderWidth: { | ||
'3': '4px', | ||
'3': '4px', // Custom border width utility | ||
}, | ||
|
||
}, | ||
}, | ||
plugins: [], | ||
} | ||
|
||
plugins: [], // No additional Tailwind CSS plugins used | ||
}; |