diff --git a/src/app/features/store/pages/account-page/account-layout/account-layout.html b/src/app/features/store/pages/account-page/account-layout/account-layout.html
new file mode 100644
index 0000000..bf677af
--- /dev/null
+++ b/src/app/features/store/pages/account-page/account-layout/account-layout.html
@@ -0,0 +1,6 @@
+
diff --git a/src/app/features/store/pages/account-page/account-layout/account-layout.scss b/src/app/features/store/pages/account-page/account-layout/account-layout.scss
new file mode 100644
index 0000000..8d9f665
--- /dev/null
+++ b/src/app/features/store/pages/account-page/account-layout/account-layout.scss
@@ -0,0 +1,16 @@
+.account-layout {
+ display: flex;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 40px 20px;
+ gap: 40px;
+ background-color: #f7f7f7;
+ min-height: calc(100vh - 100px);
+}
+.account-sidebar {
+ width: 250px;
+ flex-shrink: 0;
+}
+.account-content {
+ flex: 1;
+}
diff --git a/src/app/features/store/pages/account-page/account-layout/account-layout.ts b/src/app/features/store/pages/account-page/account-layout/account-layout.ts
index 36f7686..90974f3 100644
--- a/src/app/features/store/pages/account-page/account-layout/account-layout.ts
+++ b/src/app/features/store/pages/account-page/account-layout/account-layout.ts
@@ -6,31 +6,7 @@ import { AccountSidebar } from '../components/account-sidebar/account-sidebar';
selector: 'app-account-layout',
standalone: true,
imports: [RouterOutlet, AccountSidebar],
- template: `
-
- `,
- styles: `
- .account-layout {
- display: flex;
- max-width: 1200px;
- margin: 0 auto;
- padding: 40px 20px;
- gap: 40px;
- background-color: #f7f7f7;
- min-height: calc(100vh - 100px);
- }
- .account-sidebar {
- width: 250px;
- flex-shrink: 0;
- }
- .account-content {
- flex: 1;
- }
- `,
+ templateUrl: './account-layout.html',
+ styleUrl: './account-layout.scss',
})
export class AccountLayout {}
diff --git a/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.html b/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.html
new file mode 100644
index 0000000..5750034
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.html
@@ -0,0 +1,8 @@
+
diff --git a/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.scss b/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.scss
new file mode 100644
index 0000000..e44aad8
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.scss
@@ -0,0 +1,34 @@
+.sidebar-container {
+ display: flex;
+ flex-direction: column;
+}
+.sidebar-title {
+ font-size: 16px;
+ font-weight: bold;
+ color: #1a1a1a;
+ margin-bottom: 12px;
+}
+.divider {
+ height: 1px;
+ background-color: #e0e0e0;
+ margin-bottom: 20px;
+}
+.sidebar-nav {
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+}
+.nav-link {
+ text-decoration: none;
+ color: #888;
+ font-size: 14px;
+ font-weight: 500;
+ transition: color 0.2s;
+}
+.nav-link:hover {
+ color: #5a5a5a;
+}
+.nav-link.active {
+ color: #5b75ff; /* Blue color matching the image */
+ font-weight: 600;
+}
diff --git a/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.ts b/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.ts
index 524d427..a379049 100644
--- a/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.ts
+++ b/src/app/features/store/pages/account-page/components/account-sidebar/account-sidebar.ts
@@ -5,51 +5,7 @@ import { RouterLink, RouterLinkActive } from '@angular/router';
selector: 'app-account-sidebar',
standalone: true,
imports: [RouterLink, RouterLinkActive],
- template: `
-
- `,
- styles: `
- .sidebar-container {
- display: flex;
- flex-direction: column;
- }
- .sidebar-title {
- font-size: 16px;
- font-weight: bold;
- color: #1a1a1a;
- margin-bottom: 12px;
- }
- .divider {
- height: 1px;
- background-color: #e0e0e0;
- margin-bottom: 20px;
- }
- .sidebar-nav {
- display: flex;
- flex-direction: column;
- gap: 16px;
- }
- .nav-link {
- text-decoration: none;
- color: #888;
- font-size: 14px;
- font-weight: 500;
- transition: color 0.2s;
- }
- .nav-link:hover {
- color: #5a5a5a;
- }
- .nav-link.active {
- color: #5b75ff; /* Blue color matching the image */
- font-weight: 600;
- }
- `,
+ templateUrl: './account-sidebar.html',
+ styleUrl: './account-sidebar.scss',
})
export class AccountSidebar {}
diff --git a/src/app/features/store/pages/account-page/components/profile-form/profile-form.html b/src/app/features/store/pages/account-page/components/profile-form/profile-form.html
new file mode 100644
index 0000000..e703057
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/profile-form/profile-form.html
@@ -0,0 +1,56 @@
+
diff --git a/src/app/features/store/pages/account-page/components/profile-form/profile-form.scss b/src/app/features/store/pages/account-page/components/profile-form/profile-form.scss
new file mode 100644
index 0000000..2350e4f
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/profile-form/profile-form.scss
@@ -0,0 +1,24 @@
+.profile-form {
+ display: flex;
+ flex-direction: column;
+ gap: 16px;
+ max-width: 500px;
+}
+.form-group {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+}
+.form-group label {
+ font-size: 14px;
+ color: #888;
+}
+.form-actions {
+ display: flex;
+ gap: 12px;
+ margin-top: 16px;
+}
+.action-btn {
+ flex: 1;
+ display: block;
+}
diff --git a/src/app/features/store/pages/account-page/components/profile-form/profile-form.ts b/src/app/features/store/pages/account-page/components/profile-form/profile-form.ts
index 81c2ffc..3301877 100644
--- a/src/app/features/store/pages/account-page/components/profile-form/profile-form.ts
+++ b/src/app/features/store/pages/account-page/components/profile-form/profile-form.ts
@@ -7,90 +7,8 @@ import { ButtonComponent } from '../../../../../../shared/components/button/butt
selector: 'app-profile-form',
standalone: true,
imports: [ReactiveFormsModule, InputComponent, ButtonComponent],
- template: `
-
- `,
- styles: `
- .profile-form {
- display: flex;
- flex-direction: column;
- gap: 16px;
- max-width: 500px;
- }
- .form-group {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .form-group label {
- font-size: 14px;
- color: #888;
- }
- .form-actions {
- display: flex;
- gap: 12px;
- margin-top: 16px;
- }
- .action-btn {
- flex: 1;
- display: block;
- }
- `,
+ templateUrl: './profile-form.html',
+ styleUrl: './profile-form.scss',
})
export class ProfileForm {
profileForm: FormGroup;
diff --git a/src/app/features/store/pages/account-page/components/purchase-list-item/purchase-list-item.html b/src/app/features/store/pages/account-page/components/purchase-list-item/purchase-list-item.html
new file mode 100644
index 0000000..351c8de
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/purchase-list-item/purchase-list-item.html
@@ -0,0 +1,9 @@
+
+
+ Compra {{ purchase.id }}.
+ Fecha de compra: {{ purchase.date }}
+
+
+ ›
+
+
diff --git a/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.html b/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.html
new file mode 100644
index 0000000..cfb45e9
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.html
@@ -0,0 +1,6 @@
+
diff --git a/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.scss b/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.scss
new file mode 100644
index 0000000..5cda089
--- /dev/null
+++ b/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.scss
@@ -0,0 +1,5 @@
+.purchase-list-container {
+ display: flex;
+ flex-direction: column;
+ max-width: 600px;
+}
diff --git a/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.ts b/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.ts
index f367e93..4211e40 100644
--- a/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.ts
+++ b/src/app/features/store/pages/account-page/components/purchase-list/purchase-list.ts
@@ -6,21 +6,8 @@ import { PurchaseListItem } from '../purchase-list-item/purchase-list-item';
selector: 'app-purchase-list',
standalone: true,
imports: [CommonModule, PurchaseListItem],
- template: `
-
- `,
- styles: `
- .purchase-list-container {
- display: flex;
- flex-direction: column;
- max-width: 600px;
- }
- `,
+ templateUrl: './purchase-list.html',
+ styleUrl: './purchase-list.scss',
})
export class PurchaseList {
purchases = [
diff --git a/src/app/features/store/pages/account-page/pages/profile-page/profile-page.html b/src/app/features/store/pages/account-page/pages/profile-page/profile-page.html
new file mode 100644
index 0000000..81292cf
--- /dev/null
+++ b/src/app/features/store/pages/account-page/pages/profile-page/profile-page.html
@@ -0,0 +1,4 @@
+
diff --git a/src/app/features/store/pages/account-page/pages/profile-page/profile-page.scss b/src/app/features/store/pages/account-page/pages/profile-page/profile-page.scss
new file mode 100644
index 0000000..5097d4d
--- /dev/null
+++ b/src/app/features/store/pages/account-page/pages/profile-page/profile-page.scss
@@ -0,0 +1,10 @@
+.page-container {
+ display: flex;
+ flex-direction: column;
+}
+.page-title {
+ font-size: 16px;
+ font-weight: bold;
+ color: #888;
+ margin-bottom: 24px;
+}
diff --git a/src/app/features/store/pages/account-page/pages/profile-page/profile-page.ts b/src/app/features/store/pages/account-page/pages/profile-page/profile-page.ts
index ee4a8b8..d400ed8 100644
--- a/src/app/features/store/pages/account-page/pages/profile-page/profile-page.ts
+++ b/src/app/features/store/pages/account-page/pages/profile-page/profile-page.ts
@@ -5,23 +5,7 @@ import { ProfileForm } from '../../components/profile-form/profile-form';
selector: 'app-profile-page',
standalone: true,
imports: [ProfileForm],
- template: `
-
- `,
- styles: `
- .page-container {
- display: flex;
- flex-direction: column;
- }
- .page-title {
- font-size: 16px;
- font-weight: bold;
- color: #888;
- margin-bottom: 24px;
- }
- `,
+ templateUrl: './profile-page.html',
+ styleUrl: './profile-page.scss',
})
export class ProfilePage {}
diff --git a/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.html b/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.html
new file mode 100644
index 0000000..aa40a47
--- /dev/null
+++ b/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.html
@@ -0,0 +1,4 @@
+
diff --git a/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.scss b/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.scss
new file mode 100644
index 0000000..5097d4d
--- /dev/null
+++ b/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.scss
@@ -0,0 +1,10 @@
+.page-container {
+ display: flex;
+ flex-direction: column;
+}
+.page-title {
+ font-size: 16px;
+ font-weight: bold;
+ color: #888;
+ margin-bottom: 24px;
+}
diff --git a/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.ts b/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.ts
index f34117f..7bd4045 100644
--- a/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.ts
+++ b/src/app/features/store/pages/account-page/pages/purchases-page/purchases-page.ts
@@ -5,23 +5,7 @@ import { PurchaseList } from '../../components/purchase-list/purchase-list';
selector: 'app-purchases-page',
standalone: true,
imports: [PurchaseList],
- template: `
-
- `,
- styles: `
- .page-container {
- display: flex;
- flex-direction: column;
- }
- .page-title {
- font-size: 16px;
- font-weight: bold;
- color: #888;
- margin-bottom: 24px;
- }
- `,
+ templateUrl: './purchases-page.html',
+ styleUrl: './purchases-page.scss',
})
export class PurchasesPage {}