Skip to content

Commit 6717b9c

Browse files
committed
Update Homepage
1 parent a21c635 commit 6717b9c

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/pages/index.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Search } from '@/components/Search'
66
import { Testimonials } from '@/components/Testimonials'
77
import Head from 'next/head'
88
import NextLink from 'next/link'
9+
import Router from 'next/router'
910

1011
export default function Home() {
1112
return (
@@ -28,7 +29,14 @@ export default function Home() {
2829
<div className="border-b border-gray-200 py-4 flex items-center justify-between mb-16 sm:mb-20 sm:mx-0 sm:px-0">
2930
<div className="flex items-center">
3031
<NextLink href="/">
31-
<Logo className="w-auto flex h-8 lg:h-10 sm:h-5" />
32+
<a
33+
onContextMenu={(e) => {
34+
e.preventDefault()
35+
Router.push('/brand')
36+
}}
37+
>
38+
<Logo className="w-auto flex h-8 lg:h-10 sm:h-5" />
39+
</a>
3240
</NextLink>
3341
</div>
3442
<div className="flex items-center space-x-6 sm:space-x-10 ml-6 sm:ml-2">
@@ -92,10 +100,8 @@ export default function Home() {
92100
<figure>
93101
<blockquote>
94102
<Paragraph className="max-w-4xl mx-auto mb-6">
95-
Let's us learn Java by learning concepts and practicing programs.<br/>{' '}
96-
<Widont>
97-
I am sure you will fall in love with Java.
98-
</Widont>
103+
Let's us learn Java by learning concepts and practicing programs.
104+
<br /> <Widont>I am sure you will fall in love with Java.</Widont>
99105
</Paragraph>
100106
</blockquote>
101107
<figcaption className="sm:text-xl font-medium flex flex-col items-center">

0 commit comments

Comments
 (0)