CodeTheChangeUBC / redcross

1 stars 1 forks source link

Blogs module template #10

Open omzmarlon opened 7 years ago

omzmarlon commented 7 years ago

image uploaded from ios 2

omzmarlon commented 7 years ago

Build up the template first(meaning without too much TS code). This template is not the "correct" template, you could use your imagination!

tomyang729 commented 7 years ago

Just to clarify the scope of this issue. It includes the templates for a single blog post, the editing modal (I guess it is probably a modal), and the list of all blogs?

omzmarlon commented 7 years ago

Yes I think so

madeleinefrancis commented 7 years ago

@omzmarlon So are you thinking the template in Blog.ng.html will be for the entire blog page or just one blog post? For now I'm assuming for one post

omzmarlon commented 7 years ago

That depends on you, look for components that should be extracted out instead of stuff everything inside a giant component. One thing to do this is to have a blog component and a blog list component. But there could be other common components to be extracted!

omzmarlon commented 7 years ago

We can discuss about this when u make ur first PR