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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

-Tailwind with Daisy ui, framer motion, react router

npm run dev -- --host
13 changes: 11 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@
<html data-theme="customTheme" lang="en">
<head>
<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Baker-Bates PR</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/graphics/favicon/favicon.ico?v=2" />

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Sixtyfour+Convergence&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Holtwood+One+SC&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Red+Rose:wght@300..700&family=Sixtyfour+Convergence&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Fjalla+One&family=Holtwood+One+SC&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Red+Rose:wght@300..700&family=Sixtyfour+Convergence&display=swap" rel="stylesheet">

</head>
<body>
<div id="root"></div>
Expand Down
198 changes: 110 additions & 88 deletions package-lock.json

Large diffs are not rendered by default.

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.
Binary file added public/graphics/favicon/apple-touch-icon.png
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/graphics/favicon/favicon-16x16.png
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/graphics/favicon/favicon-32x32.png
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/graphics/favicon/favicon.ico
Binary file not shown.
3 changes: 0 additions & 3 deletions src/components/Clients.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ import houseOfCommons from "../companyLogos/houseOfCommons.png"
const Clients = () => {
return (
<>
<div className="text-3xl font-semibold text-center mb-6 text-transparent bg-clip-text bg-[#001b36]">
Previous Clients
</div>
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6 p-4">
<div className="flex justify-center items-center">
<img src={Aardman} alt="Aardman" className="h-24 object-contain" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Footer = () => {

<footer className="footer footer-center bg-primary text-primary-content p-10">
<aside>
<img src={bakerBatesLogo} alt="Baker bates" className="h-24 object-contain invert" />
<img src={bakerBatesLogo} alt="BakerBates PR logo" className="h-24 object-contain invert" />
<p className="font-bold">
Baker Bates PR
<br />
Expand Down
4 changes: 2 additions & 2 deletions src/components/WelcomeHero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const WelcomeHero = () => {
>

<div className="hero-content justify-center text-neutral-content text-center flex-col lg:flex-row-reverse items-center">
<img src={headShot} className="max-w-sm rounded-full shadow-2xl " />
<img src={headShot} className="max-w-sm rounded-full shadow-2xl " alt="Photo of Harriet wearing glasses." />
<div className="max-w-md ">
<h1 className="mb-5 text-5xl text-transparent font-bold bg-gradient-to-r from-[#001f3f] via-[#001b36] to-[#001732] bg-clip-text ">
<h1 className="mb-5 text-5xl text-transparent font-bold bg-clip-text ">
Communications, Marketing, PR and Media Relations
</h1>
<p className="mb-5 text-2xl font-semibold text-transparent bg-clip-text bg-[#001b36] ">
Expand Down
2 changes: 1 addition & 1 deletion src/components/pageFiller/GetInTouch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const GetInTouch = () => {
return (
<div className="card image-full lg:card-side bg-base-100 shadow-xl ">
<figure>
<img src={cows} alt="Cows" />
<img src={cows} alt="Photo of a herd of cows crossing a road on a sunny afternoon." />
</figure>
<div className="card-body">
<h2 className="card-title text-8xl">Get in touch</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/components/serviceCarousel/ServiceCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const ServiceCard = ({ title, description, icon, longDescription }) => {
className="card bg-neutral w-96 shadow-sm rounded-lg border border-primary"
>
<figure className="text-3xl mt-4">{icon}</figure>
<div className="card-body items-center text-center">
<div className="card-body items-center">
<h2 className="card-title">{title}</h2>
<p>{description}</p>
<div className="card-actions">
Expand Down
2 changes: 1 addition & 1 deletion src/components/serviceGrid/serviceCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ServiceCard = ({title, description}) => {
return (
<>
<motion.div className="card bg-neutral w-96 shadow-sm rounded-lg border border-primary">
<div className="card-body items-center text-center">
<div className="card-body items-center">
<h2 className="card-title">{title}</h2>
<p dangerouslySetInnerHTML={{ __html: description }} />
</div>
Expand Down
119 changes: 119 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,124 @@
@tailwind components;
@tailwind utilities;

.min-h-screen {
min-height: 50vh;
}

.bg-neutral {
--tw-bg-opacity: 1;
background-color: #e5e6e6;
}

.text-5xl {
font-size: 3rem;
line-height: 1.3;

color: #D7D55B;
text-shadow: 2px 2px 4px #414141;

font-family: "Fjalla One", serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;
font-variation-settings:
"slnt" 0;
}

.text-2xl {
font-size: 1.5rem;
line-height: 2rem;

color: #D7D55B;
text-shadow: 2px 2px 4px #414141;

font-family: "Afacad Flux", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-variation-settings:
"slnt" 0;

}

.text-3xl {
font-size: 2rem;
line-height: 2rem;

font-family: "Afacad Flux", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-variation-settings:
"slnt" 0;

}

html, :host {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
font-size: 1.2rem;

font-family: "Afacad Flux", sans-serif;
font-optical-sizing: auto;
font-weight: 450;
font-style: normal;
font-variation-settings:
"slnt" 0;

-webkit-tap-highlight-color: transparent;
}


.border-primary {
--tw-border-opacity: 0;
}

.border-black {
--tw-border-opacity: 0;

}

.shadow-2xl {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card-body {
display: flex;
flex: 1 1 auto;
flex-direction: column;
padding: var(--padding-card, 2rem);
gap: 0.5rem;

box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.rounded-lg {
border-radius: 0.5rem;

box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.w-80 {
width: 10rem;
}

.w-96 {
width: 20rem;
}

.card-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.5rem;
line-height: 1.75rem;
font-weight: 700;
}

.max-w-sm {
max-width: 20em;
}
4 changes: 2 additions & 2 deletions src/routes/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ const About = () => {
<div className="flex flex-col-reverse lg:flex-row">
{/* Left side: Collage of images */}
<div className="w-full lg:w-1/2 p-4 space-y-4">
<img src={dog} className="w-full h-auto rounded-lg shadow-lg" />
<img src={dog} className="w-full h-auto rounded-lg shadow-lg" alt="Photo of Harriet's dog with his toungue hanging out. He wears a bandana around his neck." />
</div>

{/* Right side: About Me */}
<div className="w-full lg:w-1/2 p-4 space-y-4 ">
<h1 className="text-3xl font-bold mb-4">About Me</h1>
<h1 className="text-3xl font-bold mb-4">Harriet Baker-Bates</h1>
<div className="text-xl">
<p className="mb-4">
After graduating, I started my career as Publicity Assistant for
Expand Down
5 changes: 1 addition & 4 deletions src/routes/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ const Contact = () => {
}}
>
<div className="max-w-xl mx-auto p-6 bg-white rounded-lg shadow-md space-y-6">
<div className="text-5xl font-bold text-center text-gray-800">
Get in touch
</div>

<div className="mt-4">
<ContactForm />
Expand Down Expand Up @@ -60,7 +57,7 @@ const Contact = () => {
</div>
</div>

<footer>
<footer class="contact-lift">
<Footer />
</footer>
</>
Expand Down
18 changes: 2 additions & 16 deletions src/routes/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from "react";
import WelcomeHero from "../components/WelcomeHero";
import Clients from "../components/Clients";
import { Link } from "react-router-dom";
import ServiceCardCara from "../components/serviceCarousel/ServiceCardCara";
import Footer from "../components/Footer";
import Services from "./Services";

const Home = () => {
return (
Expand All @@ -19,21 +18,8 @@ const Home = () => {
<br></br>

<div className="flex flex-col justify-center items-center min-h-screen">
<div className="text-5xl font-semibold z-1 px-10 ">
Three decades of experience
</div>
<br></br>
<ServiceCardCara />

<div className="flex flex-row gap-10">
<Link className="btn btn-secondary" to={`services`}>
View All Services
</Link>

<Link className="btn btn-secondary" to={`contact`}>
Contact me
</Link>
</div>
<Services />
</div>

<b></b>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Services.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Services = () => {
<div className="text-3xl flex justify-center bg-gradient-to-r from-[#001f3f] via-[#001b36] to-[#001732] bg-clip-text">Affiliations</div>
<div className="flex justify-center gap-6 p-4">
<div className="card bg-neutral w-96 shadow-sm rounded-lg border border-primary">
<div className="card-body items-center text-center">
<div className="card-body items-center">
<h2 className="card-title">
Speaker Coaching & Storytelling Training
</h2>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ const root = () => {
<div className="flex justify-center items-center">
<img
src={bakerBatesLogo}
alt="Optimum releasing"
alt="BakerBates PR logo"
className="h-32 object-contain"
/>
</div>
</Link>
</div>
<div className="hidden flex-none lg:block">
<ul className="menu menu-horizontal text-2xl">
<ul className="menu menu-horizontal text-3xl">
{/* Navbar menu content here */}
<li>
<Link to={`/`}>Home</Link>
Expand Down