Preheat the oven to 200°C, fan 180°C, gas 6. Unroll the pastry and cut into 4 even rectangles, then, keeping the pastry paper on the bottom, transfer to a baking tray. Use a knife to score a 1cm border around each, then spread the red pepper pesto over the middle of each.
Scatter the artichokes, the sliced pepper and courgette ribbons over the pesto, then top with the crumbled feta and half of the basil. Bake for 15-20 minutes until the pastry is golden and crisp.
Meanwhile, make a salad: put the diced pepper and courgette into a bowl with the chopped tomatoes, red onion, remaining basil and garlic and mix together.
Toss through the rocket and serve alongside the warm tarts.