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

Configured the Tailwind for colors #10

Merged
merged 1 commit into from
Aug 13, 2024
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
4 changes: 2 additions & 2 deletions frontend/app/Components/BlogIndexPage/BlogIndexPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import Categories from './Categories';

export default function BlogIndexPage() {
return (
<div className="bg-[#F4F4F4] px-36 py-20">
<div className="bg-light_gray px-36 py-20">
<h1 className="text-6xl text-black">
Sustainability Web Designs <br />{' '}
<span className="text-[#490ED9] font-semibold">
<span className="text-blue_violet font-semibold">
Accessible & best SEO <br /> practices
</span>
</h1>
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/Components/BlogIndexPage/Category.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react';

const Category = () => {
return (
<div className="px-8 py-3 border border-4 rounded-br-xl border-[#490ED9]">
<h1 className="text-[#490ED9] font-bold text-xl">Sustainability</h1>
<div className="px-8 py-3 border border-4 rounded-br-xl border-blue_violet">
<h1 className="text-blue_violet font-bold text-xl">Sustainability</h1>
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/Components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Footer = () => {
return (
<footer className="">
<div className="mx-36 flex flex-row items-center justify-between bg-[#0C0E0A] py-6">
<div className="mx-36 flex flex-row items-center justify-between bg-black py-6">
<div>
<p className="italic">
Wagtail, A step towards Sustainable Development.
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/Components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { Switch } from '@nextui-org/react';
const Navbar = () => {
const [isSelected, setIsSelected] = useState(true);
return (
<div className="bg-[#EEEDEF] px-36 py-5 flex flex-row items-center justify-between">
<div className="bg-lavendar_gray px-36 py-5 flex flex-row items-center justify-between">
<div>
<p className="text-lg font-extrabold text-[#490ED9]">ZenWeb</p>
<p className="text-lg font-extrabold text-blue_violet">ZenWeb</p>
</div>
<div className="flex flex-row items-center">
<span className="text-base mr-10 text-black cursor-pointer">Home</span>
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function RootLayout({ children }) {
<NextUIProvider>
<div className="flex flex-col min-h-screen">
<Navbar />
<main className="flex-grow bg-[#F4F4F4]">{children}</main>
<main className="flex-grow bg-light_gray">{children}</main>
<Footer />
</div>
</NextUIProvider>
Expand Down
7 changes: 7 additions & 0 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ module.exports = {
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
colors: {
light_gray:"#F4F4F4",
black:"#0C0E0A",
lavendar_gray:"#EEEDEF",
blue_violet:"#490ED9",
mint_green:"#D6F7E7"
},
},
},
plugins: [],
Expand Down