From 488d8f340f77ad83e7455059ebf5d09d9df03753 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 30 Jun 2025 17:55:55 +0100 Subject: [PATCH] Improve upper banner from course page --- .../SQLCourseVariant/AuthorCredentials.tsx | 84 +++++++++++++------ .../SQLCourseVariant/SQLCourseVariantPage.tsx | 35 ++++---- 2 files changed, 76 insertions(+), 43 deletions(-) diff --git a/src/components/SQLCourseVariant/AuthorCredentials.tsx b/src/components/SQLCourseVariant/AuthorCredentials.tsx index cde50cbea..2ad406395 100644 --- a/src/components/SQLCourseVariant/AuthorCredentials.tsx +++ b/src/components/SQLCourseVariant/AuthorCredentials.tsx @@ -1,36 +1,72 @@ -import { AwardIcon } from 'lucide-react'; -import { RoadmapDetailsPopover } from './RoadmapDetailsPopover'; +import { AwardIcon, InfoIcon } from 'lucide-react'; +import { GitHubIcon } from '../ReactIcons/GitHubIcon'; +import { Popover, PopoverContent, PopoverTrigger } from '../Popover'; export function AuthorCredentials() { return ( -
+
Kamran Ahmed -
- - Kamran Ahmed - +
+
+ + Kamran Ahmed + +

+ Your teacher for this course +

+
- - - - - #2 Most Starred Developer - - - - Founder roadmap.sh - - +
+ + + + #2 Most Starred Developer + + + + + +
+ + + Founder roadmap.sh + + +
+
+ + + roadmap.sh + {' '} + provides community-curated roadmaps, study plans, paths, and + resources for developers and IT professionals. Serving 2M+ + registered users, it is the 6th most-starred open source project + on GitHub + +
+
diff --git a/src/components/SQLCourseVariant/SQLCourseVariantPage.tsx b/src/components/SQLCourseVariant/SQLCourseVariantPage.tsx index f34f7daea..e84a79534 100644 --- a/src/components/SQLCourseVariant/SQLCourseVariantPage.tsx +++ b/src/components/SQLCourseVariant/SQLCourseVariantPage.tsx @@ -1,9 +1,5 @@ import { - BrainIcon, - ClipboardIcon, - CodeIcon, - Eye, - FileCheckIcon, + BrainIcon, CodeIcon, FileQuestionIcon, DatabaseIcon, TableIcon, @@ -13,6 +9,7 @@ import { BarChartIcon, GitBranchIcon, ArrowUpDownIcon, + NotebookTextIcon } from 'lucide-react'; import { Spotlight } from '../SQLCourse/Spotlight'; import { RoadmapLogoIcon } from '../ReactIcons/RoadmapLogo'; @@ -247,25 +244,25 @@ export function SQLCourseVariantPage() {
-
+
- +
-

+

Master SQL Queries

-

+

Complete course with AI Tutor, real-world challenges and more

-

+

Get certified for SQL queries and ready to deploy your newly-gained skill in 30 days. Perfect for developers, data analysts, and anyone working with data. Level up risk-free with a @@ -274,21 +271,21 @@ export function SQLCourseVariantPage() {

-
-
- +
+
+ 55+ Lessons
-
- +
+ 100+ Challenges
-
- +
+ AI Tutor
-
- +
+ Integrated IDE