Skip to content

Commit

Permalink
Merge pull request #11 from UniqueCoderRihan/Mission-Finishing-Ui
Browse files Browse the repository at this point in the history
Mission finishing UI
  • Loading branch information
raihanuldev authored Nov 9, 2023
2 parents 03095f7 + f06f28d commit 37784ea
Show file tree
Hide file tree
Showing 12 changed files with 40 additions and 10 deletions.
11 changes: 7 additions & 4 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
vite.svg,1685369108364,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
index.html,1695582970057,bf8467b7361278ce9a1acd310f25831bf212810d1d17d771c07f2588908580ab
assets/index-05468838.css,1695582970057,5f9505fcabbd727fa9a26588b176ed04a608a0f44adc02ff41cd52d57ef832eb
comming.png,1695580124448,bc9c2c33145f831d1345c85d756de7b59c74700fc2e3607655b251ab28e36c80
assets/index-336db648.js,1695582970072,4f629f5bed02fbb827da994509ac9ce31d3cac70c96ecca8137534e924c54f22
index.html,1695749044180,0cb60a72759c2785eedcfc274f59d8992790a032160b69f580d9cb159ee0da99
assets/index-e8f6060b.css,1695749044180,3648c0d7b579b32fb4ab3c88b27ca707b01291faf7ce9e1fada98f7e770bb419
recyco.jpg,1695748484831,d365bcc67765a77c408184c9fc8671d50037be2295c8cb088c88b347cb2d3048
assets/index-3bb1881e.js,1695749044180,2e07a83618fff165db01989c6ade2a6d63696161f34d26b25406739f90f13d91
comming.png,1695748201974,bc9c2c33145f831d1345c85d756de7b59c74700fc2e3607655b251ab28e36c80
speakup.jpg,1695748484890,04d8f167ce4f8b5f80f792bb4d8b77833afb7c9c8ba2a7a75e9bc6c3991583e5
speakup1.jpg,1695748484989,ea56fad8a31670da42950e583d33c442ab8a6457f59c1f7fb8cb354ff1020840
Binary file added public/recyco.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/speakup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/speakup1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Components/CouresCart/CouresCart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const CouresCart = ({ object }) => {
if (user && user?.email) {
const { _id, price, image, name } = cartItem;
const seletedItem = { cartId: _id, name, image, price, email: user.email }
fetch('http://localhost:5000/carts', {
fetch('https://speakup-ivory.vercel.app/carts', {
method: "POST",
headers: {
'content-type': 'application/json'
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const Footer = () => {

return (
<footer className="footer p-10 bg-base-100 text-base-content rounded-lg">
<footer className="footer p-10 bg-black text-white rounded-lg">
<div>
<p className="text-3xl font-semibold">SpeakUp Language School</p>
<span className="footer-title mt-5">Social</span>
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Nabvar/Nabvar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Nabvar = () => {
<li><Link to='/'>Home</Link></li>
{/* <li><Link to='/instructors'>Instructors</Link></li> */}
<li><Link to='/classes'>Courses</Link></li>
<li><Link to='/comming-soon'>Community</Link></li>
{/* <li><Link to='/comming-soon'>Community</Link></li> */}

{
user && <>
Expand All @@ -39,7 +39,7 @@ const Nabvar = () => {
<label tabIndex={0} className="btn btn-ghost lg:hidden">
<svg xmlns="http://www.w3.org/2000/svg" className="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M4 6h16M4 12h8m-8 6h16" /></svg>
</label>
<ul tabIndex={0} className="menu menu-sm dropdown-content mt-3 p-2 text-2xl bg-red-600 rounded-box w-52">
<ul tabIndex={0} className="menu menu-sm dropdown-content mt-3 p-2 text-xl bg-red-600 rounded-box w-52">
{items}
</ul>
</div>
Expand Down
21 changes: 21 additions & 0 deletions src/Dashbord/DashbordHome/DashbordHome.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';

const DashbordHome = () => {
return (
<div className="relative flex flex-col md:justify-center items-center min-h-screen">
<h1 className="text-xl font-bold pt-12">
Welcome <span className=" uppercase"> Dear Hero.</span>!!!!!
</h1>
<p className="pt-4 ">Explore, Navigate, and Take Challenge.</p>

<img
src="speakup1.jpg"
alt="Background for Learning"
className="absolute object-cover w-full h-full opacity-40"
/>
</div>

);
};

export default DashbordHome;
4 changes: 3 additions & 1 deletion src/Layouts/Dashbord.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ const Dashbord = () => {
{/* Page content here */}
<label htmlFor="my-drawer-2" className="btn btn-ghost drawer-button lg:hidden"><HiOutlineViewList className="text-3xl"></HiOutlineViewList> </label>
<Outlet></Outlet>

</div>
<div className="drawer-side">
<label htmlFor="my-drawer-2" className="drawer-overlay"></label>
<ul className="menu p-4 w-80 h-full bg-pink-200 rouned-lg text-base-content">
<ul className="menu p-4 w-80 h-full bg-[#6856eb] rouned-lg text-white">
{/* Sidebar content here */}

<p className="uppercase text-3xl font-semibold" >SpeakUp Dashboard !!</p>
{/* Student Role Pages */}
{IsStudent && <>
Expand Down
3 changes: 3 additions & 0 deletions src/Pages/Classes/Classes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Rating from "react-rating";
import CouresCart from "../../Components/CouresCart/CouresCart";
import { Helmet } from "react-helmet-async";
import Pagination from "../../Components/paginaition/Pagination"; // Make sure the import path is correct
import Footer from '../../Components/Footer/Footer'

const Classes = () => {
const [classes, setClasses] = useState([]);
Expand Down Expand Up @@ -80,6 +81,8 @@ const Classes = () => {
onPageChange={handlePageChange}
onNumberClick={handleNumberClick}
/>
{/* footer */}
<Footer/>
</div>
);
};
Expand Down
2 changes: 1 addition & 1 deletion src/Pages/Home/Hero/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Hero = () => {
<div className="hero-overlay bg-opacity-60"></div>
<div className="hero-content text-center text-neutral-content">
<div className="max-w-md">
<h1 className="mb-5 text-5xl font-bold">We help you learn what you love</h1>
<h1 className="mb-5 text-2xl font-bold">We help you learn what you love</h1>
<p className="mb-5">It’s the last day to save Expand your horizons with learning that’s worldwide. Log in now to shop the sale. A broad selection of courses Choose from 204,000 online video courses with new additions published every month

</p>
Expand Down
1 change: 1 addition & 0 deletions src/Routes/router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import ManageClass from "../Dashbord/ManageClass/ManageClass";
import Community from "../Pages/community/Community";
import PaymentChoose from "../Pages/payments/PaymentChoose";
import SslPay from "../Pages/payments/ssl/SslPay";
import DashbordHome from "../Dashbord/DashbordHome/DashbordHome";

export const router = createBrowserRouter([
{
Expand Down

0 comments on commit 37784ea

Please sign in to comment.