diff --git a/components/EditPage.vue b/components/EditPage.vue
new file mode 100644
index 0000000..c235fec
--- /dev/null
+++ b/components/EditPage.vue
@@ -0,0 +1,29 @@
+
+
+
+
+ Edit this page on GitHub
+
+
+
+
+
\ No newline at end of file
diff --git a/config/site-config.ts b/config/site-config.ts
index d6d3c37..a540ed0 100644
--- a/config/site-config.ts
+++ b/config/site-config.ts
@@ -1,6 +1,7 @@
const baseUrl = 'https://github.com/chakra-ui/chakra-ui-vue-next';
const siteUrl = 'https://vue.chakra-ui.com';
+const documentationUrl = 'https://github.com/chakra-ui/vue-docs/blob/main';
const siteDescription =
'Simple, Modular and Accessible UI Components for your Vue Applications.';
const siteName = 'Chakra UI Vue | Build accessible Vue apps with speed';
@@ -54,4 +55,4 @@ const siteConfig = {
};
export default siteConfig;
-export { baseUrl, siteDescription, siteLang, siteName, siteUrl };
+export { baseUrl, documentationUrl, siteDescription, siteLang, siteName, siteUrl };
diff --git a/layouts/default.vue b/layouts/default.vue
index a303a12..9d6a46b 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -2,48 +2,37 @@
import { chakra, useColorModeValue } from '@chakra-ui/vue-next';
import TopNavigation from '~/components/navigation/top-navigation.vue';
import Sidebar from '~/components/navigation/sidebar.vue';
+import { useRoute } from 'vue-router';
+
/**
* Styling
*/
const color = useColorModeValue('gray.700', 'white');
+
+/**
+ * Edit pages/content on github dynamic route for edit URL at page footer
+ */
+const route = computed(() => useRoute());
+const path = computed(() => route.value.path);
+
-
+
-
+
-
+
-
-
- Edit this page on GitHub
-
+