| | |
| | | <template> |
| | | <li> |
| | | <div> |
| | | <header> |
| | | <h3>{{ title }}</h3> |
| | | <button>Delete</button> |
| | | </header> |
| | | </div> |
| | | <p>{{ description }}</p> |
| | | <nav> |
| | | <a :href="link">View Resource</a> |
| | | </nav> |
| | | </li> |
| | | <li> |
| | | <base-card> |
| | | <header> |
| | | <h3>{{ title }}</h3> |
| | | <button>Delete</button> |
| | | </header> |
| | | <p>{{ description }}</p> |
| | | <nav> |
| | | <a :href="link">View Resource</a> |
| | | </nav> |
| | | </base-card> |
| | | </li> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | props: ['title', 'description', 'link'] |
| | | } |
| | | props: ['title', 'description', 'link'], |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped> |
| | |
| | | a:active { |
| | | color: #c89300; |
| | | } |
| | | </style> |
| | | </style> |