Skip to content

Commit

Permalink
added page2 to example project
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Mar 29, 2024
1 parent 2f32b13 commit ae136d8
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
30 changes: 30 additions & 0 deletions dev/nextjs-project/data/page2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<section class="bg-gray-50">
<div class="mx-auto max-w-screen-xl px-4 py-32 lg:flex lg:h-screen lg:items-center">
<div class="mx-auto max-w-xl text-center">
<h1 class="text-3xl font-extrabold sm:text-5xl">
Understand User Flow.
<strong class="font-extrabold text-red-700 sm:block"> Increase Conversion. </strong>
</h1>

<p class="mt-4 sm:text-xl sm:leading-relaxed">
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!
</p>

<div class="mt-8 flex flex-wrap justify-center gap-4">
<a
class="block w-full rounded bg-red-600 px-12 py-3 text-sm font-medium text-white shadow hover:bg-red-700 focus:outline-none focus:ring active:bg-red-500 sm:w-auto cursor-pointer"
href="/get-started"
>
Get Started
</a>

<a
class="block w-full rounded px-12 py-3 text-sm font-medium text-red-600 shadow hover:text-red-700 focus:outline-none focus:ring active:text-red-500 sm:w-auto cursor-pointer"
href="/about"
>
Learn More
</a>
</div>
</div>
</div>
</section>
11 changes: 11 additions & 0 deletions dev/nextjs-project/pages/page2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export { getStaticProps } from 'destack/build/server'
import { ContentProvider } from 'destack'

const Index = (props) => {
return (
<div style={{ height: '100%' }}>
<ContentProvider {...props} />
</div>
)
}
export default Index

0 comments on commit ae136d8

Please sign in to comment.