fullstack-chat / fsc-core

3 stars 1 forks source link

Convert home page to Tailwind #30

Open bmorrisondev opened 1 year ago

bmorrisondev commented 1 year ago

Lots of OG CSS in the global styles file.

ryandotfurrer commented 1 year ago

I began working on this today. Let me know if you want me to continue working in this direction. I fear I may be making this more complicated than it needs to be.

  1. I put the body styles in global.css on the main element in the index.tsx file.
  2. I started by creating a couple of template components that contain the reusable styles so they don't have to be re-declared every time another p or a is on the page.

You can see those commits below. I was planning on completing all before issuing a PR, but let me know if you would rather I do one sooner than that.

  1. Add body styles to the main element in the index.tsx file
  2. Second commit for the body styles
  3. H1 Component Creation
  4. ExternalLink Component Creation
bmorrisondev commented 1 year ago

Ok a few things:

type Props = {
  children: ReactNode
}

function MyComp({ children }: Props) {
  <div>
    { children }
  </div>
}
bmorrisondev commented 1 year ago

@ryanfurrer hold on this for now, looking to implement a completely update design.

ryandotfurrer commented 1 year ago

@ryanfurrer hold on this for now, looking to implement a completely update design.

Can do. I would be happy to jump back in or help implement the redesign if my schedule allows it.