Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions resources/views/community.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ class="transition-all duration-300 fill-[#FFD700] group-hover:fill-white" />
<form class="w-full" method="get" action="/community" enctype="multipart/form-data">
<div class="relative max-w-[582px]">
<select id="country-select" name="country_iso"
class="flex flex-wrap gap-10 justify-between items-center px-6 py-2.5 text-xl text-gray-700 whitespace-nowrap rounded-3xl border-2 border-secondary border-solid w-full max-w-[582px] max-md:px-5 h-[50px] cursor-pointer !pr-10">
class="flex flex-wrap gap-10 justify-between items-center px-6 py-2.5 text-xl text-gray-700 whitespace-nowrap rounded-3xl border-2 border-secondary border-solid w-full max-w-[582px] max-md:px-5 h-[50px] cursor-pointer !pr-10"
onchange="this.form.submit()">
@foreach ($countries as $country)
<option value="{{ $country->iso }}"
{{ app('request')->input('country_iso') == $country->iso ? 'selected' : '' }}>
Expand Down Expand Up @@ -582,7 +583,7 @@ function populateTeacherInfo(teachers, city = null) {
'No bio available';
let fullBio = teacher.bio || 'No bio available';
teacherDetails += `
<li data-city="${teacher.city}" class="flex flex-col-reverse max-md:justify-end justify-between min-w-[353px] md:flex-row flex gap-4 items-start p-6 w-11/12 md:w-full h-full
<li data-city="${teacher.city}" class="flex flex-col-reverse max-md:justify-end justify-between min-w-[353px] md:flex-row flex gap-4 items-start p-6 w-11/12 md:w-full
border-t-[5px] md:border-t-0 md:border-l-[5px] border-[#1C4DA1]
hover:border-l-orange-500
max-md:border-r-2 max-md:border-r-[#D6D8DA] md:border-b-2 md:border-b-[#D6D8DA]
Expand Down Expand Up @@ -710,7 +711,7 @@ function populateTeacherInfo(teachers, city = null) {
country_iso: "{{ $teacher->country_iso }}",
twitter: "{{ $teacher->twitter }}",
website: "{{ $teacher->website }}",
bio: "{{ $teacher->bio }}",
bio: @json($teacher->bio),
avatar_path: "{{ $teacher->avatar_path }}",
city: "{{ $teacher->city->city ?? 'N/A' }}",
latitude: "{{ $teacher->city->latitude ?? '' }}",
Expand Down Expand Up @@ -755,7 +756,7 @@ function populateTeacherInfo(teachers, city = null) {
country_iso: "{{ $teacher->country_iso }}",
twitter: "{{ $teacher->twitter }}",
website: "{{ $teacher->website }}",
bio: "{{ $teacher->bio }}",
bio: @json($teacher->bio),
avatar_path: "{{ $teacher->avatar_path }}",
city: "{{ $teacher->city->city ?? 'N/A' }}",
expertises: @json($teacher->expertises->pluck('name')->toArray())
Expand Down
Loading