Quarter the tomatoes, then place them in an ovenproof bowl together with the peeled garlic cloves and 2 tablespoons of olive oil, season with salt and bake at 180°C for 25 minutes. Optionally, you can use the oven's grill function.
Cut the peppers into rings, the zucchini and the eggplant into thin slices. Soak the eggplant in salted water for a few minutes and then pat dry.
Mix together a marinade from the remaining olive oil, chili flakes, salt and pepper and pour over the vegetables. Mix everything together well and then spread on a baking tray. Bake at 180°C for 30 minutes.
Fry the planted.pulled in a pan with the oil over medium heat for 4 minutes until golden brown. Halve the baguettes and spread the pesto on both insides.
Using a fork, flatten the garlic cloves on the inside of the baguettes. Spread the grilled tomatoes, eggplant and zucchini slices, peppers and planted.pulled on the baguettes and best serve warm.