forked from victoryoalli/miniphp
-
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.
- Loading branch information
1 parent
9d92e46
commit e19a3f3
Showing
20 changed files
with
1,808 additions
and
33 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.env | ||
node_modules/ | ||
vendor/ | ||
public/css/build/ |
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,17 @@ | ||
# Install | ||
|
||
|
||
```bash | ||
composer install | ||
``` | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
## Tailwind CSS | ||
|
||
For development use `--watch` | ||
```bash | ||
npx tailwindcss -i ./public/css/app.css -o ./public/css/build/app.css --watch | ||
``` |
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php require('partials/head.php'); ?> | ||
<?php require('partials/head.view.php'); ?> | ||
|
||
<h1>Our Culture at <?= $name; ?></h1> | ||
|
||
<?php require('partials/footer.php'); ?> | ||
<?php require('partials/footer.view.php'); ?> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php require('partials/head.php'); ?> | ||
<?php require('partials/head.view.php'); ?> | ||
|
||
<h1>About <?= $company; ?></h1> | ||
|
||
<?php require('partials/footer.php'); ?> | ||
<?php require('partials/footer.view.php'); ?> |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php require('partials/head.php'); ?> | ||
<?php require('partials/head.view.php'); ?> | ||
|
||
<h1>Contact Us</h1> | ||
<main class="max-w-screen-lg mx-auto mt-12"> | ||
<h1 class="text-lg">Contact Us</h1> | ||
</main> | ||
|
||
<?php require('partials/footer.php'); ?> | ||
<?php require('partials/footer.view.php'); ?> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php require('partials/head.php'); ?> | ||
<?php require('partials/head.view.php'); ?> | ||
|
||
<h1>Home Page</h1> | ||
|
||
<?php require('partials/footer.php'); ?> | ||
<?php require('partials/footer.view.php'); ?> |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" class="h-screen"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title><?php echo env('APP_NAME','Mini PHP Framework'); ?></title> | ||
<link href="/css/build/app.css" rel="stylesheet"> | ||
</head> | ||
<body class="h-screen bg-gray-50"> | ||
|
||
<?php require('nav.view.php'); ?> |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<nav> | ||
<ul> | ||
<nav class="max-w-screen-lg mx-auto bg-white px-4 py-2"> | ||
<ul class="flex justify-between"> | ||
<li><a href="/">Home</a></li> | ||
<li><a href="/about">About</a></li> | ||
<li><a href="/contact">Contact</a></li> | ||
<li><a href="/users">Manage Users</a></li> | ||
<li><a href="/whoops">Whoops</a></li> | ||
</ul> | ||
</nav> | ||
</nav> |
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 @@ | ||
<h1>Whoops</h1> |
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
Oops, something went wrong.