Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add donate item to the website menu
- Loading branch information
1 parent
a6a596a
commit aa52e2b
Showing
4 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<div class="app-menu"> | ||
<base-menu menu-name="appMenu" /> | ||
<base-menu menu-name="appMenu"> | ||
<list-item> | ||
<base-link href="https://www.buymeacoffee.com/gloriouscodes"> | ||
Donate | ||
</base-link> | ||
</list-item> | ||
</base-menu> | ||
</div> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
import '@styles/app-menu.styl'; | ||
import baseMenu from '@scripts/base/components/base-menu/base-menu'; | ||
import baseLink from '@scripts/base/components/base-link/base-link'; | ||
import listItem from '@scripts/base/components/list-item/list-item'; | ||
import template from './app-menu.html'; | ||
|
||
export default { | ||
name: 'app-menu', | ||
components: { | ||
baseMenu | ||
baseMenu, | ||
baseLink, | ||
listItem | ||
}, | ||
template | ||
}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ | |
{{ item.label }} | ||
</base-link> | ||
</list-item> | ||
<slot></slot> | ||
</list> | ||
</nav> |
This file contains 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