Skip to content

Commit 9bdc96e

Browse files
committed
Improve landing page
1 parent eca7e52 commit 9bdc96e

File tree

1 file changed

+65
-6
lines changed

1 file changed

+65
-6
lines changed

pages/index.vue

Lines changed: 65 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<script setup lang="ts">
2-
import { ArrowRightCircleIcon } from '@heroicons/vue/24/outline';
2+
import {
3+
ArrowRightCircleIcon,
4+
CircleStackIcon,
5+
LockClosedIcon,
6+
SparklesIcon
7+
} from '@heroicons/vue/24/outline';
38
49
definePageMeta({
510
layout: 'blank',
@@ -8,20 +13,74 @@
813

914
<template>
1015
<NavBarPublic />
11-
<section class="flex flex-col h-screen gap-3">
12-
<header class="flex flex-col m-auto text-center w-5/6 md:w-3/6">
13-
<h1 class="font-bold text-3xl md:text-6xl">Quickest Way to Test <span class="bg-gray-300">API Requests</span>.</h1>
14-
<p class="mt-8 md:text-xl">Setup fake RESTful endpoints within minutes and begin sending API requests using your own tool.</p>
15-
<div class="flex m-auto">
16+
<section class="flex flex-col justify-center gap-3">
17+
<header class="flex flex-col m-auto text-center mt-48 w-5/6 md:w-3/6">
18+
<h1 class="font-bold text-3xl md:text-6xl">Fastest Way to Build a <span class="bg-gray-300">REST API</span> for Testing.</h1>
19+
<p class="mt-8 md:text-xl">Deploy within minutes and test it with your frontend code.</p>
20+
<div class="flex gap-6 m-auto">
1621
<NuxtLink
1722
class="btn mt-4 gap-x-2 font-normal text-md md:text-2xl normal-case"
1823
to="/dashboard"
1924
>
2025
<span>Get Started</span>
26+
</NuxtLink>
27+
<NuxtLink
28+
class="btn btn-ghost mt-4 gap-x-2 font-normal text-md md:text-2xl normal-case"
29+
to="/docs"
30+
>
31+
<span>Learn more</span>
2132
<ArrowRightCircleIcon class="h-6 w-6" />
2233
</NuxtLink>
2334
</div>
2435
</header>
36+
<section class="flex flex-col items-center mt-32 gap-4 p-20">
37+
<h2 class="font-medium text-2xl md:text-4xl">Our Features</h2>
38+
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 mt-6 gap-8">
39+
<article class="border border-slate-300 flex-1 text-center rounded-lg p-8">
40+
<h3 class="font-medium gap-4 text-xl md:text-2xl">
41+
<CircleStackIcon class="text-blue-500 inline-block w-6 h-6" /> Data customization
42+
</h3>
43+
<p class="mt-4">
44+
Define the schema of the resource that you want to expose
45+
and populate it with data.
46+
</p>
47+
</article>
48+
<article class="border border-slate-300 flex-1 text-center rounded-lg p-8">
49+
<h3 class="font-medium gap-4 text-xl md:text-2xl">
50+
<SparklesIcon class="text-yellow-500 inline-block w-6 h-6" />
51+
Hassle-free setup
52+
</h3>
53+
<p class="mt-4">
54+
All of your APIs support GET, POST, PUT, and DELETE requests
55+
out-of-the-box!
56+
</p>
57+
</article>
58+
<article class="border border-slate-300 flex-1 text-center rounded-lg p-8">
59+
<h3 class="font-medium gap-4 text-xl md:text-2xl">
60+
<LockClosedIcon class="text-emerald-500 inline-block w-6 h-6" />
61+
Secure Access
62+
</h3>
63+
<p class="mt-4">
64+
Generate and utilize security keys to limit the access
65+
to your endpoints.
66+
</p>
67+
</article>
68+
<article class="flex md:col-span-3 mt-4 text-center text-lg">
69+
<p class="m-auto">And more coming soon...</p>
70+
</article>
71+
</div>
72+
</section>
73+
<section class="flex flex-col gap-4 m-auto mb-32 mt-28 md:w-3/6 text-center w-5/6">
74+
<h3 class="font-medium text-lg md:text-2xl">
75+
Do you feel like a feature is missing? Did you find any
76+
issues while using this platform?
77+
</h3>
78+
<p>
79+
If so, feel free to submit an issue or open a pull-request on the project's
80+
<a class="font-bold text-violet-600 underline" href="https://github.com/netervati/pseudo-rest-api">repository</a>. We'll try to review your submission and accommodate
81+
it if it's within the project's scope or vision.
82+
</p>
83+
</section>
2584
<Footer />
2685
</section>
2786
</template>

0 commit comments

Comments
 (0)