mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-05-22 19:34:54 +00:00
Add fake API to allow for testing of requests
This commit is contained in:
parent
2686fb904c
commit
782c88d082
7 changed files with 86 additions and 46 deletions
|
@ -5,7 +5,7 @@
|
|||
import { ArrowUpRight } from "phosphor-svelte";
|
||||
|
||||
import MenuList from "%/components/MenuList.svelte";
|
||||
import { getPopularToday } from "%/lib/api.js";
|
||||
import { getPopularToday } from "%/lib/test-api.js";
|
||||
import BannerImage from '/BannerExampleImage.jpg';
|
||||
|
||||
let items = getPopularToday();
|
||||
|
@ -35,8 +35,8 @@
|
|||
<div id="contact">
|
||||
<div id="map"></div>
|
||||
<div class="container">
|
||||
<h2>Some Title</h2>
|
||||
<p>Example text</p>
|
||||
<h2>Opening Times</h2>
|
||||
<p>Please make sure to checkout our full calendar, as we have different times during public holiday</p>
|
||||
<div id="timetable">
|
||||
<table>
|
||||
<tr><th>Day</th><th>Opening</th><th>Closing</th></tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue