Skip to content

Commit 0f53f68

Browse files
committed
feat: links and added responsiveness changes in forms texts
1 parent aa59880 commit 0f53f68

3 files changed

Lines changed: 25 additions & 115 deletions

File tree

app/sigs/components/card.tsx

Lines changed: 0 additions & 41 deletions
This file was deleted.

app/sigs/page.tsx

Lines changed: 0 additions & 69 deletions
This file was deleted.

app/speak/components/speak.tsx

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const HeroSection: React.FC = () => {
7676
Submission <span className="text-[#FFC201]">Guidelines </span>
7777
</h1>
7878

79-
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-8 mr-8 md:mr-12 lg:mr-20 mx-10 lg:mx-0">
79+
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 gap-8 mr-8 md:mr-12 lg:mr-20 mx-10 lg:mx-0">
8080
{/* Left Column */}
8181
<div className="space-y-8">
8282
{/* What to be Mindful of */}
@@ -123,18 +123,38 @@ const HeroSection: React.FC = () => {
123123
Helpful Resources
124124
</h2>
125125
<div className="[@media(max-width:392px)]:text-[8px] text-[8px] sm:text-[12px] md:text-[14px] lg:text-[16px]">
126-
<a href="#" className="hover:underline block">
126+
<a
127+
onClick={() =>
128+
handleRedirect(
129+
'https://us.pycon.org/2014/speaking/proposal_advice/'
130+
)
131+
}
132+
className="hover:underline block cursor-pointer"
133+
>
127134
Great Advice for Giving Talks
128135
</a>
129-
<a href="#" className="hover:underline block">
136+
<a
137+
onClick={() =>
138+
handleRedirect('https://forms.gle/x2cc6CrRhbhDeaxe9')
139+
}
140+
className="hover:underline block cursor-pointer"
141+
>
130142
Submit Talk
131143
</a>
132144
</div>
133145
</div>
134146
</div>
135147
</div>
136148
<div className="mt-8 lg:mt-14">
137-
<Button className="bg-yellow-500 text-black font-medium py-2 md:py-2 lg:py-3 px-4 md:px-5 lg:px-7 [@media(max-width:320px)]:text-[6px] text-[10px] md:text-[14px] lg:text-[18px] rounded-full hover:bg-yellow-600 transition-all duration-300 ease-out hover:scale-105">
149+
<Button
150+
onClick={() =>
151+
window.open(
152+
'https://mail.google.com/mail/?view=cm&fs=1&to=durianpy.davao@gmail.com',
153+
'_blank'
154+
)
155+
}
156+
className="bg-yellow-500 text-black font-medium py-2 md:py-2 lg:py-3 px-4 md:px-5 lg:px-7 [@media(max-width:320px)]:text-[6px] text-[10px] md:text-[14px] lg:text-[18px] rounded-full hover:bg-yellow-600 transition-all duration-300 ease-out hover:scale-105"
157+
>
138158
Have Questions?
139159
</Button>
140160
</div>
@@ -161,7 +181,7 @@ const HeroSection: React.FC = () => {
161181
}}
162182
>
163183
<iframe
164-
src="https://docs.google.com/forms/d/e/1FAIpQLScTPUrZ8Xkfl2hsSlUZt0qzN7tE3zKt5e30d1OcI52YOsnrQg/viewform"
184+
src="https://docs.google.com/forms/d/e/1FAIpQLScTPUrZ8Xkfl2hsSlUZt0qzN7tE3zKt5e30d1OcI52YOsnrQg/viewform?embedded=true"
165185
width="100%"
166186
height="550"
167187
className="h-[250px] md:h-[350px] lg:h-[550px] bg-white rounded-lg"

0 commit comments

Comments
 (0)