magento 2.4 cms admin page blank page code example
Example: blank admin page magento 2.3
$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));