File tree Expand file tree Collapse file tree 11 files changed +60
-30
lines changed Expand file tree Collapse file tree 11 files changed +60
-30
lines changed Original file line number Diff line number Diff line change
1
+ @import url ('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap' );
2
+
1
3
@tailwind base;
2
4
@tailwind components;
3
5
@tailwind utilities;
4
6
7
+ html {
8
+ font-family : 'Roboto' , sans-serif !important ;
9
+ }
Original file line number Diff line number Diff line change 53
53
54
54
<template >
55
55
<button
56
- class =" btn"
56
+ class =" btn normal-case font-normal text-lg "
57
57
:class =" mergedClass"
58
58
:disabled =" loading || disabled"
59
59
:type =" type"
Original file line number Diff line number Diff line change 16
16
<NuxtLink
17
17
:href =" href"
18
18
:target =" target"
19
- class =" decoration-2 font-bold text-success underline underline-offset-2"
19
+ class =" decoration-2 font-bold text-violet-600 underline underline-offset-2"
20
20
>
21
21
<slot />
22
22
</NuxtLink >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <footer class =" footer footer-center mt-8 p-4 text-base-content" >
3
- <aside >
4
- <p >Copyright © 2023 - All right reserved by Netervati</p >
5
- </aside >
2
+ <footer class =" footer border-b-8 border-violet-600 items-center p-6 md:text-lg" >
3
+ <aside class =" items-center grid-flow-col" >
4
+ <p >© 2023 PseudoRESTAPI - All right reserved.</p >
5
+ </aside >
6
+ <nav class =" grid-flow-col gap-4 md:place-self-center md:justify-self-end" >
7
+ <p >Built by <NuxtLink class =" text-violet-600 font-bold" to =" https://www.christophertabula.net/" >Christopher Tabula</NuxtLink ></p >
8
+ </nav >
6
9
</footer >
7
10
</template >
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ type Props = {
3
+ to? : string ;
4
+ };
5
+
6
+ const props = withDefaults (defineProps <Props >(), {
7
+ to: ' /' ,
8
+ });
9
+ </script >
10
+
11
+ <template >
12
+ <NuxtLink
13
+ :to =" props.to"
14
+ class =" btn btn-ghost gap-x-2 normal-case text-xl"
15
+ >
16
+ <img width =" 36" src =" /logo.png" /> PseudoRESTAPI
17
+ </NuxtLink >
18
+ </template >
Original file line number Diff line number Diff line change 39
39
<template >
40
40
<div class =" bg-base-100 border-b border-gray-300 navbar" >
41
41
<div class =" flex-1" >
42
- <NuxtLink class =" btn btn-ghost normal-case text-xl" to =" /dashboard" >
43
- <img width =" 200" src =" /full-logo.png" />
44
- </NuxtLink >
42
+ <LogoLink to =" /dashboard" />
45
43
</div >
46
44
<div class =" flex-none" >
47
45
<Dropdown avatar class =" rounded-lg" color =" ghost" position =" end" >
Original file line number Diff line number Diff line change 1
1
<script lang="ts" setup>
2
- import { Bars3Icon , ComputerDesktopIcon } from ' @heroicons/vue/24/outline' ;
2
+ import { Bars3Icon } from ' @heroicons/vue/24/outline' ;
3
3
</script >
4
4
5
5
<template >
6
- <div class =" navbar bg-base-100" >
6
+ <div class =" navbar absolute bg-base-100 p-4 " >
7
7
<div class =" navbar-start" >
8
8
<div class =" dropdown" >
9
9
<label tabindex =" 0" class =" btn btn-ghost lg:hidden" >
10
10
<Bars3Icon class =" h-6 w-6" />
11
11
</label >
12
- <ul tabindex =" 0" class =" menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-100 rounded-box w-52" >
12
+ <ul
13
+ tabindex =" 0"
14
+ class =" menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-200 rounded-box w-52"
15
+ >
13
16
<li ><NuxtLink to =" /docs" >Docs</NuxtLink ></li >
14
17
<li ><NuxtLink to =" https://github.com/netervati/pseudo-rest-api" >Source</NuxtLink ></li >
15
18
</ul >
16
19
</div >
17
- <NuxtLink class =" btn btn-ghost normal-case text-xl" to =" /" >
18
- <img width =" 200" src =" /full-logo.png" />
19
- </NuxtLink >
20
+ <LogoLink />
20
21
</div >
21
22
<div class =" navbar-center hidden lg:flex" >
22
- <ul class =" menu menu-horizontal px-1" >
23
+ <ul class =" flex gap-x-8 px-1" >
23
24
<li ><NuxtLink to =" /docs" >Docs</NuxtLink ></li >
24
25
<li ><NuxtLink to =" https://github.com/netervati/pseudo-rest-api" >Source</NuxtLink ></li >
25
26
</ul >
26
27
</div >
27
- <div class =" navbar-end" >
28
- <NuxtLink class =" btn btn-sm" to =" /dashboard" >
29
- <ComputerDesktopIcon class =" h-6 w-6" />
30
- <span class =" hidden md:block md:ml-2" >Dashboard</span >
31
- </NuxtLink >
32
- </div >
28
+ <div class =" navbar-end" ></div >
33
29
</div >
34
30
</template >
Original file line number Diff line number Diff line change 17
17
<label for =" my-drawer" class =" btn btn-ghost btn-sm drawer-button" >
18
18
<Bars3Icon class =" h-6 w-6" />
19
19
</label >
20
+ <LogoLink />
20
21
</div >
21
22
<div class =" flex-none" />
22
23
</nav >
Original file line number Diff line number Diff line change 8
8
<section class =" p-6" >
9
9
<ContentDoc />
10
10
</section >
11
- <Footer />
12
11
</template >
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
+ import { ArrowRightCircleIcon } from ' @heroicons/vue/24/outline' ;
3
+
2
4
definePageMeta ({
3
5
layout: ' blank' ,
4
6
});
5
7
</script >
6
8
7
9
<template >
8
10
<NavBarPublic />
9
- <section class =" flex flex-col md:flex-row gap-3 p-2 md:p-8" >
10
- <LandingPageCode />
11
- <header class =" m-auto" >
12
- <h1 class =" font-bold text-4xl md:text-6xl" >Intuitive way to mock REST endpoints</h1 >
13
- <p class =" mt-8 text-lg md:text-2xl" >Build your own fake REST APIs without having to learn any programming language or framework</p >
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" ><span class =" bg-gray-300" >API Mocking</span > Made Simple for Everyone.</h1 >
14
+ <p class =" mt-8 md:text-xl" >Build, tweak, and perfect your mock REST APIs with ease. We'll serve those endpoints for you.</p >
15
+ <div class =" flex m-auto" >
16
+ <NuxtLink
17
+ class =" btn mt-4 gap-x-2 font-normal text-md md:text-2xl normal-case"
18
+ to =" /dashboard"
19
+ >
20
+ <span >Get Started</span >
21
+ <ArrowRightCircleIcon class =" h-6 w-6" />
22
+ </NuxtLink >
23
+ </div >
14
24
</header >
25
+ <Footer />
15
26
</section >
16
- <Footer />
17
27
</template >
You can’t perform that action at this time.
0 commit comments