release:map

This commit is contained in:
allavenavr 2024-12-20 10:29:28 +01:00
parent 69e772938c
commit f22a2a2b9b
4 changed files with 552 additions and 553 deletions

1091
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,6 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
class IndexController extends AbstractController class IndexController extends AbstractController
{ {
#[Route('/', name: 'app_index')]
public function __construct( public function __construct(
private HttpClientInterface $client, private HttpClientInterface $client,
private readonly CompanyRepository $companyRepository, private readonly CompanyRepository $companyRepository,
@ -20,7 +19,7 @@ class IndexController extends AbstractController
{ {
} }
#[Route('/index', name: 'app_index')] #[Route('/', name: 'app_index')]
public function index(): Response public function index(): Response
{ {
$companies = $this->companyRepository->findAll(); $companies = $this->companyRepository->findAll();

View File

@ -50,5 +50,6 @@
<i class="fas fa-plus-circle"></i> Ajouter une FAQ <i class="fas fa-plus-circle"></i> Ajouter une FAQ
</a> </a>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -24,6 +24,7 @@
</label> </label>
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-6 rounded">Trouvez un stage</button> <button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-6 rounded">Trouvez un stage</button>
</div> </div>
<p class="text-black"> la recherche n'est pas encore implémenté </p>
</div> </div>
<div class="flex justify-center space-x-8 mt-8"> <div class="flex justify-center space-x-8 mt-8">
<div class="text-center"> <div class="text-center">
@ -56,13 +57,4 @@
var marker = L.marker([coordX,coordY]).addTo(map).bindPopup(name); var marker = L.marker([coordX,coordY]).addTo(map).bindPopup(name);
{% endfor %} {% endfor %}
</script> </script>
<section class="container mx-auto py-12">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">Propositions de stages </h2>
<a class="text-teal-500 hover:underline" href="{{ path('app_announcement_index') }}">Voir tout</a>
</div>
<div class="space-y-6">
</div>
</section>
{% endblock %} {% endblock %}