It was originally intended as a church for Louis XV , but is now a secular mausoleum of some of the nation 's greatest heroes .
While it is now a secular mausoleum of some of the nation 's greatest heroes , it was originally intended as a church for Louis XV .