forked from AOSSIE-Org/Website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIdeasHeader.jsx
More file actions
84 lines (77 loc) · 3.72 KB
/
IdeasHeader.jsx
File metadata and controls
84 lines (77 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
'use client'
import { motion } from 'framer-motion'
import { Container } from '@/components/shared/Container'
import Link from 'next/link'
export function IdeasHeader({ validIdeasData, currentYear = 2025, children }) {
return (
<Container className="mt-20 mb-28">
<motion.div
initial={{ opacity: 0, scale: 0.9 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.8 }}
className="ideas-text flex items-center justify-center mb-8 relative"
>
<div
className="hidden md:block w-[75px] h-[75px] m-2 bg-cover bg-center dark:bg-[url('/logo.png')] bg-[url('/logo.png')] absolute left-10"
alt="GSOC Logo"
></div>
<h1 className="font-mono text-6xl font-extrabold tracking-tighter text-[#32a852] dark:text-yellow-400 sm:text-5xl md:text-5xl lg:text-6xl text-center">
IDEAS
</h1>
<div
className="hidden md:block w-[75px] h-[75px] m-2 bg-cover bg-center absolute right-10"
style={{ backgroundImage: "url('/logo.png')" }}
aria-label="Logo"
></div>
</motion.div>
<motion.p
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.2 }}
className="font-mono text-lg leading-7 text-zinc-600 dark:text-zinc-400 text-center max-w-4xl mx-auto"
>
Explore the world of open-source possibilities with AOSSIE's{' '}
<b>Idea List</b>. As part of{' '}
<b>Google Summer of Code {currentYear}</b>, we offer
a unique opportunity for developers to explore new ideas, a wide
variety of projects for developers to choose from and contribute to.
From developing new features to fixing critical bugs, our idea list
is your go-to destination for finding your next big project and
kickstart your open-source journey.
</motion.p>
<Container.Inner>
<div className="mt-10 sm:mt-20">
{children}
</div>
<motion.div
initial={{ opacity: 0, y: 50 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.8 }}
className="mt-20 py-12 bg-zinc-50 dark:bg-zinc-800/20 rounded-2xl text-center"
>
<h2 className="text-3xl font-extrabold font-mono text-zinc-900 dark:text-zinc-100">
Have an Idea?
</h2>
<p className="mt-4 text-lg text-zinc-600 dark:text-zinc-400 font-mono max-w-2xl mx-auto px-4">
We are always open to new and innovative ideas. If you have a project in mind that aligns with our mission, we'd love to hear from you.
</p>
<motion.div
className="mt-8"
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
>
<a
href="https://mail.google.com/mail/?view=cm&fs=1&to=aossie.oss@gmail.com&su=New%20Project%20Idea&body=Hello%20AOSSIE%20Team"
target="_blank"
rel="noopener noreferrer"
className="inline-block rounded-md border border-transparent bg-[#00843D] px-8 py-3 text-base font-medium text-white hover:bg-[#006e32] md:py-4 md:px-10 md:text-lg font-mono dark:bg-yellow-400 dark:text-black dark:hover:bg-yellow-500 transition-colors"
>
Submit Your Idea
</a>
</motion.div>
</motion.div>
</Container.Inner>
</Container>
)
}