Skip to content

Commit ae136d8

Browse files
committed
added page2 to example project
1 parent 2f32b13 commit ae136d8

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

dev/nextjs-project/data/page2.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<section class="bg-gray-50">
2+
<div class="mx-auto max-w-screen-xl px-4 py-32 lg:flex lg:h-screen lg:items-center">
3+
<div class="mx-auto max-w-xl text-center">
4+
<h1 class="text-3xl font-extrabold sm:text-5xl">
5+
Understand User Flow.
6+
<strong class="font-extrabold text-red-700 sm:block"> Increase Conversion. </strong>
7+
</h1>
8+
9+
<p class="mt-4 sm:text-xl sm:leading-relaxed">
10+
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt illo tenetur fuga ducimus numquam ea!
11+
</p>
12+
13+
<div class="mt-8 flex flex-wrap justify-center gap-4">
14+
<a
15+
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"
16+
href="/get-started"
17+
>
18+
Get Started
19+
</a>
20+
21+
<a
22+
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"
23+
href="/about"
24+
>
25+
Learn More
26+
</a>
27+
</div>
28+
</div>
29+
</div>
30+
</section>

dev/nextjs-project/pages/page2.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export { getStaticProps } from 'destack/build/server'
2+
import { ContentProvider } from 'destack'
3+
4+
const Index = (props) => {
5+
return (
6+
<div style={{ height: '100%' }}>
7+
<ContentProvider {...props} />
8+
</div>
9+
)
10+
}
11+
export default Index

0 commit comments

Comments
 (0)