diff --git a/src/assets/app.scss b/src/assets/app.scss index 947fcd4..9a59d33 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -6,9 +6,10 @@ /** * Components */ -input[type=text], input[type=number], textarea { +input[type=text], input[type=number], input[type=url], textarea { @apply appearance-none border leading-tight focus:outline-none; font-family: monospace; + padding: 2px; } input:disabled, textarea:disabled { diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index c19165d..3fa17e0 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -36,6 +36,7 @@ export default { 'str_to_lower_upper': 'Str to lower/upper', 'str_remove_duplicate_lines': 'Str remove duplicate lines', 'url_encode_decode': 'URL encode/decode', + 'url_query_viewer': 'URL query viewer', }, 'PHP': { 'str_to_php_array': 'Str to PHP array', diff --git a/src/router/index.js b/src/router/index.js index 8f0c0a7..838b29a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -60,6 +60,11 @@ const router = createRouter({ name: 'url_encode_decode', component: () => import('../views/UrlEncodeDecode.vue'), }, + { + path: '/url_query_viewer', + name: 'url_query_viewer', + component: () => import('../views/UrlQueryViewer.vue'), + }, /** * JSON manipulation diff --git a/src/views/UrlQueryViewer.vue b/src/views/UrlQueryViewer.vue new file mode 100644 index 0000000..4420e77 --- /dev/null +++ b/src/views/UrlQueryViewer.vue @@ -0,0 +1,90 @@ + + + + + \ No newline at end of file