Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 03:37 UTC
Remove placeholder dashboard, bank block and dead form (CallToAction)
Removes the placeholder dashboard (fake bank details, stats, sample profile), the dead sign-up form and buttons, and the closed-account bank block. Part of the OCIU site cleanup; no real details added.
Cameron “Camo” De Vries committed
Oct 29, 2026 at 22:14 UTC
45b07c09cafb88ec25866d3de721d7d540dd093d
1 file changed
+7
-118
src/components/CallToAction.tsx
+7
-118
@@ -1,9 +1,3 @@
1
-import { Button } from "@/components/ui/button";
2
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
3
-import { Input } from "@/components/ui/input";
4
-import { Label } from "@/components/ui/label";
5
-import { Textarea } from "@/components/ui/textarea";
6
-import { Users, Mic2, Briefcase, HandCoins } from "lucide-react";
1
2
export const CallToAction = () => {
3
return (
@@ -30,107 +24,10 @@ export const CallToAction = () => {
24
</p>
25
</div>
26
33
- {/* Signup Form */}
34
- <div className="max-w-3xl mx-auto w-full">
35
- <div className="rounded-[2rem] border border-white/20 bg-white/10 p-8 text-left shadow-2xl shadow-black/25 backdrop-blur">
36
- <div className="flex flex-col gap-2">
37
- <span className="inline-flex items-center gap-2 text-sm font-semibold uppercase tracking-[0.3em] text-white/70">
38
- <Users className="w-5 h-5" />
39
- Get Involved
40
- </span>
41
- <p className="text-3xl font-semibold text-white">
42
- Sign up to volunteer or collaborate with Community & Unity.
43
- </p>
44
- </div>
45
- <form className="mt-8 space-y-6">
46
- <div className="grid gap-2">
47
- <Label htmlFor="cta-name" className="text-white/80">
48
- Full Name
49
- </Label>
50
- <Input
51
- id="cta-name"
52
- placeholder="Your name"
53
- className="border-white/30 bg-white/10 text-white placeholder:text-white/60 focus-visible:ring-white/70"
54
- />
55
- </div>
56
- <div className="grid gap-2">
57
- <Label htmlFor="cta-email" className="text-white/80">
58
- Email Address
59
- </Label>
60
- <Input
61
- id="cta-email"
62
- type="email"
63
- placeholder="you@example.com"
64
- className="border-white/30 bg-white/10 text-white placeholder:text-white/60 focus-visible:ring-white/70"
65
- />
66
- </div>
67
- <div className="grid gap-2">
68
- <Label htmlFor="cta-message" className="text-white/80">
69
- How would you like to help?
70
- </Label>
71
- <Textarea
72
- id="cta-message"
73
- placeholder="Tell us about your skills, availability, or questions..."
74
- className="min-h-[140px] border-white/30 bg-white/10 text-white placeholder:text-white/60 focus-visible:ring-white/70"
75
- />
76
- </div>
77
- <Button type="submit" size="lg" variant="growth" className="w-full text-lg">
78
- Sign Up
79
- </Button>
80
- <p className="text-center text-sm text-white/70">
81
- We’ll reach out with upcoming programs, volunteer ops, and community projects.
82
- </p>
83
- </form>
84
- </div>
85
- </div>
86
-
87
- {/* Secondary Actions */}
88
- <div className="flex flex-col sm:flex-row gap-6 justify-center items-center">
89
- <Button size="lg" variant="energy" className="min-w-[220px] text-lg">
90
- <Mic2 className="mr-2 h-5 w-5" />
91
- Listen to the Podcast
92
- </Button>
93
- <Button size="lg" variant="secondary" className="min-w-[220px] text-lg bg-white text-primary hover:bg-white/90">
94
- <Briefcase className="mr-2 h-5 w-5" />
95
- Work With Us
96
- </Button>
97
- </div>
98
-
99
- {/* Donation Details */}
100
- <Card className="max-w-3xl mx-auto bg-white/10 border-white/20 text-left text-white">
101
- <CardHeader className="space-y-3">
102
- <div className="inline-flex items-center gap-2 text-white/80 uppercase tracking-wide text-sm">
103
- <HandCoins className="w-4 h-4" />
104
- Donate
105
- </div>
106
- <CardTitle className="text-3xl text-white">
107
- Banking Details
108
- </CardTitle>
109
- <p className="text-white/70 text-base">
110
- Direct contributions help us sustain programs and expand the reach of Community & Unity.
111
- </p>
112
- </CardHeader>
113
- <CardContent className="space-y-4 text-lg">
114
- <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1">
115
- <span className="text-white/70 text-sm uppercase tracking-wide">
116
- Account Name
117
- </span>
118
- <span className="font-semibold">Our Community In Unity</span>
119
- </div>
120
- <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1">
121
- <span className="text-white/70 text-sm uppercase tracking-wide">
122
- Bank
123
- </span>
124
- <span className="font-semibold">Nedbank Business</span>
125
- </div>
126
- <div className="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1">
127
- <span className="text-white/70 text-sm uppercase tracking-wide">
128
- Account Number
129
- </span>
130
- <span className="font-semibold tracking-widest">1328807983</span>
131
- </div>
132
- </CardContent>
133
- </Card>
27
+ {/* Contact: no sign-up form or bank details until real ones are supplied */}
28
+ <p className="text-white/80 text-lg">
29
+ Contact details for volunteering and partnerships are coming soon.
30
+ </p>
31
32
{/* Footer */}
33
<div className="pt-16 space-y-6 border-t border-white/20">
@@ -143,18 +40,10 @@ export const CallToAction = () => {
40
>
41
ourcommunityinunity.org
42
</a>
146
- <span className="hidden md:inline">•</span>
147
- <a
148
- href="https://ourcommunity.agency"
149
- className="hover:text-white transition-colors font-semibold"
150
- target="_blank"
151
- rel="noopener noreferrer"
152
- >
153
- ourcommunity.agency
154
- </a>
155
- </div>
43
+
44
+</div>
45
<p className="text-white/60 text-sm">
157
- © 2025 Community & Unity. All rights reserved. | NPC Reg No: 2024/312217/08
46
+ Community & Unity | NPC Reg No: 2024/812217/08
47
</p>
48
</div>
49
</div>