diff --git a/app/Livewire/AboutUs/CardTypes/CardTypes.php b/app/Livewire/AboutUs/CardTypes/CardTypes.php
new file mode 100644
index 0000000..d49cb02
--- /dev/null
+++ b/app/Livewire/AboutUs/CardTypes/CardTypes.php
@@ -0,0 +1,13 @@
+ '',
+ 'type' => '',
+ 'description' => '',
+ 'image' => null,
+ 'terms_and_conditions' => '',
+ 'faqs' => '',
+ 'virtual_card_font_color' => '1',
+ 'bg_image' => null,
+ 'id_number' => '2',
+ 'id_number_description' => '',
+ ];
+ public $errors = [];
+
+ public function submit()
+ {
+ $this->validateForm();
+
+ $this->loading = true;
+ try {
+ $formData = new \GuzzleHttp\Psr7\MultipartStream([
+ [
+ 'name' => 'code',
+ 'contents' => $this->form['code'],
+ ],
+ [
+ 'name' => 'type',
+ 'contents' => $this->form['type'],
+ ],
+ [
+ 'name' => 'description',
+ 'contents' => $this->form['description'],
+ ],
+ [
+ 'name' => 'terms_and_conditions',
+ 'contents' => $this->form['terms_and_conditions'],
+ ],
+ [
+ 'name' => 'faqs',
+ 'contents' => $this->form['faqs'],
+ ],
+ [
+ 'name' => 'virtual_card_font_color',
+ 'contents' => $this->form['virtual_card_font_color'] == '2' ? '1' : '0',
+ ],
+ [
+ 'name' => 'id_number',
+ 'contents' => $this->form['id_number'] == '1' ? '1' : '0',
+ ],
+ [
+ 'name' => 'id_number_description',
+ 'contents' => $this->form['id_number_description'],
+ ],
+ [
+ 'name' => 'image',
+ 'contents' => $this->form['image'] ? fopen($this->form['image']->getPathname(), 'r') : '',
+ 'filename' => $this->form['image'] ? $this->form['image']->getClientOriginalName() : '',
+ ],
+ [
+ 'name' => 'bg_image',
+ 'contents' => $this->form['bg_image'] ? fopen($this->form['bg_image']->getPathname(), 'r') : '',
+ 'filename' => $this->form['bg_image'] ? $this->form['bg_image']->getClientOriginalName() : '',
+ ],
+ ]);
+
+ $response = Http::withHeaders(['Content-Type' => 'multipart/form-data; boundary=' . $formData->getBoundary()])
+ ->withBody($formData)
+ ->post('https://api.example.com/cardType');
+
+ if ($response->successful()) {
+ session()->flash('success', 'New record added.');
+ $this->redirect(route('card-types.list'));
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to create record: ' . $e->getMessage());
+ }
+ $this->loading = false;
+ }
+
+ public function validateForm()
+ {
+ $rules = [
+ 'form.code' => 'required|max:128',
+ 'form.type' => 'required|max:128',
+ 'form.description' => 'required|max:140',
+ 'form.image' => 'required',
+ 'form.virtual_card_font_color' => 'required',
+ 'form.bg_image' => 'required',
+ 'form.terms_and_conditions' => 'required|max:32000',
+ 'form.faqs' => 'required|max:32000',
+ 'form.id_number' => 'required',
+ 'form.id_number_description' => 'required_if:form.id_number,1|max:40',
+ ];
+
+ $messages = [
+ 'form.code.required' => 'Card Code is required!',
+ 'form.code.max' => 'Maximum character is 128.',
+ 'form.type.required' => 'Card Type Description is required!',
+ 'form.type.max' => 'Maximum character is 128.',
+ 'form.description.required' => 'Card Type Short Description is required!',
+ 'form.description.max' => 'Maximum character is 140.',
+ 'form.image.required' => 'Upload Card Type Image is required!',
+ 'form.virtual_card_font_color.required' => 'Virtual Card Font Color is required!',
+ 'form.bg_image.required' => 'Upload Card Type Cover Image is required!',
+ 'form.terms_and_conditions.required' => 'Terms and Condition is required!',
+ 'form.terms_and_conditions.max' => 'Maximum character is 32,000.',
+ 'form.faqs.required' => 'FAQs is required!',
+ 'form.faqs.max' => 'Maximum character is 32,000.',
+ 'form.id_number.required' => 'ID Number is required!',
+ 'form.id_number_description.required_if' => 'ID Number Description is required!',
+ 'form.id_number_description.max' => 'Maximum character is 40.',
+ ];
+
+ $this->errors = [];
+ try {
+ $this->validate($rules, $messages);
+ } catch (\Exception $e) {
+ $this->errors = collect($e->errors())->flatten()->toArray();
+ throw $e;
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.card-types.card-types-create');
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/CardTypes/CardTypesEdit.php b/app/Livewire/AboutUs/CardTypes/CardTypesEdit.php
new file mode 100644
index 0000000..be12464
--- /dev/null
+++ b/app/Livewire/AboutUs/CardTypes/CardTypesEdit.php
@@ -0,0 +1,172 @@
+ '',
+ 'type' => '',
+ 'description' => '',
+ 'image' => null,
+ 'terms_and_conditions' => '',
+ 'faqs' => '',
+ 'virtual_card_font_color' => '1',
+ 'bg_image' => null,
+ 'id_number' => '2',
+ 'id_number_description' => '',
+ ];
+ public $errors = [];
+
+ public function mount($id)
+ {
+ $this->fetchCard($id);
+ }
+
+ public function fetchCard($id)
+ {
+ try {
+ $response = Http::get("https://api.example.com/cardType/{$id}");
+ $this->card = $response->json()['data'] ?? null;
+ if (!$this->card) {
+ throw new \Exception('No data found');
+ }
+ $this->form = [
+ 'code' => $this->card['code'] ?? '',
+ 'type' => $this->card['name'] ?? '',
+ 'description' => $this->card['description'] ?? '',
+ 'image' => $this->card['image'] ?? null,
+ 'terms_and_conditions' => $this->card['terms_and_conditions'] ?? '',
+ 'faqs' => $this->card['faqs'] ?? '',
+ 'virtual_card_font_color' => $this->card['virtual_card_font_color'] == 1 ? '2' : '1',
+ 'bg_image' => $this->card['bg_image'] ?? null,
+ 'id_number' => $this->card['id_number'] == 1 ? '1' : '2',
+ 'id_number_description' => $this->card['id_number_description'] ?? '',
+ ];
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to load card type details: ' . $e->getMessage());
+ $this->redirect(route('card-types.list'));
+ }
+ }
+
+ public function submit()
+ {
+ $this->validateForm();
+
+ $this->loading = true;
+ try {
+ $formData = new \GuzzleHttp\Psr7\MultipartStream([
+ [
+ 'name' => 'code',
+ 'contents' => $this->form['code'],
+ ],
+ [
+ 'name' => 'type',
+ 'contents' => $this->form['type'],
+ ],
+ [
+ 'name' => 'description',
+ 'contents' => $this->form['description'],
+ ],
+ [
+ 'name' => 'terms_and_conditions',
+ 'contents' => $this->form['terms_and_conditions'],
+ ],
+ [
+ 'name' => 'faqs',
+ 'contents' => $this->form['faqs'],
+ ],
+ [
+ 'name' => 'virtual_card_font_color',
+ 'contents' => $this->form['virtual_card_font_color'] == '2' ? '1' : '0',
+ ],
+ [
+ 'name' => 'id_number',
+ 'contents' => $this->form['id_number'] == '1' ? '1' : '0',
+ ],
+ [
+ 'name' => 'id_number_description',
+ 'contents' => $this->form['id_number_description'],
+ ],
+ [
+ 'name' => 'image',
+ 'contents' => $this->form['image'] instanceof \Livewire\TemporaryUploadedFile ? fopen($this->form['image']->getPathname(), 'r') : ($this->form['image'] ?? ''),
+ 'filename' => $this->form['image'] instanceof \Livewire\TemporaryUploadedFile ? $this->form['image']->getClientOriginalName() : '',
+ ],
+ [
+ 'name' => 'bg_image',
+ 'contents' => $this->form['bg_image'] instanceof \Livewire\TemporaryUploadedFile ? fopen($this->form['bg_image']->getPathname(), 'r') : ($this->form['bg_image'] ?? ''),
+ 'filename' => $this->form['bg_image'] instanceof \Livewire\TemporaryUploadedFile ? $this->form['bg_image']->getClientOriginalName() : '',
+ ],
+ ]);
+
+ $response = Http::withHeaders(['Content-Type' => 'multipart/form-data; boundary=' . $formData->getBoundary()])
+ ->withBody($formData)
+ ->post("https://api.example.com/cardTypeUpdate/{$this->card['cardtype_uuid']}");
+
+ if ($response->successful()) {
+ session()->flash('success', 'Record was successfully updated.');
+ $this->redirect(route('card-types.list'));
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to update record: ' . $e->getMessage());
+ }
+ $this->loading = false;
+ }
+
+ public function validateForm()
+ {
+ $rules = [
+ 'form.code' => 'required|max:128',
+ 'form.type' => 'required|max:128',
+ 'form.description' => 'required|max:140',
+ 'form.image' => 'required',
+ 'form.virtual_card_font_color' => 'required',
+ 'form.bg_image' => 'required',
+ 'form.terms_and_conditions' => 'required|max:32000',
+ 'form.faqs' => 'required|max:32000',
+ 'form.id_number' => 'required',
+ 'form.id_number_description' => 'required_if:form.id_number,1|max:40',
+ ];
+
+ $messages = [
+ 'form.code.required' => 'Card Code is required!',
+ 'form.code.max' => 'Maximum character is 128.',
+ 'form.type.required' => 'Card Type Description is required!',
+ 'form.type.max' => 'Maximum character is 128.',
+ 'form.description.required' => 'Card Type Short Description is required!',
+ 'form.description.max' => 'Maximum character is 140.',
+ 'form.image.required' => 'Upload Card Type Image is required!',
+ 'form.virtual_card_font_color.required' => 'Virtual Card Font Color is required!',
+ 'form.bg_image.required' => 'Upload Card Type Cover Image is required!',
+ 'form.terms_and_conditions.required' => 'Terms and Condition is required!',
+ 'form.terms_and_conditions.max' => 'Maximum character is 32,000.',
+ 'form.faqs.required' => 'FAQs is required!',
+ 'form.faqs.max' => 'Maximum character is 32,000.',
+ 'form.id_number.required' => 'ID Number is required!',
+ 'form.id_number_description.required_if' => 'ID Number Description is required!',
+ 'form.id_number_description.max' => 'Maximum character is 40.',
+ ];
+
+ $this->errors = [];
+ try {
+ $this->validate($rules, $messages);
+ } catch (\Exception $e) {
+ $this->errors = collect($e->errors())->flatten()->toArray();
+ throw $e;
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.card-types.card-types-edit');
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/CardTypes/CardTypesList.php b/app/Livewire/AboutUs/CardTypes/CardTypesList.php
new file mode 100644
index 0000000..cb3e69b
--- /dev/null
+++ b/app/Livewire/AboutUs/CardTypes/CardTypesList.php
@@ -0,0 +1,44 @@
+fetchCards();
+ }
+
+ public function fetchCards()
+ {
+ try {
+ $response = Http::get('https://api.example.com/cardType?page=1&page_size=10&_sort_by=create_dt&_sort_order=desc');
+ $this->cards = $response->json()['data'] ?? [];
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to load card types: ' . $e->getMessage());
+ }
+ }
+
+ public function delete($uuid)
+ {
+ try {
+ $response = Http::delete("https://api.example.com/cardType/{$uuid}");
+ if ($response->successful()) {
+ session()->flash('success', 'Record was successfully deleted.');
+ $this->fetchCards();
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to delete record: ' . $e->getMessage());
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.card-types.card-types-list');
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/CardTypes/CardTypesView.php b/app/Livewire/AboutUs/CardTypes/CardTypesView.php
new file mode 100644
index 0000000..fec0eee
--- /dev/null
+++ b/app/Livewire/AboutUs/CardTypes/CardTypesView.php
@@ -0,0 +1,45 @@
+card = $this->fetchFromApi("https://api.example.com/cardType/{$id}");
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to load card type details: ' . $e->getMessage());
+ return redirect()->route('card-types.list');
+ }
+ }
+
+ private function fetchFromApi($url)
+ {
+ $response = Http::get($url);
+ return $response->json()['data'] ?? null;
+ }
+
+ public function delete($uuid)
+ {
+ try {
+ $response = Http::delete("https://api.example.com/cardType/{$uuid}");
+ if ($response->successful()) {
+ session()->flash('success', 'Record was successfully deleted.');
+ return redirect()->route('card-types.list');
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to delete record: ' . $e->getMessage());
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.card-types.card-types-view', ['card' => $this->card]);
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacy.php b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacy.php
new file mode 100644
index 0000000..6742eb8
--- /dev/null
+++ b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacy.php
@@ -0,0 +1,13 @@
+ '',
+ 'details' => '',
+ ];
+ public $errors = [];
+
+ public function mount($id)
+ {
+ $this->type = $id; // 1 for Terms, 2 for Privacy
+ }
+
+ public function submit()
+ {
+ $this->validateForm();
+
+ $this->loading = true;
+ try {
+ $params = array_merge($this->form, ['type' => $this->type]);
+ $response = Http::post('https://api.example.com/TermsAndPrivacy', $params);
+ if ($response->successful()) {
+ session()->flash('success', 'New record added.');
+ $this->redirect(route('term-privacy.list'));
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to create record: ' . $e->getMessage());
+ }
+ $this->loading = false;
+ }
+
+ public function validateForm()
+ {
+ $rules = [
+ 'form.title' => 'required|max:128',
+ 'form.details' => 'required|max:32000',
+ ];
+
+ $messages = [
+ 'form.title.required' => 'Title is required!',
+ 'form.title.max' => 'Maximum character is 128.',
+ 'form.details.required' => 'Details is required!',
+ 'form.details.max' => 'Maximum character is 32,000.',
+ ];
+
+ $this->errors = [];
+ try {
+ $this->validate($rules, $messages);
+ } catch (\Exception $e) {
+ $this->errors = collect($e->errors())->flatten()->toArray();
+ throw $e;
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.term-and-privacy.term-and-privacy-create');
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyEdit.php b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyEdit.php
new file mode 100644
index 0000000..ac8be11
--- /dev/null
+++ b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyEdit.php
@@ -0,0 +1,86 @@
+ '',
+ 'details' => '',
+ ];
+ public $errors = [];
+
+ public function mount($id)
+ {
+ $this->fetchTerm($id);
+ }
+
+ public function fetchTerm($id)
+ {
+ try {
+ $response = Http::get("https://api.example.com/TermsAndPrivacy/{$id}");
+ $this->term = $response->json()['data'] ?? null;
+ if (!$this->term) {
+ throw new \Exception('No data found');
+ }
+ $this->form = [
+ 'title' => $this->term['title'] ?? '',
+ 'details' => $this->term['details'] ?? '',
+ ];
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to load term details: ' . $e->getMessage());
+ $this->redirect(route('term-privacy.list'));
+ }
+ }
+
+ public function submit()
+ {
+ $this->validateForm();
+
+ $this->loading = true;
+ try {
+ $params = array_merge($this->form, ['type' => $this->term['type']]);
+ $response = Http::put("https://api.example.com/TermsAndPrivacy/{$this->term['tp_uuid']}", $params);
+ if ($response->successful()) {
+ session()->flash('success', 'Record was successfully updated.');
+ $this->redirect(route('term-privacy.list'));
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to update record: ' . $e->getMessage());
+ }
+ $this->loading = false;
+ }
+
+ public function validateForm()
+ {
+ $rules = [
+ 'form.title' => 'required|max:128',
+ 'form.details' => 'required|max:32000',
+ ];
+
+ $messages = [
+ 'form.title.required' => 'Title is required!',
+ 'form.title.max' => 'Maximum character is 128.',
+ 'form.details.required' => 'Details is required!',
+ 'form.details.max' => 'Maximum character is 32,000.',
+ ];
+
+ $this->errors = [];
+ try {
+ $this->validate($rules, $messages);
+ } catch (\Exception $e) {
+ $this->errors = collect($e->errors())->flatten()->toArray();
+ throw $e;
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.term-and-privacy.term-and-privacy-edit');
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyList.php b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyList.php
new file mode 100644
index 0000000..160df48
--- /dev/null
+++ b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyList.php
@@ -0,0 +1,44 @@
+fetchTerms();
+ }
+
+ public function fetchTerms()
+ {
+ try {
+ $response = Http::get('https://api.example.com/TermsAndPrivacy?page=1&page_size=10&_sort_by=create_dt&_sort_order=desc');
+ $this->terms = $response->json()['data'] ?? [];
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to load terms and privacy: ' . $e->getMessage());
+ }
+ }
+
+ public function delete($uuid)
+ {
+ try {
+ $response = Http::delete("https://api.example.com/TermsAndPrivacy/{$uuid}");
+ if ($response->successful()) {
+ session()->flash('success', 'Record was successfully deleted.');
+ $this->fetchTerms();
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to delete record: ' . $e->getMessage());
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.term-and-privacy.term-and-privacy-list');
+ }
+}
\ No newline at end of file
diff --git a/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyView.php b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyView.php
new file mode 100644
index 0000000..24e2972
--- /dev/null
+++ b/app/Livewire/AboutUs/TermAndPrivacy/TermAndPrivacyView.php
@@ -0,0 +1,45 @@
+term = $this->fetchFromApi("https://api.example.com/TermsAndPrivacy/{$id}");
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to load term details: ' . $e->getMessage());
+ return redirect()->route('term-privacy.list');
+ }
+ }
+
+ private function fetchFromApi($url)
+ {
+ $response = Http::get($url);
+ return $response->json()['data'] ?? null;
+ }
+
+ public function delete($uuid)
+ {
+ try {
+ $response = Http::delete("https://api.example.com/TermsAndPrivacy/{$uuid}");
+ if ($response->successful()) {
+ session()->flash('success', 'Record was successfully deleted.');
+ return redirect()->route('term-privacy.list');
+ }
+ } catch (\Exception $e) {
+ session()->flash('error', 'Failed to delete record: ' . $e->getMessage());
+ }
+ }
+
+ public function render()
+ {
+ return view('livewire.about-us.term-and-privacy.term-and-privacy-view', ['term' => $this->term]);
+ }
+}
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/card-types/card-types-create.blade.php b/resources/views/livewire/about-us/card-types/card-types-create.blade.php
new file mode 100644
index 0000000..7ed5e33
--- /dev/null
+++ b/resources/views/livewire/about-us/card-types/card-types-create.blade.php
@@ -0,0 +1,126 @@
+
+
Card Type Details
+
+ @if(session('error'))
+
{{ session('error') }}
+ @endif
+
+ @if(session('success'))
+
{{ session('success') }}
+ @endif
+
+ @if(!empty($errors))
+
+
+ @foreach ($errors as $error)
+
{{ $error }}
+ @endforeach
+
+
+ @endif
+
+
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/card-types/card-types-edit.blade.php b/resources/views/livewire/about-us/card-types/card-types-edit.blade.php
new file mode 100644
index 0000000..61ac9a2
--- /dev/null
+++ b/resources/views/livewire/about-us/card-types/card-types-edit.blade.php
@@ -0,0 +1,130 @@
+
+
Card Types Details
+
+ @if(session('error'))
+
{{ session('error') }}
+ @endif
+
+ @if(session('success'))
+
{{ session('success') }}
+ @endif
+
+ @if(!empty($errors))
+
+
+ @foreach ($errors as $error)
+
{{ $error }}
+ @endforeach
+
+
+ @endif
+
+ @if($card)
+
+ @else
+
No card type data found.
+ @endif
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/card-types/card-types-list.blade.php b/resources/views/livewire/about-us/card-types/card-types-list.blade.php
new file mode 100644
index 0000000..7fd7610
--- /dev/null
+++ b/resources/views/livewire/about-us/card-types/card-types-list.blade.php
@@ -0,0 +1,48 @@
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/card-types/card-types-view.blade.php b/resources/views/livewire/about-us/card-types/card-types-view.blade.php
new file mode 100644
index 0000000..3496b2b
--- /dev/null
+++ b/resources/views/livewire/about-us/card-types/card-types-view.blade.php
@@ -0,0 +1,77 @@
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/card-types/card-types.blade.php b/resources/views/livewire/about-us/card-types/card-types.blade.php
new file mode 100644
index 0000000..b5bdc78
--- /dev/null
+++ b/resources/views/livewire/about-us/card-types/card-types.blade.php
@@ -0,0 +1,15 @@
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-create.blade.php b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-create.blade.php
new file mode 100644
index 0000000..6d91192
--- /dev/null
+++ b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-create.blade.php
@@ -0,0 +1,45 @@
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-edit.blade.php b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-edit.blade.php
new file mode 100644
index 0000000..ecead05
--- /dev/null
+++ b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-edit.blade.php
@@ -0,0 +1,49 @@
+
+
Update Terms
+
+ @if(session('error'))
+
{{ session('error') }}
+ @endif
+
+ @if(session('success'))
+
{{ session('success') }}
+ @endif
+
+ @if(!empty($errors))
+
+
+ @foreach ($errors as $error)
+
{{ $error }}
+ @endforeach
+
+
+ @endif
+
+ @if($term)
+
+ @else
+
No term data found.
+ @endif
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-list.blade.php b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-list.blade.php
new file mode 100644
index 0000000..14ff435
--- /dev/null
+++ b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-list.blade.php
@@ -0,0 +1,54 @@
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-view.blade.php b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-view.blade.php
new file mode 100644
index 0000000..6c1ee5a
--- /dev/null
+++ b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy-view.blade.php
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/resources/views/livewire/about-us/term-and-privacy/term-and-privacy.blade.php b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy.blade.php
new file mode 100644
index 0000000..97743fc
--- /dev/null
+++ b/resources/views/livewire/about-us/term-and-privacy/term-and-privacy.blade.php
@@ -0,0 +1,15 @@
+