% {spa_title, spa_description} = case @page do "feed" -> {"Mixer · Feed", "See the latest posts from everyone on Mixer."} "tweet" -> {"Mixer · Post", "Read this post and join the conversation on Mixer."} "following" -> {"Mixer · Following", "Posts from the people you follow on Mixer."} "profile" -> {"Mixer · My Profile", "View and manage your Mixer profile."} "users" -> {"Mixer · People", "Discover and follow people on Mixer."} "user-detail" -> {"Mixer · Profile", "View this user's profile and posts on Mixer."} _ -> {"Mixer", "A social feed built in Elixir."} end %> <.live_title default="Mixer"> {case @page do "feed" -> "Mixer · Feed" "tweet" -> "Mixer · Post" "following" -> "Mixer · Following" "profile" -> "Mixer · My Profile" "users" -> "Mixer · People" "user-detail" -> "Mixer · Profile" _ -> "Mixer" end}
{@inner_content}