Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dqunbp committed Jan 10, 2024
0 parents commit fce7683
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 0 deletions.
31 changes: 31 additions & 0 deletions assets/index-4YoSXlt2.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-O9bfoJKQ.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Qgis navigation component demo</title>
<script type="module" crossorigin src="/assets/index-4YoSXlt2.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-O9bfoJKQ.css">
</head>
<body>
<qg-top-nav></qg-top-nav>
</body>
</html>
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions nav-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"logo": {
"icon": "/logo.png",
"link": "/"
},
"navigation": [
{
"type": "link",
"settings": {
"name": "Foo",
"href": "/foo",
"activeTest": "/foo"
}
},
{
"type": "link",
"settings": {
"name": "Bar",
"href": "/bar",
"activeTest": "/bar"
}
},
{
"type": "menu",
"settings": {
"name": "I am menu",
"child": [
{
"type": "link",
"settings": {
"href": "https://example.com"
}
},
{
"type": "button",
"settings": {
"href": "https://example.com"
}
}
]
}
}
]
}

0 comments on commit fce7683

Please sign in to comment.