Hey man, you can have carbs with every meal you like at the end it’s all about calorie intake.
A good recommendation for pre workout is to take 1g of carbs per kg and 0.5g of protein per kg. The fat should definitely be kept on the lower end, especially if you’re planning to workout soon. I recommend taking the meal about 1 hour before the workout and adjust it from there with own experience. A good pre workout meal example would be some protein oats. As for post workout: The post workout meal should be consumed until 5 hours after the pre workout meal. The post workout meal isn’t that fragile anymore, meaning you could also eat some fats. A protein shake isn’t a must but if you prefer taking one you should. If you have your post workout within the timeframe and there’s already a good amount of protein in it (again I would recommend 0.5g protein per Kg) the shake is not necessary.