-
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 #1 from WebmasterCamp/fa
Fa
- Loading branch information
Showing
11 changed files
with
513 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from "react"; | ||
|
||
const Footer = () => { | ||
return ( | ||
<footer className="footer bg-base-200 text-base-content p-10"> | ||
<aside> | ||
<svg | ||
width="50" | ||
height="50" | ||
viewBox="0 0 24 24" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
className="fill-current" | ||
> | ||
<path d="M22.672 15.226l-2.432.811.841 2.515c.33 1.019-.209 2.127-1.23 2.456-1.15.325-2.148-.321-2.463-1.226l-.84-2.518-5.013 1.677.84 2.517c.391 1.203-.434 2.542-1.831 2.542-.88 0-1.601-.564-1.86-1.314l-.842-2.516-2.431.809c-1.135.328-2.145-.317-2.463-1.229-.329-1.018.211-2.127 1.231-2.456l2.432-.809-1.621-4.823-2.432.808c-1.355.384-2.558-.59-2.558-1.839 0-.817.509-1.582 1.327-1.846l2.433-.809-.842-2.515c-.33-1.02.211-2.129 1.232-2.458 1.02-.329 2.13.209 2.461 1.229l.842 2.515 5.011-1.677-.839-2.517c-.403-1.238.484-2.553 1.843-2.553.819 0 1.585.509 1.85 1.326l.841 2.517 2.431-.81c1.02-.33 2.131.211 2.461 1.229.332 1.018-.21 2.126-1.23 2.456l-2.433.809 1.622 4.823 2.433-.809c1.242-.401 2.557.484 2.557 1.838 0 .819-.51 1.583-1.328 1.847m-8.992-6.428l-5.01 1.675 1.619 4.828 5.011-1.674-1.62-4.829z"></path> | ||
</svg> | ||
<p> | ||
Premieum Quest.CO | ||
<br /> | ||
Copyright © 2024 - All right reserved by Premieum Quest.CO | ||
</p> | ||
</aside> | ||
<nav> | ||
<h6 className="footer-title">Services</h6> | ||
<a className="link link-hover">Tax Package</a> | ||
<a className="link link-hover">Design</a> | ||
<a className="link link-hover">Marketing</a> | ||
</nav> | ||
<nav> | ||
<h6 className="footer-title">Company</h6> | ||
<a className="link link-hover">About us</a> | ||
<a className="link link-hover">Contact</a> | ||
<a className="link link-hover">Our goals</a> | ||
</nav> | ||
<nav> | ||
<h6 className="footer-title">Legal</h6> | ||
<a className="link link-hover">Terms of use</a> | ||
<a className="link link-hover">Privacy policy</a> | ||
<a className="link link-hover">Cookie policy</a> | ||
</nav> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
import * as React from "react"; | ||
import AppBar from "@mui/material/AppBar"; | ||
import Box from "@mui/material/Box"; | ||
import Toolbar from "@mui/material/Toolbar"; | ||
import IconButton from "@mui/material/IconButton"; | ||
import Typography from "@mui/material/Typography"; | ||
import Menu from "@mui/material/Menu"; | ||
import MenuIcon from "@mui/icons-material/Menu"; | ||
import Container from "@mui/material/Container"; | ||
import Avatar from "@mui/material/Avatar"; | ||
import Button from "@mui/material/Button"; | ||
import Tooltip from "@mui/material/Tooltip"; | ||
import MenuItem from "@mui/material/MenuItem"; | ||
import AdbIcon from "@mui/icons-material/Adb"; | ||
import Image from "next/image"; | ||
|
||
const pages = ["Home", "Blog", "Quest"]; | ||
const settings = ["Profile", "Account", "Dashboard", "Logout"]; | ||
|
||
function ResponsiveAppBar() { | ||
const [anchorElNav, setAnchorElNav] = React.useState(null); | ||
const [anchorElUser, setAnchorElUser] = React.useState(null); | ||
|
||
const handleOpenNavMenu = (event) => { | ||
setAnchorElNav(event.currentTarget); | ||
}; | ||
const handleOpenUserMenu = (event) => { | ||
setAnchorElUser(event.currentTarget); | ||
}; | ||
|
||
const handleCloseNavMenu = () => { | ||
setAnchorElNav(null); | ||
}; | ||
|
||
const handleCloseUserMenu = () => { | ||
setAnchorElUser(null); | ||
}; | ||
|
||
return ( | ||
<AppBar position="static"> | ||
<Container maxWidth="xl"> | ||
<Toolbar disableGutters> | ||
<Image src="/logo.png" width={100} height={100} /> | ||
{/* <AdbIcon sx={{ display: { xs: "flex", md: "none" }, mr: 1 }} /> */} | ||
<Typography | ||
variant="h5" | ||
noWrap | ||
component="a" | ||
href="#app-bar-with-responsive-menu" | ||
sx={{ | ||
mr: 2, | ||
display: { xs: "flex", md: "none" }, | ||
flexGrow: 1, | ||
fontFamily: "monospace", | ||
fontWeight: 700, | ||
letterSpacing: ".3rem", | ||
color: "inherit", | ||
textDecoration: "none", | ||
}} | ||
> | ||
LOGO | ||
</Typography> | ||
<Box sx={{ flexGrow: 1, display: { xs: "none", md: "flex" } }}> | ||
{pages.map((page) => ( | ||
<Button | ||
key={page} | ||
onClick={handleCloseNavMenu} | ||
sx={{ my: 2, color: "white", display: "block" }} | ||
> | ||
{page} | ||
</Button> | ||
))} | ||
</Box> | ||
|
||
<Box sx={{ flexGrow: 0 }}> | ||
<Tooltip title="Open settings"> | ||
<IconButton onClick={handleOpenUserMenu} sx={{ p: 0 }}> | ||
<Avatar alt="Remy Sharp" src="/static/images/avatar/2.jpg" /> | ||
</IconButton> | ||
</Tooltip> | ||
<Menu | ||
sx={{ mt: "45px" }} | ||
id="menu-appbar" | ||
anchorEl={anchorElUser} | ||
anchorOrigin={{ | ||
vertical: "top", | ||
horizontal: "right", | ||
}} | ||
keepMounted | ||
transformOrigin={{ | ||
vertical: "top", | ||
horizontal: "right", | ||
}} | ||
open={Boolean(anchorElUser)} | ||
onClose={handleCloseUserMenu} | ||
> | ||
{settings.map((setting) => ( | ||
<MenuItem key={setting} onClick={handleCloseUserMenu}> | ||
<Typography textAlign="center">{setting}</Typography> | ||
</MenuItem> | ||
))} | ||
</Menu> | ||
</Box> | ||
</Toolbar> | ||
</Container> | ||
</AppBar> | ||
); | ||
} | ||
export default ResponsiveAppBar; |
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,15 +1,15 @@ | ||
"use client" | ||
import { useEffect, useState } from "react"; | ||
import Box2 from "./components/box2"; | ||
"use client"; | ||
import Image from "next/image"; | ||
import AppBar from "./components/navbar"; | ||
// import Carousel from "./components/carousel"; | ||
import Footer from "./components/footer"; | ||
|
||
export default function Home() { | ||
|
||
return ( | ||
<main className="flex gap-5 relative font-Itim"> | ||
<div className="bg-[#DEF9C4] -z-20 absolute w-full h-full"></div> | ||
<div className="min-h-screen flex w-full justify-center mt-52"> | ||
<Box2 salary={250000} /> | ||
</div> | ||
<main className=""> | ||
<AppBar /> | ||
{/* <Carousel /> */} | ||
<Footer /> | ||
</main> | ||
); | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.