index de l'appli
This commit is contained in:
parent
bef89483ef
commit
8f18e44be6
18
src/Controller/IndexController.php
Normal file
18
src/Controller/IndexController.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Attribute\Route;
|
||||
|
||||
class IndexController extends AbstractController
|
||||
{
|
||||
#[Route('/index', name: 'app_index')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('index/index.html.twig', [
|
||||
'controller_name' => 'IndexController',
|
||||
]);
|
||||
}
|
||||
}
|
297
templates/index/index.html.twig
Normal file
297
templates/index/index.html.twig
Normal file
@ -0,0 +1,297 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||
<title>
|
||||
Job Portal
|
||||
</title>
|
||||
<script src="https://cdn.tailwindcss.com">
|
||||
</script>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"/>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-gray-100">
|
||||
<header class="bg-gray-900 text-white">
|
||||
<div class="container mx-auto flex justify-between items-center py-4 px-6">
|
||||
<div class="flex items-center">
|
||||
<i class="fas fa-briefcase text-2xl mr-2"></i>
|
||||
<span class="text-xl font-bold">HegreSphere</span>
|
||||
</div>
|
||||
<nav class="space-x-6">
|
||||
<a class="hover:text-teal-400" href="#">Accueil</a>
|
||||
<a class="hover:text-teal-400" href="#">Stages</a>
|
||||
<a class="hover:text-teal-400" href="#">À propos de nous</a>
|
||||
<a class="hover:text-teal-400" href="#">Nous contacter</a>
|
||||
</nav>
|
||||
<div>
|
||||
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full" href="#">
|
||||
Profil
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="bg-cover bg-center py-20" style="background-image: url('/images/fond_site.png');">
|
||||
|
||||
|
||||
<div class="container mx-auto text-center text-white">
|
||||
<h1 class="text-4xl md:text-5xl font-bold mb-4">
|
||||
Trouvez votre stage de rêve !
|
||||
</h1>
|
||||
<p class="text-lg mb-8">
|
||||
Connectez les talents aux opportunités : votre clé vers le succès professionnel
|
||||
</p>
|
||||
<div class="bg-white rounded-lg shadow-lg p-6 inline-block">
|
||||
<div class="flex flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-4">
|
||||
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Nom de l'entreprise" type="text"/>
|
||||
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Indiquez un endroit" type="text"/>
|
||||
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Selectionnez une categorie" type="text"/>
|
||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-6 rounded">
|
||||
Trouvez un stage
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-center space-x-8 mt-8">
|
||||
<div class="text-center">
|
||||
<i class="fas fa-briefcase text-2xl">
|
||||
</i>
|
||||
<p class="mt-2">
|
||||
+850 Stages
|
||||
</p>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<i class="fas fa-users text-2xl">
|
||||
</i>
|
||||
<p class="mt-2">
|
||||
1500 Candidats
|
||||
</p>
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<i class="fas fa-building text-2xl">
|
||||
</i>
|
||||
<p class="mt-2">
|
||||
+500 Entreprises
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<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 récentes
|
||||
</h2>
|
||||
<a class="text-teal-500 hover:underline" href="#">
|
||||
Voir tout
|
||||
</a>
|
||||
</div>
|
||||
<div class="space-y-6">
|
||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="text-gray-500 text-sm">
|
||||
10 min ago
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-bold">
|
||||
Forward Security Director
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
Bauch, Schuppe and Schulist Co
|
||||
</p>
|
||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-briefcase mr-1">
|
||||
</i>
|
||||
Hotels & Tourism
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-clock mr-1">
|
||||
</i>
|
||||
Full time
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-dollar-sign mr-1">
|
||||
</i>
|
||||
$40000-$42000
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-map-marker-alt mr-1">
|
||||
</i>
|
||||
New York, USA
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
||||
Détails de l'offre
|
||||
</button>
|
||||
</div>
|
||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="text-gray-500 text-sm">
|
||||
12 min ago
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-bold">
|
||||
Regional Creative Facilitator
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
Wisozk - Becker Co
|
||||
</p>
|
||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-briefcase mr-1">
|
||||
</i>
|
||||
Media
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-clock mr-1">
|
||||
</i>
|
||||
Part time
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-dollar-sign mr-1">
|
||||
</i>
|
||||
$28000-$32000
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-map-marker-alt mr-1">
|
||||
</i>
|
||||
Los Angeles, USA
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
||||
Détails de l'offre
|
||||
</button>
|
||||
</div>
|
||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="text-gray-500 text-sm">
|
||||
15 min ago
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-bold">
|
||||
Internal Integration Planner
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
Metz, Quigley and Feest Inc.
|
||||
</p>
|
||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-briefcase mr-1">
|
||||
</i>
|
||||
Construction
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-clock mr-1">
|
||||
</i>
|
||||
Full time
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-dollar-sign mr-1">
|
||||
</i>
|
||||
$48000-$50000
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-map-marker-alt mr-1">
|
||||
</i>
|
||||
Texas, USA
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
||||
Détails de l'offre
|
||||
</button>
|
||||
</div>
|
||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="text-gray-500 text-sm">
|
||||
26 min ago
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-bold">
|
||||
District Intranet Director
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
VonRueden - Weber Co
|
||||
</p>
|
||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-briefcase mr-1">
|
||||
</i>
|
||||
Commerce
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-clock mr-1">
|
||||
</i>
|
||||
Full time
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-dollar-sign mr-1">
|
||||
</i>
|
||||
$42000-$46000
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-map-marker-alt mr-1">
|
||||
</i>
|
||||
Florida, USA
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
||||
Détails de l'offre
|
||||
</button>
|
||||
</div>
|
||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
||||
<div class="flex items-center space-x-4">
|
||||
<div class="text-gray-500 text-sm">
|
||||
26 min ago
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-bold">
|
||||
Corporate Tactics Facilitator
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
Cormier, Turner and Bailey Inc
|
||||
</p>
|
||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-briefcase mr-1">
|
||||
</i>
|
||||
Commerce
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-clock mr-1">
|
||||
</i>
|
||||
Full time
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-dollar-sign mr-1">
|
||||
</i>
|
||||
$38000-$40000
|
||||
</span>
|
||||
<span class="flex items-center">
|
||||
<i class="fas fa-map-marker-alt mr-1">
|
||||
</i>
|
||||
Boston, USA
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
||||
Détails de l'offre
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user