diff --git a/frontend/src/containers/LearnMoreDialog/LearnMoreDialog.tsx b/frontend/src/containers/LearnMoreDialog/LearnMoreDialog.tsx new file mode 100644 index 00000000..a16fc7d4 --- /dev/null +++ b/frontend/src/containers/LearnMoreDialog/LearnMoreDialog.tsx @@ -0,0 +1,87 @@ +import { + Button, + Dialog, + DialogContent, + DialogDescription, + DialogHeader, + DialogTitle, + DialogTrigger, +} from '@/components' +import { DialogTriggerProps } from '@radix-ui/react-dialog' +import React from 'react' + +const LearnMoreDialog = ({ + onClose, +}: { + onClose?: DialogTriggerProps['onClick'] +}) => { + return ( + + ) +} + +export default LearnMoreDialog diff --git a/frontend/src/containers/LearnMoreDialog/index.ts b/frontend/src/containers/LearnMoreDialog/index.ts new file mode 100644 index 00000000..012bdb6a --- /dev/null +++ b/frontend/src/containers/LearnMoreDialog/index.ts @@ -0,0 +1 @@ +export { default as LearnMoreDialog } from './LearnMoreDialog' diff --git a/frontend/src/sections/WhatIsDjango/WhatIsDjango.tsx b/frontend/src/sections/WhatIsDjango/WhatIsDjango.tsx index b5f07aed..8be78872 100644 --- a/frontend/src/sections/WhatIsDjango/WhatIsDjango.tsx +++ b/frontend/src/sections/WhatIsDjango/WhatIsDjango.tsx @@ -1,8 +1,9 @@ 'use client' import Image from 'next/image' -import { Button, DataCard } from '@components' +import { DataCard } from '@components' import useWidth from '@/hooks/useWidth' +import { LearnMoreDialog } from '@/containers/LearnMoreDialog' const WhatIsDjango = () => { @@ -38,13 +39,13 @@ const WhatIsDjango = () => {
- A vibrant community of Django developers, primarily from India. - It unites passionate individuals who are eager to learn, share knowledge, and collaborate - on innovative projects. Through our meetups, workshops, and online events, members actively + A vibrant community of Django developers, primarily from India. + It unites passionate individuals who are eager to learn, share knowledge, and collaborate + on innovative projects. Through our meetups, workshops, and online events, members actively contribute to the growth of the Django ecosystem in India.