Bob AI: fix build errors (attempt 1)
This commit is contained in:
@@ -41,17 +41,17 @@ export default function ResultSearch() {
|
||||
];
|
||||
|
||||
return (
|
||||
<section className="relative w-full py-24 bg-background" id="lookup" data-webild-section="result-search">
|
||||
<section className="relative w-full bg-background" id="lookup" data-webild-section="result-search">
|
||||
<div className="w-content-width mx-auto">
|
||||
<ScrollReveal variant="fade">
|
||||
<div className="text-center max-w-2xl mx-auto mb-16">
|
||||
<div className="text-center max-w-content-width mx-auto">
|
||||
<h2 className="text-4xl font-bold text-foreground mb-4">Student Results Portal</h2>
|
||||
<p className="text-lg text-accent">Enter your AG number to view your complete academic performance.</p>
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
|
||||
<ScrollReveal variant="fade" delay={0.1}>
|
||||
<Card className="max-w-xl mx-auto p-8 mb-16 bg-card border border-primary-cta/20 shadow-lg" style={{ backgroundColor: "var(--card)", borderColor: "var(--primary-cta)" }}>
|
||||
<Card className="max-w-content-width mx-auto p-8 card border border-primary-cta shadow-lg">
|
||||
<form onSubmit={handleSearch} className="flex flex-col sm:flex-row gap-4">
|
||||
<div className="flex-1 relative">
|
||||
<Search className="absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-accent" />
|
||||
@@ -60,7 +60,7 @@ export default function ResultSearch() {
|
||||
placeholder="Enter AG No. (e.g., 2025-ag-11653)"
|
||||
value={searchQuery}
|
||||
onChange={(e) => setSearchQuery(e.target.value)}
|
||||
className="w-full pl-10 border-primary-cta/30 focus:border-primary-cta"
|
||||
className="w-full border-primary-cta/30 focus:border-primary-cta"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
@@ -71,9 +71,9 @@ export default function ResultSearch() {
|
||||
|
||||
{hasSearched && (
|
||||
<ScrollReveal variant="fade" delay={0.2}>
|
||||
<div className="max-w-4xl mx-auto space-y-8">
|
||||
<div className="max-w-content-width mx-auto space-y-8">
|
||||
{/* Section 1: Student Info */}
|
||||
<Card className="p-6 sm:p-8 border-l-4 border-primary-cta bg-card shadow-md" style={{ backgroundColor: "var(--card)", borderLeftColor: "var(--primary-cta)" }}>
|
||||
<Card className="p-6 sm:p-8 border-l-4 border-primary-cta card shadow-md">
|
||||
<div className="flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4">
|
||||
<div className="flex items-center gap-4">
|
||||
<div className="w-16 h-16 rounded-full bg-primary-cta/10 flex items-center justify-center text-primary-cta">
|
||||
@@ -93,7 +93,7 @@ export default function ResultSearch() {
|
||||
|
||||
<div className="grid md:grid-cols-2 gap-8">
|
||||
{/* Section 2: 1st Semester */}
|
||||
<Card className="p-6 sm:p-8 bg-card shadow-md border border-background-accent/20" style={{ backgroundColor: "var(--card)", borderColor: "var(--background-accent)" }}>
|
||||
<Card className="p-6 sm:p-8 card shadow-md border border-background-accent">
|
||||
<div className="flex items-center gap-3 mb-6 pb-4 border-b border-background-accent/30">
|
||||
<BookOpen className="w-6 h-6 text-primary-cta" />
|
||||
<h4 className="text-xl font-bold text-foreground">1st Semester</h4>
|
||||
@@ -129,7 +129,7 @@ export default function ResultSearch() {
|
||||
</Card>
|
||||
|
||||
{/* Section 3: 2nd Semester */}
|
||||
<Card className="p-6 sm:p-8 bg-card shadow-md border border-background-accent/20" style={{ backgroundColor: "var(--card)", borderColor: "var(--background-accent)" }}>
|
||||
<Card className="p-6 sm:p-8 card shadow-md border border-background-accent">
|
||||
<div className="flex items-center gap-3 mb-6 pb-4 border-b border-background-accent/30">
|
||||
<Award className="w-6 h-6 text-primary-cta" />
|
||||
<h4 className="text-xl font-bold text-foreground">2nd Semester</h4>
|
||||
@@ -170,4 +170,4 @@ export default function ResultSearch() {
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user