-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from PHPBrickLayer/dev
Moving to version v0.2.0-alpha
- Loading branch information
Showing
102 changed files
with
2,015 additions
and
823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
.logs | ||
logs | ||
*.log | ||
*.lock | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php | ||
echo \BrickLayer\Lay\core\view\DomainResource::plaster()->body; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
\BrickLayer\Lay\core\view\tags\Link::new()->rel("stylesheet")->href("@css/style.css"); | ||
|
||
echo \BrickLayer\Lay\core\view\DomainResource::plaster()->head; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
\BrickLayer\Lay\core\view\tags\Script::new()->src("@js/another.js"); | ||
echo \BrickLayer\Lay\Core\View\DomainResource::plaster()->script; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
use BrickLayer\Lay\core\view\DomainResource; | ||
$plaster = DomainResource::plaster(); | ||
$href = $plaster->local->href; | ||
?> | ||
|
||
<div style="text-align: center"><img src="<?= $plaster->local->logo ?>" alt="Lay Logo"></div> | ||
<h1><?= $plaster->page->title ?></h1> | ||
<p>This is the another page of Lay a lite php framework</p> | ||
<p>Modify the necessary things to start your project</p> | ||
<a href="<?= $href() ?>">Link to home page</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
use BrickLayer\Lay\core\view\DomainResource; | ||
$plaster = DomainResource::plaster(); | ||
$href = $plaster->local->href; | ||
?> | ||
|
||
<div style="text-align: center"><img src="<?= $plaster->local->logo ?>" alt="Lay Logo"></div> | ||
<h1><?= $plaster->page->title ?></h1> | ||
<p>This is the default index page of Lay a lite php framework</p> | ||
<p>Modify the necessary things to start your project</p> | ||
<a href="<?= $href('another-page') ?>">Link to another page</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
body{ | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
color: #041039; | ||
flex-flow: column; | ||
font-size: 1.2rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
body { | ||
border: solid 2px #e00; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
osNote("Hurray🥳🥳 Lay is all set up ") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
include_once __DIR__ . DIRECTORY_SEPARATOR . "vendor" . DIRECTORY_SEPARATOR . "autoload.php"; | ||
|
||
new \BrickLayer\Lay\BobDBuilder\Engine($argv); |
Oops, something went wrong.