Skip to content
Open
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
Binary file added Uburizaimg.png
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 components/Expertise.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Expertise = () => {
</div>
<div className='hero-content grid-4'>
{expertise.map((item) => (
<Card data={item} key={item.id} caption='learn more' />
<Card data={item} key={item.id} caption='learn more' show={true} />
))}
</div>
</div>
Expand Down
186 changes: 186 additions & 0 deletions components/common/ConsultationModal.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
import React, { useState } from "react";

const ConsultationModal = ({ isOpen, onClose }) => {
const [form, setForm] = useState({
name: "",
email: "",
phone: "",
service: "",
budget: "",
timeframe: "",
description: "",
});
const [submitted, setSubmitted] = useState(false);

const handleChange = (e) => {
setForm({ ...form, [e.target.name]: e.target.value });
};

const handleSubmit = (e) => {
e.preventDefault();
setSubmitted(true);
// Here you would send the form data to your backend or email service
};

if (!isOpen) return null;

return (
<div className="consultation-modal-overlay">
<div className="consultation-modal">
<button className="close-btn" onClick={onClose}>&times;</button>
{!submitted ? (
<>
<h2>Book a Consultation</h2>
<p className="desc">Fill out this quick survey to help us serve you better.</p>
<form onSubmit={handleSubmit}>
<div className="form-row">
<div className="form-group">
<label>Name</label>
<input name="name" value={form.name} onChange={handleChange} required />
</div>
<div className="form-group">
<label>Email</label>
<input name="email" type="email" value={form.email} onChange={handleChange} required />
</div>
</div>
<div className="form-row">
<div className="form-group">
<label>Phone</label>
<input name="phone" value={form.phone} onChange={handleChange} required />
</div>
<div className="form-group">
<label>Service Needed</label>
<select name="service" value={form.service} onChange={handleChange} required>
<option value="">Select a service</option>
<option value="Web Design">Web Design</option>
<option value="Branding">Branding</option>
<option value="Digital Marketing">Digital Marketing</option>
<option value="E-Commerce">E-Commerce</option>
<option value="Other">Other</option>
</select>
</div>
</div>
<div className="form-row">
<div className="form-group">
<label>Budget</label>
<input name="budget" value={form.budget} onChange={handleChange} required />
</div>
<div className="form-group">
<label>Timeframe</label>
<input name="timeframe" value={form.timeframe} onChange={handleChange} required />
</div>
</div>
<div className="form-group">
<label>Project Description</label>
<textarea name="description" value={form.description} onChange={handleChange} required rows={4} />
</div>
<button className="submit-btn" type="submit">Submit</button>
</form>
</>
) : (
<div className="thank-you">
<h3>Thank you!</h3>
<p>We have received your request and will get back to you soon.</p>
<button className="submit-btn" onClick={onClose}>Close</button>
</div>
)}
</div>
<style jsx>{`
.consultation-modal-overlay {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(8, 14, 16, 0.7);
z-index: 2000;
display: flex;
align-items: center;
justify-content: center;
}
.consultation-modal {
background: #fff;
border-radius: 24px;
max-width: 500px;
width: 95vw;
padding: 2rem 1.5rem 1.5rem 1.5rem;
box-shadow: 0 8px 32px rgba(0,0,0,0.18);
position: relative;
color: #080e10;
}
.consultation-modal h2 {
color: #003366;
margin-bottom: 0.5rem;
}
.consultation-modal .desc {
color: #00dc93;
margin-bottom: 1.5rem;
}
.close-btn {
position: absolute;
top: 16px;
right: 16px;
background: none;
border: none;
font-size: 2rem;
color: #003366;
cursor: pointer;
}
form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.form-row {
display: flex;
gap: 1rem;
}
.form-group {
flex: 1;
display: flex;
flex-direction: column;
}
label {
font-weight: 500;
margin-bottom: 0.3rem;
color: #003366;
}
input, select, textarea {
border: 1px solid #003366;
border-radius: 8px;
padding: 0.5rem;
font-size: 1rem;
background: #f8fafd;
color: #080e10;
}
.submit-btn {
background: linear-gradient(90deg, #003366 60%, #00dc93 100%);
color: #fff;
border: none;
border-radius: 8px;
padding: 0.75rem 1.5rem;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
margin-top: 1rem;
transition: background 0.2s;
}
.submit-btn:hover {
background: linear-gradient(90deg, #00dc93 0%, #003366 100%);
}
.thank-you {
text-align: center;
color: #003366;
}
@media (max-width: 600px) {
.consultation-modal {
padding: 1rem 0.5rem;
}
.form-row {
flex-direction: column;
gap: 0.5rem;
}
}
`}</style>
</div>
);
};

export default ConsultationModal;
11 changes: 9 additions & 2 deletions components/common/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Link from "next/link"
import { TitleLogo } from "./Title"
import { BsFacebook } from "react-icons/bs"
import { AiFillBehanceCircle, AiFillInstagram, AiFillLinkedin } from "react-icons/ai"
import Image from "next/image"

const Footer = () => {
return (
Expand All @@ -10,7 +11,13 @@ const Footer = () => {
<div className='container'>
<div className='grid-4'>
<div className='logo'>
<TitleLogo title='creative' caption='7' className='logobg' />
<Image
src="/Uburiza.png"
alt="UBURIZA SOLUTIONS"
width={200}
height={70}
className="footer-logo"
/>
<br />
<span>
Questions? Reach us <br /> Monday – Friday from 9 am to 6 pm
Expand Down Expand Up @@ -85,7 +92,7 @@ const Footer = () => {
</div>
<div className='legal connect py'>
<div className='text'>
<span>© 2023 THE SEVEN. ALL RIGHTS RESERVED.</span>
<span>© 2023 UBURIZA SOLUTIONS. ALL RIGHTS RESERVED.</span>
</div>
<div className='connect'>
<span>GORKCODER COMPANY</span>
Expand Down
14 changes: 12 additions & 2 deletions components/common/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ import { useRouter } from "next/router"
import { useEffect, useState } from "react"
import { RiMenu4Line } from "react-icons/ri"
import { AiOutlineClose } from "react-icons/ai"
import ConsultationModal from "./ConsultationModal";
import Image from "next/image"

const Header = () => {
const [activeLink, setActiveLink] = useState("")
const [open, setOpen] = useState(false)
const [showConsultation, setShowConsultation] = useState(false);

const router = useRouter()
useEffect(() => {
Expand All @@ -19,7 +22,13 @@ const Header = () => {
<div className='container'>
<div className='logo'>
<Link href='/'>
<TitleLogo title='creative' caption='7' className='logomin' />
<Image
src="/Uburiza.png"
alt="UBURIZA SOLUTIONS"
width={180}
height={60}
className="header-logo"
/>
</Link>
</div>
<nav className={open ? "openMenu" : "closeMenu"} onClick={() => setOpen(null)}>
Expand All @@ -44,11 +53,12 @@ const Header = () => {
<Link href='/contact' className={activeLink == "/contact" ? "activeLink" : "none"}>
Contact
</Link>
<button className='button-primary'>book a consultation</button>
<button className='button-primary' onClick={() => setShowConsultation(true)}>Consultation</button>
</nav>
<button onClick={() => setOpen(!open)}>{open ? <AiOutlineClose size={25} /> : <RiMenu4Line size={25} />}</button>
</div>
</header>
<ConsultationModal isOpen={showConsultation} onClose={() => setShowConsultation(false)} />
</>
)
}
Expand Down
45 changes: 39 additions & 6 deletions components/common/Title.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,44 @@
export const TitleLogo = ({ title, caption, className }) => {
export const TitleLogo = ({ className }) => {
return (
<h1 className={`${className} title-logo`}>
<span>{caption}</span>
{title}
<h1 className={`${className} title-logo`}>
<span className="logo-text">UBURIZA SOLUTIONS</span>
<style jsx>{`
.title-logo {
font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
font-weight: 700;
letter-spacing: 2px;
font-size: 1.1rem;
color: #003366;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin: 0;
padding: 0;
}
.logo-text {
color: #003366;
background: linear-gradient(90deg, #003366 60%, #00dc93 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 1.1rem;
font-weight: 700;
letter-spacing: 3px;
margin: 0;
padding: 0;
}
@media (max-width: 600px) {
.title-logo {
font-size: 0.9rem;
}
.logo-text {
font-size: 0.9rem;
}
}
`}</style>
</h1>
)
}
);
};

export const TitleSm = ({ title }) => {
return <h1 className='titleSm'>{title}</h1>
Expand Down
2 changes: 1 addition & 1 deletion pages/agency.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const AgencyPage = () => {
return (
<>
<Head>
<title>About Agency</title>
<title>About Agency - UBURIZA SOLUTIONS</title>
</Head>
<Agency />
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/blogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Blogs = () => {
return (
<>
<Head>
<title>Blog - 7Creative</title>
<title>Blog - UBURIZA SOLUTIONS</title>
</Head>
<Blog />
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const contact = () => {
return (
<>
<Head>
<title>Contact - 7Creative</title>
<title>Contact - UBURIZA SOLUTIONS</title>
</Head>
<Contact />
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Home() {
return (
<>
<Head>
<title>7Creative Desgin</title>
<title>UBURIZA SOLUTIONS - Design</title>
</Head>
<Hero />
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const services = () => {
return (
<>
<Head>
<title>Team - 7Creative</title>
<title>Services - UBURIZA SOLUTIONS</title>
</Head>
<Services />
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/showcase.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const showcase = () => {
return (
<>
<Head>
<title>ShowCase - 7Creative</title>
<title>ShowCase - UBURIZA SOLUTIONS</title>
</Head>
<ShowCase />
</>
Expand Down
2 changes: 1 addition & 1 deletion pages/team.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const team = () => {
return (
<>
<Head>
<title>Team - 7Creative</title>
<title>Team - UBURIZA SOLUTIONS</title>
</Head>
<Team />
</>
Expand Down
Binary file added public/Uburiza.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading