-
- {{ ucTitle }}
-
+
+
+
+
Share care together
+
+
+ {{ $t('guest.login') }}
+ {{ $t('guest.register') }}
+
+
+ {{ $t('portal.title') }}
+
+
-
-
+
+
diff --git a/resources/js/views/Public/Home/Sections/InfoSection.vue b/resources/js/components/layout/sections/InfoSection.vue
similarity index 91%
rename from resources/js/views/Public/Home/Sections/InfoSection.vue
rename to resources/js/components/layout/sections/InfoSection.vue
index 7500618..9ca0267 100644
--- a/resources/js/views/Public/Home/Sections/InfoSection.vue
+++ b/resources/js/components/layout/sections/InfoSection.vue
@@ -4,7 +4,9 @@
@@ -21,7 +23,7 @@
diff --git a/resources/js/components/nav/NavBar.vue b/resources/js/components/nav/NavBar.vue
index 3a09c3e..0ad3d06 100644
--- a/resources/js/components/nav/NavBar.vue
+++ b/resources/js/components/nav/NavBar.vue
@@ -1,27 +1,33 @@
-
+
-
+
+ src="/images/logo.svg"
+ height="40"
+ alt="Parently"
+ style="object-fit: contain; object-position: left center"
+ />
-
-
- Home
- About
- How It Works
- Portal
+ {{ $t("nav.home") }}
+ {{ $t("nav.about") }}
+ {{
+ $t("nav.how-it-works")
+ }}
+ {{
+ $t("nav.portal")
+ }}
+ {{
+ $t("nav.login")
+ }}
-
-
@@ -79,19 +85,18 @@
diff --git a/resources/js/routes/PublicRoutes.js b/resources/js/routes/PublicRoutes.js
index 4dc8540..8c8ec09 100644
--- a/resources/js/routes/PublicRoutes.js
+++ b/resources/js/routes/PublicRoutes.js
@@ -1,51 +1,44 @@
-const ApiContentPage = () => import('@/components/layout/ApiContentPage.vue');
-
+const ApiContentPage = () => import("@/components/layout/ApiContentPage.vue");
+const DefaultPage = () => import("@/views/Public/Pages/Default.vue");
export default [
- {
- path: '',
- name: 'home',
- component: () =>
- import("@/views/Public/Home/Home.vue"),
- },
- {
- path: 'about',
- name: 'about',
- component: ApiContentPage,
- },
- {
- path: 'how-it-works',
- name: 'how-it-works',
- component: () =>
- import("@/views/Public/HowItWorks/HowItWorks.vue"),
- },
- {
- path: 'login',
- name: 'login',
- component: () =>
- import("@/views/Auth/Login.vue"),
- },
- {
- path: 'register',
- name: 'register',
- component: () =>
- import("@/views/Auth/Register.vue"),
- },
- {
- path: 'forgot-password',
- name: 'forgot-password',
- component: () =>
- import("@/views/Auth/ForgotPassword.vue"),
- },
- {
- path: 'reset-password',
- name: 'reset-password',
- component: () =>
- import("@/views/Auth/ResetPassword.vue"),
- },
- {
- path: 'verify-email',
- name: 'verify-email',
- component: () =>
- import("@/views/Auth/VerifyEmail.vue"),
- }
-]
+ {
+ path: "",
+ name: "home",
+ component: () => import("@/views/Public/Home/Home.vue"),
+ },
+ {
+ path: "about",
+ name: "about",
+ component: DefaultPage,
+ },
+ {
+ path: "how-it-works",
+ name: "how-it-works",
+ component: DefaultPage,
+ },
+ {
+ path: "login",
+ name: "login",
+ component: () => import("@/views/Auth/Login.vue"),
+ },
+ {
+ path: "register",
+ name: "register",
+ component: () => import("@/views/Auth/Register.vue"),
+ },
+ {
+ path: "forgot-password",
+ name: "forgot-password",
+ component: () => import("@/views/Auth/ForgotPassword.vue"),
+ },
+ {
+ path: "reset-password",
+ name: "reset-password",
+ component: () => import("@/views/Auth/ResetPassword.vue"),
+ },
+ {
+ path: "verify-email",
+ name: "verify-email",
+ component: () => import("@/views/Auth/VerifyEmail.vue"),
+ },
+];
diff --git a/resources/js/views/Public/About/About.vue b/resources/js/views/Public/About/About.vue
index 7488ee9..79cdc1d 100644
--- a/resources/js/views/Public/About/About.vue
+++ b/resources/js/views/Public/About/About.vue
@@ -1,27 +1,26 @@
-
+
diff --git a/resources/js/views/Public/Home/Home.vue b/resources/js/views/Public/Home/Home.vue
index 78409a1..e4c314b 100644
--- a/resources/js/views/Public/Home/Home.vue
+++ b/resources/js/views/Public/Home/Home.vue
@@ -1,61 +1,64 @@
-
+
-
+
diff --git a/resources/js/views/Public/Home/Sections/HeroSection.vue b/resources/js/views/Public/Home/Sections/HeroSection.vue
deleted file mode 100644
index 86d2b65..0000000
--- a/resources/js/views/Public/Home/Sections/HeroSection.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
Share care together
-
-
- {{ $t('guest.login') }}
- {{ $t('guest.register') }}
-
-
- {{ $t('portal.title') }}
-
-
-
-
-
-
-
diff --git a/resources/js/views/Public/HowItWorks/HowItWorks.vue b/resources/js/views/Public/HowItWorks/HowItWorks.vue
deleted file mode 100644
index dca7c4e..0000000
--- a/resources/js/views/Public/HowItWorks/HowItWorks.vue
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ page }}
-
-
diff --git a/resources/js/views/Public/Pages/Default.vue b/resources/js/views/Public/Pages/Default.vue
new file mode 100644
index 0000000..4135b15
--- /dev/null
+++ b/resources/js/views/Public/Pages/Default.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{ slug }}
+
+
+
+
diff --git a/resources/pages/en/about.json b/resources/pages/en/about.json
index 393897a..316cc1d 100644
--- a/resources/pages/en/about.json
+++ b/resources/pages/en/about.json
@@ -1,5 +1,16 @@
-[
- "Some text about Parently\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"",
- "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"",
- "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
-]
+{
+ "sections": [
+ {
+ "type": "title-section",
+ "title": "About Parently"
+ },
+ {
+ "type": "text-section",
+ "content": [
+ "Some text about Parently\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"",
+ "\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"",
+ "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
+ ]
+ }
+ ]
+}
diff --git a/resources/pages/en/how-it-works.json b/resources/pages/en/how-it-works.json
index e271cb2..e7b1cc5 100644
--- a/resources/pages/en/how-it-works.json
+++ b/resources/pages/en/how-it-works.json
@@ -1,11 +1,11 @@
{
"sections": [
{
- "type": "HeroSection",
+ "type": "title-section",
"title": "How It Works"
},
{
- "type": "TabbedSection",
+ "type": "tabbed-section",
"tabs": [
{
"title": "How It Works",