Merge pull request #3 from Yasder5/yass
merge de ce que j'ai fait dans main (hehehe no merge conflict)
98
public/assests/css/style.css
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
body {
|
||||
background-color: #f5f5f5;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
padding: 0.8rem 2rem;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: #0d6efd !important;
|
||||
}
|
||||
|
||||
.navbar-brand span {
|
||||
color: #6c757d;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link {
|
||||
color: #333;
|
||||
font-weight: 500;
|
||||
padding: 0.5rem 1rem;
|
||||
margin: 0 0.2rem;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-link:hover {
|
||||
color: #0d6efd;
|
||||
}
|
||||
|
||||
.btn-login {
|
||||
color: #333;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-weight: 500;
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.btn-login:hover {
|
||||
color: #0d6efd;
|
||||
}
|
||||
|
||||
.btn-signup {
|
||||
background-color: #0d6efd;
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 25px;
|
||||
padding: 0.5rem 2rem;
|
||||
font-weight: 500;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.btn-signup:hover {
|
||||
background-color: #0b5ed7;
|
||||
}
|
||||
|
||||
.notification-bell {
|
||||
font-size: 1.2rem;
|
||||
color: #6c757d;
|
||||
margin-right: 1rem;
|
||||
cursor: pointer;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.notification-bell:hover {
|
||||
color: #0d6efd;
|
||||
}
|
||||
|
||||
.logo-image {
|
||||
height: 30px;
|
||||
width: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.logo{
|
||||
font-size: 5rem;
|
||||
font-weight: 700;
|
||||
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.article-card {
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.article-img {
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.article-content {
|
||||
height: 20%;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
BIN
public/assests/img/Logo.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
7
public/coucou.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
coucou
|
||||
coucou depuis le cci
|
||||
hehehe
|
||||
|
||||
coucoucoucoucou
|
||||
|
||||
encore un teste, y'en a trop wwsh
|
||||
31
public/index.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
$strCtrl = $_GET['ctrl']??'project';
|
||||
$strMethod = $_GET['action']??'home';
|
||||
$intId = $_GET['id']??null;
|
||||
|
||||
$boolError = false;
|
||||
$strFileName = "../app/controllers/".$strCtrl."_controller.php";
|
||||
if($intId!=null){
|
||||
echo $intId;
|
||||
}
|
||||
if(file_exists($strFileName)){
|
||||
require($strFileName);
|
||||
$strClassName = ucfirst($strCtrl)."Ctrl";
|
||||
if(class_exists($strClassName)){
|
||||
$objController = new $strClassName();
|
||||
if(method_exists($objController,$strMethod)){
|
||||
$objController->$strMethod();
|
||||
}else{
|
||||
$boolError = true;
|
||||
}
|
||||
}else{
|
||||
$boolError = true;
|
||||
}
|
||||
}else{
|
||||
$boolError = true;
|
||||
}
|
||||
|
||||
if($boolError){
|
||||
echo "error 404 - la page elle existe pas batard";
|
||||
}
|
||||
|
||||
0
public/uploads/profiles/.gitkeep
Normal file
BIN
public/uploads/profiles/Logo.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
public/uploads/profiles/marie.jpg
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
public/uploads/profiles/sophie.jpg
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
public/uploads/profiles/thomas.jpg
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
0
public/uploads/projects/.gitkeep
Normal file
BIN
public/uploads/projects/Logo.png
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
public/uploads/projects/ecommerce-thumb.jpg
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
public/uploads/projects/taskmanager-thumb.jpg
Normal file
|
After Width: | Height: | Size: 8.7 KiB |
BIN
public/uploads/projects/urban-thumb.jpg
Normal file
|
After Width: | Height: | Size: 3.7 KiB |