Create button=>Site link
This commit is contained in:
parent
8759064ccb
commit
f7d027ccc9
|
@ -1,13 +1,13 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import Link from 'next/link'
|
|
||||||
import { Button } from './button'
|
import { Button } from './button'
|
||||||
|
import { SiteLink } from 'web/components/site-link'
|
||||||
|
|
||||||
export const CreateQuestionButton = () => {
|
export const CreateQuestionButton = () => {
|
||||||
return (
|
return (
|
||||||
<Link href="/create" passHref>
|
<SiteLink href="/create">
|
||||||
<Button color="gradient" size="xl" className="mt-4">
|
<Button color="gradient" size="xl" className="mt-4 w-full">
|
||||||
Create a market
|
Create a market
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</SiteLink>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user