tuned header of recipe lists for smartphones

This commit is contained in:
Anika Raemer 2025-09-14 17:30:33 +02:00
parent 5c3c74b32e
commit 686eddbaee
24 changed files with 2563 additions and 29 deletions

View file

@ -1,13 +1,16 @@
import type { Recipe } from "../types/recipe"
import { API_BASE_URL } from "../config/api"
/**
* Util for handling the recipe api
*/
// reate base url from .env file
const BASE_URL = import.meta.env.VITE_API_BASE;
/**
* URL for handling recipes
*/
const RECIPE_URL = `${API_BASE_URL}/recipe`
const RECIPE_URL = `${BASE_URL}/recipe`
/**
* Load a single recipe