random recipe page

This commit is contained in:
Ruidy 2024-04-27 01:26:43 +02:00
parent d35253be03
commit e63805539b
No known key found for this signature in database
GPG key ID: E00F51288CB857CC
3 changed files with 13 additions and 2 deletions

View file

@ -2,7 +2,7 @@
- [x] use bun package manager - [x] use bun package manager
- [x] use nuxt framework - [x] use nuxt framework
- [ ] rewrite the random page, the current landing page - [x] rewrite the random page, the current landing page
- [ ] rewrite the recipe page - [ ] rewrite the recipe page
- [ ] deploy - [ ] deploy
- [ ] pwa - [ ] pwa

View file

@ -1,3 +1,14 @@
<template> <template>
<div>index</div> <div class="hero min-h-screen bg-base-200">
<div class="hero-content flex-col lg:flex-row-reverse">
<img src="/public/chef.svg" class="max-w-sm rounded-lg shadow-2xl" />
<div>
<h1 class="text-5xl font-bold prose">Eat Something New</h1>
<p class="py-6 prose">Generate a random recipe.</p>
<NuxtLink to="/random" class="btn btn-primary"
>Random Recipe Now
</NuxtLink>
</div>
</div>
</div>
</template> </template>

View file

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB