Skip to content

Commit 2066a20

Browse files
authored
Merge pull request #9 from BreakerSpaceHQ/brandingFix2
updates footer, updates emails to mailto adds social logos missing links
2 parents 6a759f6 + 0baee65 commit 2066a20

File tree

9 files changed

+35
-33
lines changed

9 files changed

+35
-33
lines changed

src/components/Footer.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Footer = () => {
66
return (
77
<footer className="bg-solar-blue text-white py-12">
88
<div className="container mx-auto px-4">
9-
<div className="grid md:grid-cols-4 gap-8">
9+
<div className="grid md:grid-cols-3 gap-8">
1010
<div className="col-span-1">
1111
<div className="flex items-center mb-4">
1212
<Link to="/">
@@ -31,27 +31,27 @@ const Footer = () => {
3131
</p>
3232
</div>
3333

34-
<div>
35-
<h3 className="text-lg font-semibold mb-4">Products</h3>
34+
<div className="mx-auto">
35+
{/* <h3 className="text-lg font-semibold mb-4">Products</h3> */}
3636
<ul className="space-y-2 text-gray-300">
37-
<li><a href="#products" className="hover:text-solar-gold">Solar Panels</a></li>
38-
<li><a href="#products" className="hover:text-solar-gold">Hybrid Inverters</a></li>
39-
<li><a href="#products" className="hover:text-solar-gold">Battery Storage</a></li>
40-
<li><a href="#products" className="hover:text-solar-gold">Accessories</a></li>
37+
<li><a href="/solar-panels" className="hover:text-solar-gold">Solar Panels</a></li>
38+
<li><a href="/hybrid-inverters" className="hover:text-solar-gold">Hybrid Inverters</a></li>
39+
<li><a href="/battery-storage" className="hover:text-solar-gold">Battery Storage</a></li>
4140
</ul>
4241
</div>
4342

44-
<div>
45-
<h3 className="text-lg font-semibold mb-4">Company</h3>
43+
<div className="mx-auto">
44+
{/* <h3 className="text-lg font-semibold mb-4">Contact</h3> */}
4645
<ul className="space-y-2 text-gray-300">
4746
<li><Link to="/about-us" className="hover:text-solar-gold">About Us</Link></li>
48-
</ul>
49-
</div>
50-
51-
<div>
52-
<h3 className="text-lg font-semibold mb-4">Contact</h3>
53-
<ul className="space-y-2 text-gray-300">
54-
<li>contact@solvenergy.in</li>
47+
<li><a className="hover:text-solar-gold" href="mailto:contact@solvenergy.in">contact@solvenergy.in</a></li>
48+
<li>
49+
<div className="flex gap-4 mt-4">
50+
<a href="#"><svg role="img" className="w-6 h-6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path fill="#ffffff" d="M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"/></svg></a>
51+
<a href="#"><svg role="img" className="w-6 h-6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>X</title><path fill="#ffffff" d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"/></svg></a>
52+
<a href="#"><svg role="img" className="w-6 h-6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path fill="#ffffff" d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg></a>
53+
</div>
54+
</li>
5555
</ul>
5656
</div>
5757
</div>

src/components/LoadCalculatorSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const LoadCalculatorSection = () => {
175175
/>
176176
</div>
177177
</div>
178-
<Button onClick={addAppliance} className="w-full bg-solar-blue hover:bg-blue-600 dark:bg-blue-600 dark:hover:bg-blue-700">
178+
<Button onClick={addAppliance} className="w-full bg-solar-blue hover:bg-blue-600 dark:bg-blue-600 dark:hover:bg-blue-700 dark:text-white">
179179
<Plus className="h-4 w-4 mr-1" />
180180
Add Appliance
181181
</Button>
@@ -300,9 +300,9 @@ const LoadCalculatorSection = () => {
300300
</div>
301301
</div>
302302

303-
<Button className="w-full bg-solar-green hover:bg-green-600 text-white">
303+
{/* <Button className="w-full bg-solar-green hover:bg-green-600 text-white">
304304
Get Started
305-
</Button>
305+
</Button> */}
306306
</CardContent>
307307
</Card>
308308
</div>

src/components/ProductsSection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ const ProductsSection = () => {
77
{
88
title: "Solar Panels",
99
description: "High-efficiency solar panels from top brands that convert sunlight into clean electricity. Built to last with performance guarantees.",
10-
image: `${import.meta.env.BASE_URL}/products/solar-panel.avif`,
10+
image: `/products/solar-panel.avif`,
1111
},
1212
{
1313
title: "Hybrid Inverters",
1414
description: "Smart inverters that efficiently convert DC to AC power while managing energy flow between solar panels, batteries, and the grid.",
15-
image: `${import.meta.env.BASE_URL}/products/hybrid-inverter.avif`,
15+
image: `/products/hybrid-inverter.avif`,
1616
},
1717
{
1818
title: "Battery Storage",
1919
description: "Advanced battery systems that store excess solar energy for use during evenings, cloudy days, or power outages.",
20-
image: `${import.meta.env.BASE_URL}/products/batteries.png`,
20+
image: `/products/batteries.png`,
2121
},
2222
];
2323

src/pages/AboutUs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const AboutUs = () => {
6262
<div>
6363
<h1 className="text-3xl md:text-4xl font-bold mb-6 text-solar-blue dark:text-white">About Our Store</h1>
6464
<p className="text-gray-600 dark:text-gray-300 mb-6">
65-
Founded in 2025, Ygrenevlos has been at the forefront of the renewable energy revolution
65+
Founded in 2025, Solvenergy has been at the forefront of the renewable energy revolution
6666
in our community. We're not just a retailer - we're passionate advocates for sustainable
6767
living and energy independence.
6868
</p>
@@ -195,7 +195,7 @@ const AboutUs = () => {
195195
<div className="space-y-4">
196196
<div>
197197
<p className="font-semibold text-gray-700 dark:text-gray-300">Email:</p>
198-
<p className="text-gray-600 dark:text-gray-400">contact@solvenergy.in</p>
198+
<p className="text-gray-600 dark:text-gray-400"><a className="hover:text-solar-blue dark:hover:text-solar-gold" href="mailto:contact@solvenergy.in">contact@solvenergy.in</a></p>
199199
</div>
200200
{/* <div className="pt-4">
201201
<Button className="bg-solar-gold hover:bg-opacity-90 text-solar-blue w-full">

src/pages/BatteryStorage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const BatteryStorage = () => {
5959
</div>
6060
<div className="rounded-lg overflow-hidden shadow-lg fade-in">
6161
<img
62-
src="./products/batteries.png"
62+
src="/products/batteries.png"
6363
alt="Battery Storage System"
6464
className="w-full h-auto object-cover"
6565
/>

src/pages/HybridInverters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const HybridInverters = () => {
5858
</div>
5959
<div className="rounded-lg overflow-hidden shadow-lg fade-in">
6060
<img
61-
src="./products/hybrid-inverter.avif"
61+
src="/products/hybrid-inverter.avif"
6262
alt="Hybrid Inverter System"
6363
className="w-full h-auto object-cover"
6464
/>

src/pages/PrivacyPolicy.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const PrivacyPolicy = () => {
1616
<div className="container mx-auto px-4 py-8 max-w-4xl">
1717
<Link
1818
to="/"
19-
className="inline-flex items-center text-solar-blue hover:text-solar-green mb-6 transition-colors"
19+
className="inline-flex items-center text-solar-blue hover:text-solar-gold mb-6 transition-colors"
2020
>
2121
<ArrowLeft className="h-4 w-4 mr-2" />
2222
Back to Home
@@ -56,7 +56,7 @@ const PrivacyPolicy = () => {
5656
</p>
5757
<div className="bg-gray-50 dark:bg-gray-800 p-4 rounded-lg mt-2">
5858
<p className="text-gray-600 dark:text-gray-300">
59-
Email: contact@solvenergy.in
59+
Email: <a className="hover:text-solar-blue dark:hover:text-solar-gold" href="mailto:contact@solvenergy.in">contact@solvenergy.in</a>
6060
</p>
6161
</div>
6262
</section>
@@ -71,7 +71,8 @@ const PrivacyPolicy = () => {
7171

7272
<div className="border-t border-gray-200 dark:border-gray-700 pt-6 mt-8">
7373
<p className="text-sm text-gray-500 dark:text-gray-400">
74-
Last updated: {new Date().toLocaleDateString()}
74+
{/* Last updated: {new Date().toLocaleDateString()} */}
75+
Last updated: Nov 1, 2025
7576
</p>
7677
</div>
7778
</div>

src/pages/SolarPanels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const SolarPanels = () => {
5959
</div>
6060
<div className="rounded-lg overflow-hidden shadow-lg fade-in">
6161
<img
62-
src="./products/solar-panel.avif"
62+
src="/products/solar-panel.avif"
6363
alt="Solar Panel Installation"
6464
className="w-full h-auto object-cover"
6565
/>

src/pages/TermsOfService.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const TermsOfService = () => {
1616
<div className="container mx-auto px-4 py-8 max-w-4xl">
1717
<Link
1818
to="/"
19-
className="inline-flex items-center text-solar-blue hover:text-solar-green mb-6 transition-colors"
19+
className="inline-flex items-center text-solar-blue dark:text-white dark:hover:text-solar-gold mb-6 transition-colors"
2020
>
2121
<ArrowLeft className="h-4 w-4 mr-2" />
2222
Back to Home
@@ -91,14 +91,15 @@ const TermsOfService = () => {
9191
</p>
9292
<div className="bg-gray-50 dark:bg-gray-800 p-4 rounded-lg mt-2">
9393
<p className="text-gray-600 dark:text-gray-300">
94-
Email: contact@solvenergy.in
94+
Email: <a className="hover:text-solar-blue dark:hover:text-solar-gold" href="mailto:contact@solvenergy.in">contact@solvenergy.in</a>
9595
</p>
9696
</div>
9797
</section>
9898

9999
<div className="border-t border-gray-200 dark:border-gray-700 pt-6 mt-8">
100100
<p className="text-sm text-gray-500 dark:text-gray-400">
101-
Last updated: {new Date().toLocaleDateString()}
101+
{/* Last updated: {new Date().toLocaleDateString()} */}
102+
Last updated: Nov 1, 2025
102103
</p>
103104
</div>
104105
</div>

0 commit comments

Comments
 (0)