Skip to content

Commit

Permalink
hide placeholders from landing page (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsbajorics authored Jun 12, 2021
1 parent 634b2a7 commit bd6ce46
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
10 changes: 5 additions & 5 deletions website-next/components/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { Popover, Transition } from '@headlessui/react'
import { MenuIcon, XIcon } from '@heroicons/react/outline'

const navigation = [
{ name: 'Sunscreen', href: '#' },
{ name: 'Samples', href: '#' },
{ name: 'Stickers', href: '#' },
{ name: 'Source', href: 'https://github.com/concrete-utopia/utopia' },
{ name: 'Log In', href: '#' },
{ name: ' ', href: '#' },
{ name: ' ', href: '#' },
{ name: ' ', href: '#' },
{ name: ' ', href: 'https://github.com/concrete-utopia/utopia' },
{ name: 'Create a Project', href: '/project' },
]

export function Menu() {
Expand Down
14 changes: 8 additions & 6 deletions website-next/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ function Subtitle({ children, center }) {
)
}

function HeroButton({ children, primary }) {
function HeroButton({ href, children, primary }) {
return (
<div className='rounded-2xl shadow mt-3'>
<a
href='#'
href={href}
className={
'rounded-2xl w-full flex items-center justify-center text-base font-medium font-button ' +
'md:text-lg px-4 py-2 md:px-6 md:py-2 ' +
Expand Down Expand Up @@ -81,8 +81,10 @@ function HeroSection() {
sm:flex sm:justify-center gap-x-3
'
>
<HeroButton primary>Create a Project</HeroButton>
<HeroButton>Read More</HeroButton>
<HeroButton primary href='/project'>
Create a Project
</HeroButton>
{/* <HeroButton>Read More</HeroButton> */}
</div>
</div>
</main>
Expand Down Expand Up @@ -178,9 +180,9 @@ export default function LandingPage() {
</div>

<HeroSection />
<DesignToolForCodeSection />
{/* <DesignToolForCodeSection />
<CodeEditorForDesignSection />
<AlwaysLiveSection />
<AlwaysLiveSection /> */}
<div className='pt-80' />
</div>
</div>
Expand Down

0 comments on commit bd6ce46

Please sign in to comment.