#repeating gradient in create next app on new routes

15 messages ยท Page 1 of 1 (latest)

narrow fossilBOT
#

๐Ÿ”Ž This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

๐Ÿ•ต๏ธ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

โœ… You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

noble marlin
#

how it should look

#

on new route i see this

this is from bare create next app with few modifications

supple berry
#

Seen this before i think it's in the globals.css

noble marlin
#

going to close this

#
export default function About() {
  return (
    <>
      <main className="flex min-h-screen flex-col items-center justify-between p-20">
        <h1 className="text-white">about</h1>
      </main>
    </>
  )
}
#

i had to wrap the page with those styles too

narrow fossilBOT
#
โœ… Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer

[Click here](#1235913406360457296 message)

supple berry
#

Do you want the keep that auto gradient?
If not just delete it from bodyin globals.css.

#

than you don't have to wrap

noble marlin
#

yea i want the gradient for now

#

its just interesting how it repeats without that main wrapper

#

i was confused about that ๐Ÿ™‚

supple berry
#

yea i was once too