-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs and about pages in demo website
Signed-off-by: Parajuli Kiran <[email protected]>
- Loading branch information
1 parent
7b3860b
commit 71bb83a
Showing
10 changed files
with
350 additions
and
43 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { createRouter, createWebHashHistory } from "vue-router" | ||
|
||
const routes = [ | ||
{ path: '/', component: () => import("@/views/Home") }, | ||
{ path: '/about', component: () => import("@/views/About") }, | ||
{ path: '/demo', component: () => import("@/views/Demo") }, | ||
] | ||
|
||
const router = createRouter({ | ||
// 4. Provide the history implementation to use. We are using the hash history for simplicity here. | ||
history: createWebHashHistory(), | ||
routes, // short for `routes: routes` | ||
}) | ||
|
||
export default router |
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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<template> | ||
<div class="about"> | ||
<h1>About</h1> | ||
<div class="hr" /> | ||
<div> | ||
<p><strong>Name:</strong> HtmlMark</p> | ||
<p><strong>Version:</strong> 0.2.0</p> | ||
<p><strong>Description</strong> A very lightweight markdown parser.</p> | ||
<p><strong>Homepage:</strong> <a href="https://kiranparajuli589.github.io/htmlmark/">https://kiranparajuli589.github.io/htmlmark/</a></p> | ||
<p><strong>Github:</strong> <a href="https://github.com/kiranparajuli589/htmlmark">https://github.com/kiranparajuli589/htmlmark</a></p> | ||
<p><strong>Issues:</strong> <a href="https://github.com/kiranparajuli589/htmlmark/issues">https://github.com/kiranparajuli589/htmlmark/issues</a></p> | ||
<p><strong>NPM:</strong> <a href="https://www.npmjs.com/package/htmlmark">https://www.npmjs.com/package/htmlmark</a></p> | ||
<p><strong>Author:</strong> <a href="https://kiranparajuli.com.np">Kiran Parajuli</a></p> | ||
<p><strong>License:</strong> GPL-3.0</p> | ||
</div> | ||
</div> | ||
</template> | ||
<style scoped lang="scss"> | ||
.about { | ||
padding: 2rem; | ||
max-width: 700px; | ||
margin: 0 auto; | ||
height: calc(100vh - 55px - 28px); | ||
.hr { | ||
height: 2px; | ||
background-color: #ccc; | ||
margin: .2rem 0 1rem 0 | ||
} | ||
strong { | ||
font-weight: 600; | ||
} | ||
} | ||
</style> |
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
Oops, something went wrong.