Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Added blog card component. #62 #172

Merged
merged 4 commits into from
May 28, 2018
Merged

Conversation

KhaldiAmer
Copy link
Contributor

@KhaldiAmer KhaldiAmer commented May 19, 2018

This resolves #62
blogCard

Copy link
Contributor

@jonthomp jonthomp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KhaldiAmer thanks for adding this in, before we review would you mind pulling and merging the latest version from master?

@@ -0,0 +1,28 @@
## Store Component
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get rid of this file and replace it with the new documentation system - see any of the <Component Name>.examples.md files

aside,
authorName,
date,
imgSrc = " ",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why is the default for imgSrc and avatarImgSrc is a space and not ""?

style={{ backgroundImage: `url(${avatarImgSrc}` }}
/>
<div>
<a href="./profile.html" className="text-default">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The href for this should be a prop in my opinion, shouldn't always point to ./profile.html

style={{ backgroundImage: `url(${avatarImgSrc}` }}
/>
<div>
<a href="./profile.html" className="text-default">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above with my href comment

</a>
<Card.Body className="d-flex flex-column">
<h4>
{""}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I'm aware, an empty string will have no effect (feel free to correct me if I'm wrong). If it has no effect we should probably just remove it.

<BlogCard
aside
title=""
titleUrl=""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just add in some real values here to some of these fields. Then we can add this component to the documentation config file and regenerate the documentation.

@AaronCoplan
Copy link
Contributor

Just two more small things then this should be good to merge! Thanks @KhaldiAmer !

@AaronCoplan AaronCoplan merged commit c1a3be4 into tabler:master May 28, 2018
@AaronCoplan AaronCoplan mentioned this pull request May 30, 2018
@jonthomp
Copy link
Contributor

jonthomp commented Jun 1, 2018

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build blog card component
3 participants