Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign of Laravel-zero.com's home page, update laravel to v9 and update of npm dependencies #18

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e04093a
bumped laravel version to v9
abdelhamiderrahmouni Sep 1, 2024
05a0416
removed laravel mix in favor of vite. and updated the dependencies.
abdelhamiderrahmouni Sep 1, 2024
21fca17
updated npm dependencies.
abdelhamiderrahmouni Jan 3, 2025
cd2b921
removed scss and moved into pure tailwindcss.
abdelhamiderrahmouni Jan 3, 2025
81be0f1
added primary color based on the color of the logo.
abdelhamiderrahmouni Jan 3, 2025
7f57408
added new class for copying install command from home page.
abdelhamiderrahmouni Jan 3, 2025
7159702
updated npm dependencies, mainly alpinejs, highlight.js and quicklink.
abdelhamiderrahmouni Jan 4, 2025
163e732
removed unnecessary script push in app layout: app.js already used in…
abdelhamiderrahmouni Jan 4, 2025
934cc4e
formatted base.blade.php
abdelhamiderrahmouni Jan 4, 2025
54f8f02
removed some base styles to not affect the new design of the home pag…
abdelhamiderrahmouni Jan 4, 2025
cc6e686
created a new primary button component
abdelhamiderrahmouni Jan 4, 2025
9da7115
changed the twitter logo
abdelhamiderrahmouni Jan 4, 2025
86dcd06
fixed the jiggle og the sidebar. and removed the unnecessary transitions
abdelhamiderrahmouni Jan 4, 2025
5c58c26
updated the toggle dark icons.
abdelhamiderrahmouni Jan 4, 2025
f7dad70
updated the twitter icon color.
abdelhamiderrahmouni Jan 4, 2025
1154f04
updated the home page, added new look and new sections.
abdelhamiderrahmouni Jan 4, 2025
576105b
updated the description.
abdelhamiderrahmouni Jan 4, 2025
0f06b96
updated composer dependencies.
abdelhamiderrahmouni Jan 4, 2025
e018923
fixed dark theme missing classes in welcome page and in nav twitter i…
abdelhamiderrahmouni Jan 4, 2025
fb5864c
Merge remote-tracking branch 'upstream/main'
abdelhamiderrahmouni Jan 4, 2025
a34d09f
fixed error in home page gradient effect.
abdelhamiderrahmouni Jan 4, 2025
9ce80fb
Fixed Alpine not loading and initHighlightingOnLoad deprecation.
abdelhamiderrahmouni Jan 5, 2025
9fdf23b
fixed sticky not working in sidebar and the flicker that happens when…
abdelhamiderrahmouni Jan 5, 2025
09a473b
fixed overflow of copy command on mobile in home page
abdelhamiderrahmouni Jan 5, 2025
c933668
finally fixed the stickiness of the sidebar h-full class of yhe paren…
abdelhamiderrahmouni Jan 5, 2025
d580eb9
added some space to content.
abdelhamiderrahmouni Jan 5, 2025
6f267f2
updated welcome page
abdelhamiderrahmouni Jan 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ npm-debug.log
yarn-error.log
.php-cs-fixer.cache
/.idea
/public/build
9 changes: 7 additions & 2 deletions app/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App\Http\Middleware;

use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware;

class TrustProxies extends Middleware
{
Expand All @@ -19,5 +19,10 @@ class TrustProxies extends Middleware
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
protected $headers =
Request::HEADER_X_FORWARDED_FOR |
Request::HEADER_X_FORWARDED_HOST |
Request::HEADER_X_FORWARDED_PORT |
Request::HEADER_X_FORWARDED_PROTO |
Request::HEADER_X_FORWARDED_AWS_ELB;
}
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,33 @@
"description": "The Laravel Zero website",
"license": "MIT",
"require": {
"php": "^7.4|^8.0",
"php": "^8.1",
"ext-json": "*",
"ext-simplexml": "*",
"erusev/parsedown-extra": "^0.8.1",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^8.71",
"laravel/framework": "^9.19.0",
"laravel/tinker": "^2.6",
"league/commonmark": "^1.5",
"league/commonmark": "^2.2",
"spatie/yaml-front-matter": "^2.0",
"symfony/yaml": "^5.2"
},
"require-dev": {
"facade/ignition": "^2.7",
"spatie/laravel-ignition": "^1.0",
"friendsofphp/php-cs-fixer": "^3.0",
"fakerphp/faker": "^1.14",
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^5.3",
"nunomaduro/collision": "^6.1",
"pestphp/pest": "^1.2",
"pestphp/pest-plugin-laravel": "^1.0"
"pestphp/pest-plugin-laravel": "^1.4"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"platform": {
"php": "7.4"
"php": "8.1"
},
"allow-plugins": {
"pestphp/pest-plugin": true
Expand Down
Loading