Skip to content

Commit b830e8c

Browse files
committed
Minor update to branding
1 parent 4a94ab9 commit b830e8c

File tree

11 files changed

+60
-30
lines changed

11 files changed

+60
-30
lines changed

assets/css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
2+
13
@tailwind base;
24
@tailwind components;
35
@tailwind utilities;
46

7+
html {
8+
font-family: 'Roboto', sans-serif !important;
9+
}

components/button.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<template>
5555
<button
56-
class="btn"
56+
class="btn normal-case font-normal text-lg"
5757
:class="mergedClass"
5858
:disabled="loading || disabled"
5959
:type="type"

components/content/ProseA.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<NuxtLink
1717
:href="href"
1818
: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"
2020
>
2121
<slot />
2222
</NuxtLink>

components/footer.vue

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<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>
69
</footer>
710
</template>

components/logoLink.vue

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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>

components/nav/bar.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
<template>
4040
<div class="bg-base-100 border-b border-gray-300 navbar">
4141
<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" />
4543
</div>
4644
<div class="flex-none">
4745
<Dropdown avatar class="rounded-lg" color="ghost" position="end">

components/nav/barPublic.vue

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,30 @@
11
<script lang="ts" setup>
2-
import { Bars3Icon, ComputerDesktopIcon } from '@heroicons/vue/24/outline';
2+
import { Bars3Icon } from '@heroicons/vue/24/outline';
33
</script>
44

55
<template>
6-
<div class="navbar bg-base-100">
6+
<div class="navbar absolute bg-base-100 p-4">
77
<div class="navbar-start">
88
<div class="dropdown">
99
<label tabindex="0" class="btn btn-ghost lg:hidden">
1010
<Bars3Icon class="h-6 w-6" />
1111
</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+
>
1316
<li><NuxtLink to="/docs">Docs</NuxtLink></li>
1417
<li><NuxtLink to="https://github.com/netervati/pseudo-rest-api">Source</NuxtLink></li>
1518
</ul>
1619
</div>
17-
<NuxtLink class="btn btn-ghost normal-case text-xl" to="/">
18-
<img width="200" src="/full-logo.png" />
19-
</NuxtLink>
20+
<LogoLink />
2021
</div>
2122
<div class="navbar-center hidden lg:flex">
22-
<ul class="menu menu-horizontal px-1">
23+
<ul class="flex gap-x-8 px-1">
2324
<li><NuxtLink to="/docs">Docs</NuxtLink></li>
2425
<li><NuxtLink to="https://github.com/netervati/pseudo-rest-api">Source</NuxtLink></li>
2526
</ul>
2627
</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>
3329
</div>
3430
</template>

layouts/docs.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<label for="my-drawer" class="btn btn-ghost btn-sm drawer-button">
1818
<Bars3Icon class="h-6 w-6" />
1919
</label>
20+
<LogoLink />
2021
</div>
2122
<div class="flex-none" />
2223
</nav>

pages/docs/[...slug].vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
<section class="p-6">
99
<ContentDoc />
1010
</section>
11-
<Footer />
1211
</template>

pages/index.vue

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
<script setup lang="ts">
2+
import { ArrowRightCircleIcon } from '@heroicons/vue/24/outline';
3+
24
definePageMeta({
35
layout: 'blank',
46
});
57
</script>
68

79
<template>
810
<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>
1424
</header>
25+
<Footer />
1526
</section>
16-
<Footer />
1727
</template>

0 commit comments

Comments
 (0)