-
Notifications
You must be signed in to change notification settings - Fork 5
add 2025 highlights #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
monicaoyugi
merged 3 commits into
Python-Nairobi:main
from
Veronicandemo:ft/2025-highlights
Apr 12, 2026
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,372 @@ | ||
| import { | ||
| Accordion, | ||
| AccordionContent, | ||
| AccordionItem, | ||
| AccordionTrigger, | ||
| } from "@/components/ui/accordion"; | ||
| import { Button, buttonVariants } from "@/components/ui/button"; | ||
| import { | ||
| DropdownMenu, | ||
| DropdownMenuContent, | ||
| DropdownMenuItem, | ||
| DropdownMenuTrigger, | ||
| } from "@/components/ui/dropdown-menu"; | ||
| import { | ||
| NavigationMenu, | ||
| NavigationMenuContent, | ||
| NavigationMenuItem, | ||
| NavigationMenuLink, | ||
| NavigationMenuList, | ||
| NavigationMenuTrigger, | ||
| navigationMenuTriggerStyle, | ||
| } from "@/components/ui/navigation-menu"; | ||
| import { | ||
| Sheet, | ||
| SheetContent, | ||
| SheetHeader, | ||
| SheetTitle, | ||
| SheetTrigger, | ||
| } from "@/components/ui/sheet"; | ||
| import { cn } from "@/lib/utils"; | ||
| import { | ||
| Book, | ||
| CalendarClock, | ||
| Menu, | ||
| PhoneCall, | ||
| ShieldCheck, | ||
| Target, | ||
| Trees, | ||
| Users, | ||
| Zap, | ||
| } from "lucide-react"; | ||
| import Link from "next/link"; | ||
|
|
||
| const subMenuItemsOne = [ | ||
| { | ||
| title: "Overview", | ||
| url: "/overview", | ||
| description: "The overview of the conference", | ||
| icon: <Target className="size-5 shrink-0" />, | ||
| }, | ||
| { | ||
| title: "Schedule", | ||
| url: "/schedule", | ||
| description: "African time is not allowed", | ||
| icon: <CalendarClock className="size-5 shrink-0" />, | ||
| }, | ||
| { | ||
| title: "Speakers", | ||
| url: "/speakers", | ||
| description: "List of our fantastic speakers", | ||
| icon: <Users className="size-5 shrink-0" />, | ||
| }, | ||
| { | ||
| title: "Proposal Guidelines", | ||
| url: "/proposal", | ||
| description: "How to submit a proposal to the conference", | ||
| icon: <ShieldCheck className="size-5 shrink-0" />, | ||
| }, | ||
| ]; | ||
|
|
||
| const subMenuItemsTwo = [ | ||
| { | ||
| title: "What is PyNBO", | ||
| url: "/what-is-pynbo", | ||
| description: | ||
| "PyNBO is a non-profit organization that aims to promote the use of Python in Kenya", | ||
| icon: <Zap className="size-5 shrink-0" />, | ||
| }, | ||
| { | ||
| title: "Code of Conduct", | ||
| url: "/code-of-conduct", | ||
| description: | ||
| "We expect all community members to follow our code of conduct when interacting with each other", | ||
| icon: <Book className="size-5 shrink-0" />, | ||
| }, | ||
| { | ||
| title: "Python Software Foundation", | ||
| url: "/psf", | ||
| description: | ||
| "PSF is a non-profit organization that promotes, protects, and advances the Python programming language", | ||
| icon: <Trees className="size-5 shrink-0" />, | ||
| }, | ||
| { | ||
| title: "Support", | ||
| url: "/support", | ||
| description: "Get in touch with us if you need help", | ||
| icon: <PhoneCall className="size-5 shrink-0" />, | ||
| }, | ||
| ]; | ||
|
|
||
| export default function Navbar1() { | ||
| return ( | ||
| <section className="py-4"> | ||
| <div className="container mx-auto max-w-7xl px-8"> | ||
| <nav className="hidden justify-between lg:flex"> | ||
| <div className="flex items-center gap-10"> | ||
| <div className="flex items-center gap-4"> | ||
| <a href="/"> | ||
| <img | ||
| src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Python-logo-notext.svg" | ||
| className="w-8" | ||
| alt="python-logo" | ||
| /> | ||
| </a> | ||
| <span className="text-xl font-bold"> | ||
| <a href="/">PyConKE</a> | ||
| </span> | ||
| </div> | ||
| <div className="flex items-center"> | ||
| <a | ||
| className={cn( | ||
| "text-muted-foreground", | ||
| navigationMenuTriggerStyle, | ||
| buttonVariants({ | ||
| variant: "ghost", | ||
| }) | ||
| )} | ||
| href="/" | ||
| > | ||
| Home | ||
| </a> | ||
| <NavigationMenu> | ||
| <NavigationMenuList> | ||
| <NavigationMenuItem className="text-muted-foreground"> | ||
| <NavigationMenuTrigger> | ||
| <span>About</span> | ||
| </NavigationMenuTrigger> | ||
| <NavigationMenuContent> | ||
| <ul className="w-80 p-3"> | ||
| <NavigationMenuLink> | ||
| {subMenuItemsOne.map((item) => ( | ||
| <li key={item.title}> | ||
| <a | ||
| className={cn( | ||
| "flex select-none gap-4 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground" | ||
| )} | ||
| href={item.url} | ||
| > | ||
| {item.icon} | ||
| <div> | ||
| <div className="text-sm font-semibold"> | ||
| {item.title} | ||
| </div> | ||
| <p className="text-sm leading-snug text-muted-foreground"> | ||
| {item.description} | ||
| </p> | ||
| </div> | ||
| </a> | ||
| </li> | ||
| ))} | ||
| </NavigationMenuLink> | ||
| </ul> | ||
| </NavigationMenuContent> | ||
| </NavigationMenuItem> | ||
| <NavigationMenuItem className="text-muted-foreground"> | ||
| <NavigationMenuTrigger>Program</NavigationMenuTrigger> | ||
| <NavigationMenuContent> | ||
| <ul className="w-80 p-3"> | ||
| <NavigationMenuLink> | ||
| {subMenuItemsTwo.map((item) => ( | ||
| <li key={item.title}> | ||
| <a | ||
| className={cn( | ||
| "flex select-none gap-4 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground" | ||
| )} | ||
| href={item.url} | ||
| > | ||
| {item.icon} | ||
| <div> | ||
| <div className="text-sm font-semibold"> | ||
| {item.title} | ||
| </div> | ||
| <p className="text-sm leading-snug text-muted-foreground"> | ||
| {item.description} | ||
| </p> | ||
| </div> | ||
| </a> | ||
| </li> | ||
| ))} | ||
| </NavigationMenuLink> | ||
| </ul> | ||
| </NavigationMenuContent> | ||
| </NavigationMenuItem> | ||
| </NavigationMenuList> | ||
| </NavigationMenu> | ||
|
|
||
| <a | ||
| className={cn( | ||
| "text-muted-foreground", | ||
| navigationMenuTriggerStyle, | ||
| buttonVariants({ | ||
| variant: "ghost", | ||
| }) | ||
| )} | ||
| href="/sponsors" | ||
| > | ||
| Sponsors | ||
| </a> | ||
| </div> | ||
| </div> | ||
| <div className="flex"> | ||
| <DropdownMenu> | ||
| <DropdownMenuTrigger>Past Events</DropdownMenuTrigger> | ||
| <DropdownMenuContent> | ||
| <DropdownMenuItem> | ||
| <Link href="/2025">2025</Link> | ||
| </DropdownMenuItem> | ||
| <DropdownMenuItem> | ||
| <Link href="/2022">2022</Link> | ||
| </DropdownMenuItem> | ||
| <DropdownMenuItem>2018</DropdownMenuItem> | ||
| <DropdownMenuItem>2017</DropdownMenuItem> | ||
| </DropdownMenuContent> | ||
| </DropdownMenu> | ||
| </div> | ||
| </nav> | ||
| <div className="block lg:hidden"> | ||
| <div className="flex items-center justify-between"> | ||
| <div className="flex items-center gap-2"> | ||
| <a href="/"> | ||
| <img | ||
| src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Python-logo-notext.svg" | ||
| className="w-8" | ||
| alt="python-logo" | ||
| /> | ||
| </a> | ||
| <span className="text-xl font-bold"> | ||
| <a href="/">PyConKE</a> | ||
| </span> | ||
| </div> | ||
| <Sheet> | ||
| <SheetTrigger asChild={true}> | ||
| <Button variant="outline" size="icon"> | ||
| <Menu className="size-4" /> | ||
| </Button> | ||
| </SheetTrigger> | ||
| <SheetContent className="overflow-y-auto"> | ||
| <SheetHeader> | ||
| <SheetTitle> | ||
| <div className="flex items-center gap-2"> | ||
| <a href="/"> | ||
| <img | ||
| src="https://upload.wikimedia.org/wikipedia/commons/c/c3/Python-logo-notext.svg" | ||
| className="w-8" | ||
| alt="python-logo" | ||
| /> | ||
| </a> | ||
| <span className="text-xl font-bold"> | ||
| <a href="/">PyConKE</a> | ||
| </span> | ||
| </div> | ||
| </SheetTitle> | ||
| </SheetHeader> | ||
| <div className="mb-8 mt-8 flex flex-col gap-4"> | ||
| <a href="/" className="font-semibold"> | ||
| Home | ||
| </a> | ||
| <Accordion | ||
| type="single" | ||
| collapsible={true} | ||
| className="w-full" | ||
| > | ||
| <AccordionItem value="about" className="border-b-0"> | ||
| <AccordionTrigger className="mb-4 py-0 font-semibold hover:no-underline"> | ||
| About | ||
| </AccordionTrigger> | ||
| <AccordionContent className="mt-2"> | ||
| {subMenuItemsOne.map((item) => ( | ||
| <a | ||
| key={item.title} | ||
| className={cn( | ||
| "flex select-none gap-4 rounded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground" | ||
| )} | ||
| href={item.url} | ||
| > | ||
| {item.icon} | ||
| <div> | ||
| <div className="text-sm font-semibold"> | ||
| {item.title} | ||
| </div> | ||
| </div> | ||
| </a> | ||
| ))} | ||
| </AccordionContent> | ||
| </AccordionItem> | ||
| <AccordionItem value="program" className="border-b-0"> | ||
| <AccordionTrigger className="py-0 font-semibold hover:no-underline"> | ||
| Program | ||
| </AccordionTrigger> | ||
| <AccordionContent className="mt-2"> | ||
| {subMenuItemsTwo.map((item, idx) => ( | ||
| <a | ||
| key={item.title} | ||
| className={cn( | ||
| "flex select-none gap-4 rounded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground" | ||
| )} | ||
| href={item.url} | ||
| > | ||
| {item.icon} | ||
| <div> | ||
| <div className="text-sm font-semibold"> | ||
| {item.title} | ||
| </div> | ||
| </div> | ||
| </a> | ||
| ))} | ||
| </AccordionContent> | ||
| </AccordionItem> | ||
| </Accordion> | ||
| <a href="/sponsors" className="font-semibold"> | ||
| Sponsors | ||
| </a> | ||
| </div> | ||
| <div className="border-t pt-4"> | ||
| <div className="grid grid-cols-1 sm:grid-cols-2 gap-2 justify-start"> | ||
| <a | ||
| className={cn( | ||
| buttonVariants({ | ||
| variant: "ghost", | ||
| }), | ||
| "justify-start text-muted-foreground" | ||
| )} | ||
| href="/terms-and-conditions" | ||
| > | ||
| Terms and Conditions | ||
| </a> | ||
| <a | ||
| className={cn( | ||
| buttonVariants({ | ||
| variant: "ghost", | ||
| }), | ||
| "justify-start text-muted-foreground" | ||
| )} | ||
| href="/privacy-policy" | ||
| > | ||
| Privacy Policy | ||
| </a> | ||
| </div> | ||
| <div className="border-t pt-4 mt-2 flex flex-col gap-3"> | ||
| <DropdownMenu> | ||
| <DropdownMenuTrigger>Past Events</DropdownMenuTrigger> | ||
| <DropdownMenuContent> | ||
| <DropdownMenuItem> | ||
| <Link href="/2025">2025</Link> | ||
| </DropdownMenuItem> | ||
| <DropdownMenuItem> | ||
| <a href="/2022">2022</a> | ||
| </DropdownMenuItem> | ||
| <DropdownMenuItem>2018</DropdownMenuItem> | ||
| <DropdownMenuItem>2017</DropdownMenuItem> | ||
| </DropdownMenuContent> | ||
| </DropdownMenu> | ||
| </div> | ||
| </div> | ||
| </SheetContent> | ||
| </Sheet> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </section> | ||
| ); | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.