diff --git a/web/src/pages/Create.tsx b/web/src/pages/Create.tsx index 865a3d0..19e3266 100644 --- a/web/src/pages/Create.tsx +++ b/web/src/pages/Create.tsx @@ -1,8 +1,333 @@ +import Banner from "../components/Banner"; export default function Create() { + const keyDownHandler = (e: React.KeyboardEvent) => { + if (e.key === 'Enter') { + e.preventDefault(); + return false; + } + return true; + } + return ( <> -

Create

+ +
+

+ Welcome to the Recipe Creation Wizard! Simply fill in the details about your culinary creation, + including the recipe's name, a description, and other specifics like its category, duration, + and difficulty. Don't forget to dynamically add all your ingredients and instructions using + the dedicated buttons, and feel free to upload an appealing image. All required fields are + marked with an *. Once everything looks perfect, just hit the "Create Recipe" + button to + share your masterpiece! +

+
+
+ +

+ Please provide a unique title for your recipe. This is the most important part! +

+ +

Please enter a title. Between 1-128 characters.

+
+
+ +

+ Please provide a description for your recipe. This can be short and sweet or long and detailed! +

+ +

+ Please enter a description. Between 1-1000 characters. +

+
+
+
+ +

+ Please provide a list of tags. e.g., easy, dairy-free, gluten-free, high protein. +

+ + +
+
    +
    +
    +
    + +

    + Please provide the estimated prep time (minutes). +

    + +

    + Please enter a time (minutes). +

    +
    +
    + +

    + Please provide the estimated cook time (minutes). +

    + +

    + Please enter a time (minutes). +

    +
    +
    + +

    + Please provide the estimated serving size. +

    + +

    + Please enter a serving size. +

    +
    +
    +
    +
    + +

    + Please provide the meal category. +

    + +

    + Please select a category. +

    +
    +
    + +

    + Please provide a baseline difficulty. +

    + +

    + Please select a difficulty. +

    +
    +
    +
    + +

    Please provide a list of ingredients and their quantities.

    +
      +
    • +
      + +

      + Please enter at least one ingredient. +

      +
      +
      + +

      + Please provide a quantity. +

      +
      +
    • +
    + +
    +
    + +

    + Please provide a list of instructions. You do not need to include step number, they will be added automatically! +

    +
    + +

    + Please enter at least one step. +

    +
    + +
    +
    + +

    + Please provide an image of your creation. This is optional but is a nice touch! +

    + +
    +

    + +
    +
    ); }