Cleaned up array syntax
Nested h1 for readability
Moved if statement to route
Replaced with ternary operator