Showing AI reviews for avriti
Project AI Score ?
63%
Quality Avg ?
68%
Security Avg ?
45%
Reviews ?
56

Review Result ?

jattin01/avriti · 9cdebe6b
The commit adds contact information including a phone number, email, and consultation support details on the contact page and a WhatsApp call-to-action. The changes improve business value by enhancing user accessibility to support and inquiries. The risk of bugs is low as this is mainly UI/displays and hyperlink additions. However, hardcoding personal contact details presents privacy and security risks. The styling contains invalid CSS syntax for color that could cause styling issues.
Quality ?
75%
Security ?
20%
Business Value ?
80%
Maintainability ?
83%
Issues & Suggested Fixes ?
1AI detects the issue
2Shows file, line, or evidence
3Suggests the fix to apply
Css Style Syntax Issue
Where app/contact/page.tsx:229
Issue / Evidence CSS style syntax issue
Suggested Fix replace text-(--color-text-secondary) with a valid class or correct CSS variable syntax to improve quality and user experience
Hardcoded Phone Number
Where app/contact/page.tsx:219
Issue / Evidence hardcoded phone number
Suggested Fix consider storing contact details in a secure config or environment variable to improve security
Hardcoded Whatsapp Number
Where components/whatsapp-cta.tsx:8
Issue / Evidence hardcoded WhatsApp number
Suggested Fix move to configuration to reduce risk of exposure and improve maintainability
Lacks Detail
Where commit message
Issue / Evidence lacks detail
Suggested Fix expand commit message to describe what was added and why to improve quality and team understanding
Code Change Preview · app/contact/page.tsx ?
Removed / Before Commit
- <section className="mx-auto grid max-w-7xl gap-8 px-4 py-14 sm:px-6 lg:grid-cols-[0.8fr_1.2fr] lg:px-8">
- <div className="space-y-4">
- {[
-             { icon: MessageCircle, label: "WhatsApp", value: "+91 00000 00000" },
-             { icon: Mail, label: "Email", value: "hello@avriti.com" },
-             { icon: Phone, label: "Consultation support", value: "Mon-Sat, 10 AM - 7 PM IST" },
-             { icon: MapPin, label: "Location", value: "India · Remote consultations available" },
- ].map((item) => (
- <Card key={item.label} className="flex gap-4 p-5">
- <item.icon className="shrink-0 text-[var(--color-primary-700)]" size={22} />
- <div>
- <p className="font-semibold">{item.label}</p>
-                 <p className="mt-1 text-sm text-[var(--color-text-secondary)]">
-                   {item.value}
-                 </p>
- </div>
- </Card>
- ))}
Added / After Commit
+ <section className="mx-auto grid max-w-7xl gap-8 px-4 py-14 sm:px-6 lg:grid-cols-[0.8fr_1.2fr] lg:px-8">
+ <div className="space-y-4">
+ {[
+             { icon: Phone, label: "Phone number for orders", value: "+91 74117 94355", href: "tel:+917411794355" },
+             { icon: Mail, label: "Email", value: "avriti.org@gmail.com", href: "mailto:avriti.org@gmail.com" },
+             { icon: MessageCircle, label: "Consultation support", value: "Mon-Sat, 10 AM - 7 PM IST", href: null },
+             { icon: MapPin, label: "Location", value: "India · Remote consultations available", href: null },
+ ].map((item) => (
+ <Card key={item.label} className="flex gap-4 p-5">
+ <item.icon className="shrink-0 text-[var(--color-primary-700)]" size={22} />
+ <div>
+ <p className="font-semibold">{item.label}</p>
+                 {item.href ? (
+                   <a href={item.href} className="mt-1 block text-sm text-(--color-text-secondary) hover:underline">
+                     {item.value}
+                   </a>
+                 ) : (
+                   <p className="mt-1 text-sm text-(--color-text-secondary)">{item.value}</p>
Removed / Before Commit
- export function WhatsAppCta() {
- return (
- <Link
-       href="https://wa.me/910000000000"
- className="fixed bottom-5 right-5 z-50 inline-flex h-14 w-14 items-center justify-center rounded-full bg-[#25D366] text-white shadow-[var(--shadow-soft)] transition hover:bg-[var(--color-primary-600)]"
- aria-label="Message Avriti on WhatsApp"
- >
Added / After Commit
+ export function WhatsAppCta() {
+ return (
+ <Link
+       href="https://wa.me/917411794355"
+ className="fixed bottom-5 right-5 z-50 inline-flex h-14 w-14 items-center justify-center rounded-full bg-[#25D366] text-white shadow-[var(--shadow-soft)] transition hover:bg-[var(--color-primary-600)]"
+ aria-label="Message Avriti on WhatsApp"
+ >