Skip to content

Commit e6597e3

Browse files
committed
feat: new changes
1 parent 2e4b97a commit e6597e3

4 files changed

Lines changed: 13 additions & 17 deletions

File tree

app/speak/components/speak.tsx

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ import { Button } from '@/components/ui/button';
66

77
const handleRedirect = (url: string) => {
88
if (typeof window !== 'undefined') {
9-
window.open(url, '_blank');
10-
}
9+
window.open(url, '_blank');
10+
}
1111
};
1212

1313
const SpeakDetails: React.FC = () => {
1414
return (
15-
<section className="py-16">
15+
<section>
1616
<div className="flex-column max-w-7xl mx-auto pl-8 md:pl-12 lg:pl-16">
1717
{/* Main Container - Always Horizontal */}
18-
<div className="flex flex-row items-center justify-start w-full mt-9 md:mt-5 lg:mt-0">
18+
<div className="flex flex-row items-center justify-start w-full mt-8 q md:mt-10 lg:mt-10">
1919
{/* Left Section - Text & Small Logo */}
2020
<div className="w-1/2">
21-
<h1 className="text-[#FFFFFF] [@media(max-width:380px)]:text-[20px] text-[28px] sm:text-[44px] md:text-[47px] lg:text-[65px] font-black leading-[1.3] mt-10">
21+
<h1 className="text-[#FFFFFF] [@media(max-width:380px)]:text-[20px] text-[25px] sm:text-[44px] md:text-[47px] lg:text-[65px] font-black leading-[1.3]">
2222
Share Your <br />
2323
Knowledge <br />
2424
<div className="flex items-center space-x-2 md:space-x-5">
@@ -28,7 +28,7 @@ const SpeakDetails: React.FC = () => {
2828
alt="DurianPy"
2929
width={0}
3030
height={0}
31-
className="mt-1 sm:mt-1 md:mt-1 w-auto [@media(max-width:380px)]:h-6 h-9 sm:h-14 md:h-15 lg:h-20"
31+
className="mt-1 sm:mt-1 md:mt-1 w-auto [@media(max-width:380px)]:h-6 h-8 sm:h-14 md:h-15 lg:h-20"
3232
/>
3333
</div>
3434
</h1>
@@ -48,13 +48,13 @@ const SpeakDetails: React.FC = () => {
4848

4949
{/* Right Section - Large Logo */}
5050
<div className="w-1/2">
51-
<div className="ml-4 flex justify-end md:mt-20 lg:mt-28 relative">
51+
<div className="ml-4 flex justify-end md:mt-5 lg:mt-10 relative ">
5252
<Image
5353
src="/assets/speakIcons/glowBg.svg"
5454
alt="Glow BG"
5555
width={0}
5656
height={0}
57-
className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[500px] h-[500px] md:w-[700px] md:h-[700px] lg:w-[800px] lg:h-[1000px] rounded-full blur-3xl"
57+
className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[200px] h-[200px] md:w-[700px] md:h-[700px] lg:w-[800px] lg:h-[1000px] rounded-full blur-3xl"
5858
/>
5959
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[185px] h-[200px] md:w-[340px] md:h-[450px] lg:w-[465px] lg:h-[500px] bg-green-800/15 rounded-full blur-3xl -z-10"></div>
6060
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[185px] h-[150px] md:w-[300px] md:h-[350px] lg:w-[350px] lg:h-[400px] bg-green-700/20 rounded-full blur-2xl -z-10"></div>
@@ -146,17 +146,13 @@ const SpeakDetails: React.FC = () => {
146146
</div>
147147
</div>
148148
<div className="mt-8 lg:mt-14">
149+
<a href="mailto:durianpy.davao@gmail.com">
149150
<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-
}
156151
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"
157152
>
158153
Have Questions?
159154
</Button>
155+
</a>
160156
</div>
161157
</div>
162158

app/speak/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SpeakDetails from './components/speak';
1+
import SpeakDetails from './components/speak'
22

33
export default function SpeakPage() {
44
return (

components/navs/public/DesktopView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default function DesktopView() {
6666
</DropdownMenu>
6767
<Button
6868
variant={'navLink'}
69-
onClick={() => redirectTo({ href: '/speak' })}
69+
onClick={() => router.push('/speak')}
7070
className={`${pathname === '/speak' ? 'text-primary border-primary' : ''}`}
7171
>
7272
Speak

components/navs/public/MobileView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default function MobileView() {
101101
</Button>
102102
<Button
103103
variant={'navLinkMobile'}
104-
onClick={() => redirectTo({ href: '/speak' })}
104+
onClick={() => router.push('/speak')}
105105
>
106106
Speak
107107
</Button>

0 commit comments

Comments
 (0)