This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Assignment from "./Assignment.js"; | |
| import AssignmentTags from "./AssignmentTags.js"; | |
| import Panel from "./Panel.js"; | |
| export default { | |
| components: { Assignment, AssignmentTags, Panel }, | |
| template: ` | |
| <Panel v-show="assignments.length" class="w-60"> | |
| <div class="flex justify-between items-start"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Assignment from "./Assignment.js"; | |
| import AssignmentTags from "./AssignmentTags.js"; | |
| export default { | |
| components: { Assignment, AssignmentTags }, | |
| template: ` | |
| <section v-show="assignments.length" class="w-60"> | |
| <div class="flex justify-between items-start"> | |
| <h2 class="font-bold mb-2"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import AssignmentList from "./AssignmentList.js"; | |
| import AssignmentCreate from "./AssignmentCreate.js"; | |
| export default { | |
| components: { AssignmentList, AssignmentCreate }, | |
| template: ` | |
| <section class="space-y-6"> | |
| <assignment-list :assignments="filters.inProgress" title="In Progress"></assignment-list> | |
| <assignment-list :assignments="filters.completed" title="Completed"></assignment-list> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Assignment from "./Assignment.js"; | |
| import AssignmentTags from "./AssignmentTags.js"; | |
| export default { | |
| components: { Assignment, AssignmentTags }, | |
| template: ` | |
| <section v-show="assignments.length"> | |
| <h2 class="font-bold mb-2"> | |
| {{ title }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Player { | |
| public function __construct(public string $name, public int $pennies) | |
| { | |
| // | |
| } | |
| public function givePenny(Player $p2): void | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Assignment from "./Assignment.js"; | |
| export default { | |
| components: { Assignment }, | |
| template: ` | |
| <section v-show="assignments.length"> | |
| <h2 class="font-bold mb-2"> | |
| {{ title }} | |
| <span>({{ assignments.length }})</span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Assignments from "./Assignments.js"; | |
| export default { | |
| components: { Assignments }, | |
| template: ` | |
| <assignments></assignments> | |
| `, | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Assignments from "./Assignments.js"; | |
| export default { | |
| components: { Assignments }, | |
| template: ` | |
| <assignments></assignments> | |
| `, | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import AppButton from "./AppButton.js"; | |
| export default { | |
| components: { | |
| 'app-button': AppButton | |
| } | |
| }; |