diff --git a/app/Functions/externalfiles.php b/app/Functions/externalfiles.php index 2c8f9ab..cf8ccf0 100644 --- a/app/Functions/externalfiles.php +++ b/app/Functions/externalfiles.php @@ -15,4 +15,15 @@ function external_file_get_contents($url) { function uri($path) { $url = str_replace(['http://', 'https://'], '', url('')); return "//" . $url . "/" . $path; +} + +function footer($key) +{ + $upperStr = strtoupper($key); + if (env('TITLE_FOOTER_'.$upperStr) == "") { + $title = __('messages.footer.'.$key); + } else { + $title = env('TITLE_FOOTER_'.$upperStr); + } + return $title; } \ No newline at end of file diff --git a/composer.lock b/composer.lock index 98f9664..47bd350 100644 --- a/composer.lock +++ b/composer.lock @@ -1825,16 +1825,16 @@ }, { "name": "jaybizzle/crawler-detect", - "version": "v1.2.114", + "version": "v1.2.115", "source": { "type": "git", "url": "https://github.com/JayBizzle/Crawler-Detect.git", - "reference": "62d0e6b38f6715c673e156ffb0fc894791de3452" + "reference": "4531e4a70d55d10cbe7d41ac1ff0d75a5fe2ef1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/62d0e6b38f6715c673e156ffb0fc894791de3452", - "reference": "62d0e6b38f6715c673e156ffb0fc894791de3452", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/4531e4a70d55d10cbe7d41ac1ff0d75a5fe2ef1e", + "reference": "4531e4a70d55d10cbe7d41ac1ff0d75a5fe2ef1e", "shasum": "" }, "require": { @@ -1871,9 +1871,9 @@ ], "support": { "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", - "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.114" + "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.115" }, - "time": "2023-03-21T21:54:27+00:00" + "time": "2023-06-05T21:32:18+00:00" }, { "name": "jeroendesloovere/vcard", @@ -3578,16 +3578,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.15", + "version": "1.10.21", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd" + "reference": "b2a30186be2e4d97dce754ae4e65eb0ec2f04eb5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/762c4dac4da6f8756eebb80e528c3a47855da9bd", - "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/b2a30186be2e4d97dce754ae4e65eb0ec2f04eb5", + "reference": "b2a30186be2e4d97dce754ae4e65eb0ec2f04eb5", "shasum": "" }, "require": { @@ -3636,7 +3636,7 @@ "type": "tidelift" } ], - "time": "2023-05-09T15:28:01+00:00" + "time": "2023-06-21T20:07:58+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -10234,16 +10234,16 @@ }, { "name": "spatie/backtrace", - "version": "1.4.0", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "ec4dd16476b802dbdc6b4467f84032837e316b8c" + "reference": "47794d19e3215ace9e005a8f200cd7cc7be52572" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/ec4dd16476b802dbdc6b4467f84032837e316b8c", - "reference": "ec4dd16476b802dbdc6b4467f84032837e316b8c", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/47794d19e3215ace9e005a8f200cd7cc7be52572", + "reference": "47794d19e3215ace9e005a8f200cd7cc7be52572", "shasum": "" }, "require": { @@ -10280,7 +10280,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/backtrace/tree/1.4.0" + "source": "https://github.com/spatie/backtrace/tree/1.4.1" }, "funding": [ { @@ -10292,7 +10292,7 @@ "type": "other" } ], - "time": "2023-03-04T08:57:24+00:00" + "time": "2023-06-13T14:35:04+00:00" }, { "name": "spatie/flare-client-php", @@ -10365,16 +10365,16 @@ }, { "name": "spatie/ignition", - "version": "1.8.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "ad13a6792992411e05d3d3b293e26bdf9f9a7321" + "reference": "d8eb8ea1ed27f48a694405cff363746ffd37f13e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/ad13a6792992411e05d3d3b293e26bdf9f9a7321", - "reference": "ad13a6792992411e05d3d3b293e26bdf9f9a7321", + "url": "https://api.github.com/repos/spatie/ignition/zipball/d8eb8ea1ed27f48a694405cff363746ffd37f13e", + "reference": "d8eb8ea1ed27f48a694405cff363746ffd37f13e", "shasum": "" }, "require": { @@ -10444,7 +10444,7 @@ "type": "github" } ], - "time": "2023-05-25T10:19:32+00:00" + "time": "2023-06-06T14:14:58+00:00" }, { "name": "spatie/laravel-ignition", diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 97ceee2..a794b5e 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -1018,6 +1018,19 @@ return [ 'support.msg6' => 'Thank you for your support and for being a part of the LinkStack community!', + /* + |-------------------------------------------------------------------------- + | Footer Links + |-------------------------------------------------------------------------- + | + */ + + 'footer.Home' => 'Home', + 'footer.Terms' => 'Terms', + 'footer.Privacy' => 'Privacy', + 'footer.Contact' => 'Contact', + + #=============================================================================# # Laravel internal translations # #=============================================================================# diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index c8b38d1..103084d 100755 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -221,10 +221,10 @@