-
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 #18 from T1xx1/dev
Restaurant reservation challenge
- Loading branch information
Showing
8 changed files
with
457 additions
and
213 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
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,40 @@ | ||
--- | ||
import { Image } from 'astro:assets'; | ||
import cover from './cover.jpg'; | ||
import hearth from './hearth.svg'; | ||
import star from './star.svg'; | ||
--- | ||
|
||
<div | ||
class="bg-yellow-700 bg-opacity-50 rounded-xl px-5 py-14 w-full flex justify-center" | ||
> | ||
<div class="bg-white rounded-xl w-80 space-y-5"> | ||
<Image src={cover} alt="Cover" class="rounded-t-xl" /> | ||
|
||
<div class="px-5 space-y-3"> | ||
<div class="flex items-center justify-between"> | ||
<div> | ||
<h2 class="text-lg font-medium">Harvest & Hearth</h2> | ||
<div class="text-xs font-medium">1 Urban Avenue</div> | ||
</div> | ||
|
||
<Image src={hearth} alt="Hearth" class="w-5 h-5 cursor-pointer" /> | ||
</div> | ||
|
||
<div class="flex gap-1 items-center"> | ||
<Image src={star} alt="Star" class="w-3 h-3" /> | ||
<Image src={star} alt="Star" class="w-3 h-3" /> | ||
<Image src={star} alt="Star" class="w-3 h-3" /> | ||
<Image src={star} alt="Star" class="w-3 h-3" /> | ||
<Image src={star} alt="Star" class="w-3 h-3" /> | ||
|
||
<div class="text-gray-500 text-xs font-medium">(231 reviews)</div> | ||
</div> | ||
|
||
<div class="text-sm">Harvest & Hearth is a modern restaurant featuring creative, locally sourced dishes in a sleek, minimalist setting. It offers artisanal pastas, selected meats, and seasonal vegetables, paired with craft cocktails and organic wines. Ideal for intimate dinners and social gatherings.</div> | ||
</div> | ||
|
||
<button type="button" class="bg-black hover:bg-opacity-90 rounded-b-xl py-3 w-full text-white text-sm">Make a reservation</button> | ||
</div> | ||
</div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 @@ | ||
{ | ||
"title": "Restaurant reservation", | ||
"inspo": "https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz9sym4kzh0rsmsuhfvd3.png", | ||
"article": "https://dev.to/t1xx1/100frontendchallenge-day-12-restaurant-reservation-akf-temp-slug-3629098" | ||
} |