Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adding versioned directory(v0 and v1) #319

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions v0/src/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<template>
<router-view />
</template>

<script lang="ts" setup>
// import { defineComponent } from 'vue'

// export default defineComponent({
// name: 'App',

// components: {
// HelloWorld,
// },

// data () {
// return {
// //
// }
// },
// })
</script>
236 changes: 236 additions & 0 deletions v0/src/assets/constants/Navbar/NAVBAR_DATA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
[
{
"id": "1",
"text": "project",
"spanClass": "caret",
"dropdownItems": [
{
"id": "1",
"item": "new_project",
"itemid": "newProject",
"attributes": []
},
{
"id": "2",
"item": "save_online",
"itemid": "save",
"attributes": []
},
{
"id": "3",
"item": "save_offline",
"itemid": "saveOffline",
"attributes": []
},
{
"id": "4",
"item": "open_offline",
"itemid": "createOpenLocalPrompt",
"attributes": []
},
{
"id": "5",
"item": "export_as_file",
"itemid": "ExportProject",
"attributes": []
},
{
"id": "6",
"item": "import_project",
"itemid": "ImportProject",
"attributes": []
},
{
"id": "7",
"item": "clear_project",
"itemid": "clearProject",
"attributes": []
},
{
"id": "8",
"item": "recover_project",
"itemid": "recoverProject",
"attributes": []
},
{
"id": "9",
"item": "preview_circuit",
"itemid": "fullViewOption",
"attributes": []
},
{
"id": "10",
"item": "view_previous_ui",
"itemid": "",
"attributes": [
{
"name": "onclick",
"value": "old_ui_redirect()"
}
]
}
]
},
{
"id": "2",
"text": "circuit",
"spanClass": "caret",
"dropdownItems": [
{
"id": "1",
"item": "new_circuit",
"itemid": "createNewCircuitScope",
"attributes": []
},
{
"id": "2",
"item": "new_verilog_module_html",
"itemid": "newVerilogModule",
"attributes": []
},
{
"id": "3",
"item": "insert_subcircuit",
"itemid": "createSubCircuitPrompt",
"attributes": []
}
]
},
{
"id": "3",
"text": "tools",
"spanClass": "caret",
"dropdownItems": [
{
"id": "1",
"item": "combinational_analysis_html",
"itemid": "createCombinationalAnalysisPrompt",
"attributes": []
},
{
"id": "2",
"item": "hex_bin_dec_converter_html",
"itemid": "bitconverter",
"attributes": []
},
{
"id": "3",
"item": "download_image",
"itemid": "createSaveAsImgPrompt",
"attributes": []
},
{
"id": "4",
"item": "themes",
"itemid": "colorThemes",
"attributes": []
},
{
"id": "5",
"item": "custom_shortcut",
"itemid": "customShortcut",
"attributes": []
},
{
"id": "6",
"item": "export_verilog",
"itemid": "generateVerilog",
"attributes": []
}
]
},
{
"id": "4",
"text": "help",
"spanClass": "caret",
"dropdownItems": [
{
"id": "1",
"item": "tutorial_guide",
"itemid": "showTourGuide",
"attributes": []
},
{
"id": "2",
"item": "user_manual",
"itemid": "",
"attributes": [
{
"name": "href",
"value": "https://docs.circuitverse.org"
},
{
"name": "target",
"value": "_blank"
},
{
"name": "role",
"value": "button"
},
{
"name": "aria-haspopup",
"value": "true"
},
{
"name": "aria-expanded",
"value": "false"
}
]
},
{
"id": "3",
"item": "learn_digital_logic",
"itemid": "",
"attributes": [
{
"name": "href",
"value": "https://learn.circuitverse.org"
},
{
"name": "target",
"value": "_blank"
},
{
"name": "role",
"value": "button"
},
{
"name": "aria-haspopup",
"value": "true"
},
{
"name": "aria-expanded",
"value": "false"
}
]
},
{
"id": "4",
"item": "discussion_forum",
"itemid": "",
"attributes": [
{
"name": "href",
"value": "https://circuitverse.org/forum"
},
{
"name": "target",
"value": "_blank"
},
{
"name": "role",
"value": "button"
},
{
"name": "aria-haspopup",
"value": "true"
},
{
"name": "aria-expanded",
"value": "false"
}
]
}
]
}
]
71 changes: 71 additions & 0 deletions v0/src/assets/constants/Navbar/USER_DATA.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
[
{
"id": "1",
"item": "dashboard",
"itemid": "",
"attributes": [
{
"name": "href",
"value": "/users/${:id}"
},
{
"name": "role",
"value": "button"
},
{
"name": "aria-haspopup",
"value": "true"
},
{
"name": "aria-expanded",
"value": "false"
}
]
},
{
"id": "2",
"item": "my_groups",
"itemid": "",
"attributes": [
{
"name": "href",
"value": "/users/${:id}/groups"
},
{
"name": "role",
"value": "button"
},
{
"name": "aria-haspopup",
"value": "true"
},
{
"name": "aria-expanded",
"value": "false"
}
]
},
{
"id": "3",
"item": "notifications",
"itemid": "",
"attributes": [
{
"name": "href",
"value": "/users/${:id}/notifications"
},
{
"name": "role",
"value": "button"
},
{
"name": "aria-haspopup",
"value": "true"
},
{
"name": "aria-expanded",
"value": "false"
}
]
}
]
Loading
Loading