Conditions | 1 |
Total Lines | 69 |
Code Lines | 60 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
1 | import React, { Component } from "react" |
||
10 | render() { |
||
11 | const { affiche } = this.props.data |
||
12 | return ( |
||
13 | <Layout> |
||
14 | <SEO |
||
15 | lang="nl-BE" |
||
16 | title="Lunch vd lege portemonnee - Takeaway!" |
||
17 | description="Lege portemonnee Takeaway! - Bestelformulier" |
||
18 | path={this.props.location.pathname} |
||
19 | /> |
||
20 | <div className={"limited-width_wrapper"}> |
||
21 | <header> |
||
22 | <h1>Lunch van de lege portemonnee - Takeaway</h1> |
||
23 | </header> |
||
24 | <main> |
||
25 | <h2>Zaterdag 20 februari 2021</h2> |
||
26 | <p> |
||
27 | Door de corona-beperkingen wordt de Lunch vd Lege Portemonne |
||
28 | helaas een Take Away versie. Daarom stellen we een aantal |
||
29 | gerechten voor, die standaard bij onze Lunch horen en waarvan u |
||
30 | kan genieten bij een wijntje of drankje bij u thuis. |
||
31 | </p> |
||
32 | |||
33 | <p>Op het menu:</p> |
||
34 | <ul> |
||
35 | <li>Ajuinsoep met kaas - 1L: 8€ per portie</li> |
||
36 | <li>Balletjes in tomatensaus met puree: 10€ per portie</li> |
||
37 | <li>Winterstoemp met spekjes en chipolatta: 11€ per portie</li> |
||
38 | <li>Witloof in den oven met puree: 12€ per portie</li> |
||
39 | <li>Dessert - chocomousse of pannenkoeken met suiker (2): 5€</li> |
||
40 | </ul> |
||
41 | <p> |
||
42 | <strong> |
||
43 | Bestellen kan tot en met woensdag 17 februari 2021! |
||
44 | </strong> |
||
45 | </p> |
||
46 | <p> |
||
47 | Opgelet: Je kan een afhaalmoment kiezen bij het bestellen (16:00 - |
||
48 | 20:00). Betalen kan ter plaatse cash (liefst gepast). |
||
49 | </p> |
||
50 | |||
51 | <p> |
||
52 | Wie bijkomende vragen heeft kan terecht op |
||
53 | [email protected]. |
||
54 | <br /> |
||
55 | Alvast bedankt! En graag tot in 2022 voor opnieuw een face-to-face |
||
56 | versie van deze Lunch vd Leige Portemonnee! |
||
57 | </p> |
||
58 | |||
59 | <tbkr-bm-widget |
||
60 | restaurant-id="34742560" |
||
61 | source="website" |
||
62 | use-modal="0" |
||
63 | lang="nl" |
||
64 | theme="light" |
||
65 | primary-color="#4b9b48" |
||
66 | takeaway="1" |
||
67 | ></tbkr-bm-widget> |
||
68 | <script src="https://reservations.tablebooker.com/tbkr-widget-import.min.js"></script> |
||
69 | |||
70 | <Img |
||
71 | fluid={{ |
||
72 | ...affiche.childImageSharp.fluid, |
||
73 | }} |
||
74 | alt="Sinterklaas Takeaway" |
||
75 | /> |
||
76 | </main> |
||
77 | </div> |
||
78 | </Layout> |
||
79 | ) |
||
92 |