diff --git a/app.php b/app.php index 96a4a55..0ad1a61 100644 --- a/app.php +++ b/app.php @@ -227,4 +227,9 @@ class App ); } + // IsControlle + public static function ic($controllerName) + { + return strtolower(substr(self::$controller, 0, strlen($controllerName))) == strtolower($controllerName); + } } diff --git a/public/css/style.css b/public/css/style.css index f177bc0..1e37164 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -145,7 +145,7 @@ img.imageInArticle {border: solid 3px white;} .onlyBigScreen {display: none;} body { - padding: 0!important; + padding: 60px 0 0 0!important; } div.container{ diff --git a/public/img/whiteLogo.png b/public/img/whiteLogo.png new file mode 100644 index 0000000..0ffffec Binary files /dev/null and b/public/img/whiteLogo.png differ diff --git a/views/feed/index.php b/views/feed/index.php index b0c6aab..115678d 100644 --- a/views/feed/index.php +++ b/views/feed/index.php @@ -1,10 +1,5 @@