Skip to content

Commit

Permalink
bundle up the css and js, include directly. no outside dependencies a…
Browse files Browse the repository at this point in the history
…t all.
  • Loading branch information
jszobody committed Jan 3, 2023
1 parent e7330da commit a4227b4
Show file tree
Hide file tree
Showing 1,055 changed files with 200,627 additions and 16 deletions.
9 changes: 9 additions & 0 deletions dist/app.js

Large diffs are not rendered by default.

23 changes: 8 additions & 15 deletions src/resources/views/default.php → dist/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@
<head>
<meta charset="utf-8">
<title>Pretty PHP info</title>
<link rel="shortcut icon" href="https://www.php.net/favicon.ico?v=2">

<meta name="description" content="View your phpinfo() output in a pretty, responsive interface">
<meta name="viewport" content="width=device-width, initial-scale=1">

<script src="https://cdn.tailwindcss.com"></script>

<script defer src="https://unpkg.com/@alpinejs/[email protected]/dist/cdn.min.js"></script>
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
<style>
<?php include(__DIR__ . "/styles.css"); ?>
</style>
<script type="module">
<?php include(__DIR__ . "/app.js"); ?>
</script>
</head>

<body class="antialiased font-sans bg-gray-100">
Expand Down Expand Up @@ -178,16 +182,5 @@ class="space-y-4 lg:space-y-8 scroll-mt-32" id="<?php echo $module->key() ?>">
}))
});
</script>
<style>
[x-cloak] {
display: none !important;
}
select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
}
</style>
</body>
</html>
1 change: 1 addition & 0 deletions dist/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/acorn

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/cssesc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/detective

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/nanoid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/resolve

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tailwind

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/tailwindcss

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a4227b4

Please sign in to comment.