Skip to content

Commit

Permalink
Merge pull request #22 from soloman-err/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
solaimanb committed Aug 10, 2023
2 parents cab7e83 + 82ff96e commit a083200
Show file tree
Hide file tree
Showing 8 changed files with 102 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
root: true,
env: { browser: true, es2020: true, node: true },
env: { browser: true, es2020: true, Node: true },
extends: [
'eslint:recommended',
'plugin:react/recommended',
Expand Down
41 changes: 40 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"match-sorter": "^6.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-router-dom": "^6.14.2",
"sort-by": "^1.2.0",
"vite": "^4.4.9"
Expand Down
2 changes: 1 addition & 1 deletion src/components/container/Container.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Container = ({children}) => {
return (
<div className="max-w-[2520px]">
<div className="max-w-[2520px] bg-gradient-to-r from-purple-500 to-pink-500">
{children}
</div>
);
Expand Down
4 changes: 2 additions & 2 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import router from './routes/Routes';

ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<AuthProvider>
{/* <AuthProvider> */}
<Container>
<RouterProvider router={router} />
</Container>
</AuthProvider>
{/* </AuthProvider> */}
</React.StrictMode>
);
2 changes: 1 addition & 1 deletion src/pages/Home/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const Home = () => {
return (
<div className="bg-white h-screen">
<div className="">
<h1>Comming Soon</h1>
</div>
);
Expand Down
57 changes: 55 additions & 2 deletions src/pages/Home/shared/Footer/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,62 @@
import React from 'react'

import { FaGenderless,FaFacebook,FaTelegram,FaSpotify } from 'react-icons/Fa';
import { Link } from 'react-router-dom';
const Footer = () => {
return (
<div className='bg-gradient-to-r from-purple-500 to-pink-500 '>
<footer className="footer p-10 font-serif text-white">
<div className=''>
<h2 className='text-3xl'>CyCo</h2>
<p>ACME Industries Ltd.<br/>Providing reliable tech since 1992</p>
<p>Questions?<span className=' text-cyan-400 font-mono'> Call 1800-040-1234</span> </p>
<div>
<h3>Footer</h3>
<h4>FOLLOW US:-</h4>
<div className='flex gap-2'>
<Link><FaFacebook className='text-3xl my-2 hover:text-cyan-400'/></Link>
<Link><FaTelegram className='text-3xl my-2 hover:text-cyan-400'/></Link>
<Link><FaSpotify className='text-3xl my-2 hover:text-cyan-400'/></Link>
</div>
</div>
</div>
<div>
<span className="footer-title">Services</span>
<a className="link link-hover hover:text-red-600 flex items-center"><FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Branding</a>
<a className="link link-hover hover:text-red-600 flex items-center"><FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Design</a>
<a className="link link-hover hover:text-red-600 flex items-center "><FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Marketing</a>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Advertisement</a>
</div>
<div>
<span className="footer-title">Company</span>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> About us</a>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Contact</a>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Jobs</a>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Press kit</a>
</div>
<div>
<span className="footer-title hover:text-red-600"> Legal</span>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Terms of use</a>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Privacy policy</a>
<a className="link link-hover hover:text-red-600 flex items-center"> <FaGenderless className=' text-red-700 mr-2 hover:text-white'/> Cookie policy</a>
</div>
<div>
<span className="footer-title ">Newsletter</span>
<p>Subscribe to our newsletter and <br/> never miss Our Latest movie,<br/> Web series, TV Show etc.</p>
<div className="form-control w-80">
<label className="label">
<span className="label-text">Enter your email address</span>
</label>
<div className="relative hover:shadow-xl">
<input type="text" placeholder="username@site.com" className=" bg-white input input-bordered w-full pr-16 text-black" />
<button className="btn btn-primary absolute top-0 right-0 rounded-l-none">Subscribe</button>
</div>
</div>
</div>
</footer>
<footer className="footer footer-center p-4 bg-gradient-to-r from-violet-500 to-fuchsia-500 text-white">
<div>
<p>Copyright © 2023 - All right reserved by CyCo Industries Ltd</p>
</div>
</footer>
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ module.exports = {
daisyui: {
themes: ['light', 'black', 'night', 'forest', 'retro', 'acid', 'dark'],
},
plugins: [require('daisyui')],
plugins: [require("daisyui")],
};

0 comments on commit a083200

Please sign in to comment.