From 5b80af1e23dd08db9b942f5d23a93e2fbf84d30f Mon Sep 17 00:00:00 2001 From: TheMaxium69 <63310746+TheMaxium69@users.noreply.github.com> Date: Sat, 23 Apr 2022 01:14:53 +0200 Subject: [PATCH] update bot --- api/bot/recup.php | 2 +- api/bot/request.php | 2 +- css/index.css | 14 ++++++++++++++ test.php | 4 ++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/api/bot/recup.php b/api/bot/recup.php index baaa080..a3fca1c 100644 --- a/api/bot/recup.php +++ b/api/bot/recup.php @@ -4,7 +4,7 @@ function getAllActu(){ require "api/db.php"; - $requestNews = "SELECT * FROM actu"; + $requestNews = "SELECT * FROM announcement"; $allActu = mysqli_query($ConnectDB, $requestNews); diff --git a/api/bot/request.php b/api/bot/request.php index cbbde6e..863b34f 100644 --- a/api/bot/request.php +++ b/api/bot/request.php @@ -11,7 +11,7 @@ if ($token = $tokenBDD){ - $q = $db->prepare("INSERT INTO `actu` (`user`, `content`) VALUES (:user, :content)"); + $q = $db->prepare("INSERT INTO `announcement` (`user`, `content`) VALUES (:user, :content)"); $q->execute([ 'user' => $user, diff --git a/css/index.css b/css/index.css index d0b11b4..0226b5a 100644 --- a/css/index.css +++ b/css/index.css @@ -46,6 +46,20 @@ #home .head .centertext h3 a:hover{ color: white; } +@media (max-width: 1156px) { + #home .head .centertext h1{ + font-size: 49px; + } +} + +@media (max-width: 830px) { + #home .head .centertext{ + width:unset; + margin-left: unset; + margin-right: unset; + } + +} /************************* diff --git a/test.php b/test.php index d8b0bd1..ea11717 100644 --- a/test.php +++ b/test.php @@ -4,6 +4,10 @@
+ + 1156 + + 49px