Projects on GitHub: The advantage is that the hiring managers can see the source code. In comparison to a portfolio website a typical project on GitHub is rather a full-blown app with state management, API requests and so on. So it's much closer to a real-world application and can prove your production skills much better
Create blog posts (or other content): Some hiring managers explicitly said that this would be a huge advantage. Here a quote: "Blog posts are extremely valuable. I would prefer a non-experienced person with a bunch of articles over a person with less than 1 year of experience" The advantage of blog posts is that you show your thought process and communication skills. That's very important to hiring managers. You don't even need a blog but can just start writing on dev.to or so.
Write detailed READMEs for your portfolio projects on GitHub. That's actually somewhat similar to blog posts but very easy to do. So write READMEs in any case. You can add details about your technical decisions, the code structure. You can add screenshots and links to the most impressive code. Mention anything that makes you look more professional.
Optimizing your resume is the last tip. That's important because the resume is the first thing a hiring manager sees. If it isn't good they won't even look at your website. So first invest some time into your resume before focusing too much on a portfolio website.
If you have any thoughts, feedback, or a different opinion I'd be happy to hear about it. Just drop a comment below