-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from nyomansunima/68-feature-home
🎉 build: create simple home
- Loading branch information
Showing
6 changed files
with
84 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<template> | ||
<main class="pt-40"> | ||
<!-- not found --> | ||
<section | ||
class="flex flex-col items-center container mx-auto px-20" | ||
v-if="error.statusCode == 404" | ||
> | ||
<h2 class="text-[200px]">404</h2> | ||
<h3 class="text-6xl w-7/12 text-center"> | ||
Opps, something <span class="text-gray-400">missing</span> | ||
</h3> | ||
|
||
<div class="flex justify-center mt-16"> | ||
<OutlineButton @click="handleError">Back Home</OutlineButton> | ||
</div> | ||
</section> | ||
</main> | ||
</template> | ||
<script setup> | ||
defineProps({ | ||
error: Object, | ||
}) | ||
const handleError = () => clearError({ redirect: '/' }) | ||
useHead({ | ||
bodyAttrs: { | ||
class: | ||
'font-sans font-medium text-base leading-normal text-black dark:text-gray-100 bg-white dark:bg-black transition-all duration-1000', | ||
}, | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,37 @@ | ||
<template> | ||
<div></div> | ||
<main class="flex flex-col pt-40 py-80"> | ||
<section class="flex flex-col container mx-auto px-20 items-center"> | ||
<h2 class="text-6xl leading-tight text-center w-8/12"> | ||
🎉 Hello, iam a | ||
<span class="text-gray-400" | ||
>Product Designer, Developer & Indie maker</span | ||
> | ||
</h2> | ||
<p class="text-xl leading-relaxed text-center w-7/12 mt-10"> | ||
Hi, My name Nyoman Sunima. Iam a Product Designer and Developer located | ||
in Bali, Indonesia. I work as software engineering and cratf the app | ||
from the zero and make something special. Everytime my day i use to | ||
write the content, sharing with community, craft app and connect with | ||
other creators. | ||
</p> | ||
|
||
<div class="flex flex-wrap mt-12 gap-4"> | ||
<OutlineButton link="/blog">My Blog</OutlineButton> | ||
<OutlineButton link="/project">Projects</OutlineButton> | ||
<OutlineButton link="/inspiration">Inspirations</OutlineButton> | ||
</div> | ||
</section> | ||
</main> | ||
</template> | ||
|
||
<script setup lang="ts"></script> | ||
<script setup lang="ts"> | ||
definePageMeta({ | ||
layout: 'main', | ||
}) | ||
<style scoped></style> | ||
useSeoMeta({ | ||
title: 'Product Designer, Developer & Indie Maker', | ||
description: | ||
'Hi, iam a product designer and developer located in bali, Iam indie maker', | ||
}) | ||
</script> |