Improved and fixed example

This commit is contained in:
Netkas 2021-11-07 13:28:13 -05:00
parent da2680359e
commit fc66acb9da
4 changed files with 12 additions and 45 deletions

View File

@ -33,6 +33,6 @@
{"type": "ppm", "name": "bootstrap", "source": "com.getbootstrap.bootstrap==latest", "path": "bootstrap"}
],
"router": [
{"method": ["GET"], "path": "", "page": "index", "params": []},
{"method": ["GET"], "path": "", "page": "index", "params": []}
]
}

View File

@ -30,20 +30,12 @@
},
"components": [],
"files": [
"assets/images/me-weeb-shit-nya-3-39415496.png",
"assets/javascript/another_test.js.dyn",
"assets/css/starter-template.css",
"configuration.json",
"localization/en.json",
"localization/zh.json",
"package.json",
"pages/debug/contents.dyn",
"pages/index/contents.dyn",
"pages/index/css/test.css.dyn",
"pages/index/javascript/console.js.dyn",
"pages/index/markdown/lorem.md.dyn",
"pages/index/scripts/time.dyn",
"pages/index/sections/copyright.dyn",
"pages/index/sections/header.dyn",
"pages/storage/contents.dyn"
"sections/footer.dyn",
"sections/header.dyn"
]
}

View File

@ -6,8 +6,8 @@
<html lang="<?PHP Html::print(DYNAMICAL_PRIMARY_LOCALIZATION_ISO_CODE); ?>">
<head>
<?PHP Html::importSection('header'); ?>
<link href="<?PHP Html::print(DynamicalWeb::getAssetRoute('bootstrap', '/dist/css/bootstrap.min.css')); ?>" rel="stylesheet">
<link href="<?PHP Html::print(DynamicalWeb::getAssetRoute('assets', '/css/start-template.css')); ?>" rel="stylesheet">
<link href="<?PHP Html::print(DynamicalWeb::getAssetRoute('bootstrap', '/css/bootstrap.min.css')); ?>" rel="stylesheet">
<link href="<?PHP Html::print(DynamicalWeb::getAssetRoute('assets', '/css/starter-template.css')); ?>" rel="stylesheet">
<title>DynamicalWeb Example Application</title>
</head>
<body>
@ -15,41 +15,16 @@
<div class="col-lg-8 mx-auto p-3 py-md-5">
<header class="d-flex align-items-center pb-3 mb-5 border-bottom">
<a href="/" class="d-flex align-items-center text-dark text-decoration-none">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="32" class="me-2" viewBox="0 0 118 94" role="img"><title>Bootstrap</title><path fill-rule="evenodd" clip-rule="evenodd" d="M24.509 0c-6.733 0-11.715 5.893-11.492 12.284.214 6.14-.064 14.092-2.066 20.577C8.943 39.365 5.547 43.485 0 44.014v5.972c5.547.529 8.943 4.649 10.951 11.153 2.002 6.485 2.28 14.437 2.066 20.577C12.794 88.106 17.776 94 24.51 94H93.5c6.733 0 11.714-5.893 11.491-12.284-.214-6.14.064-14.092 2.066-20.577 2.009-6.504 5.396-10.624 10.943-11.153v-5.972c-5.547-.529-8.934-4.649-10.943-11.153-2.002-6.484-2.28-14.437-2.066-20.577C105.214 5.894 100.233 0 93.5 0H24.508zM80 57.863C80 66.663 73.436 72 62.543 72H44a2 2 0 01-2-2V24a2 2 0 012-2h18.437c9.083 0 15.044 4.92 15.044 12.474 0 5.302-4.01 10.049-9.119 10.88v.277C75.317 46.394 80 51.21 80 57.863zM60.521 28.34H49.948v14.934h8.905c6.884 0 10.68-2.772 10.68-7.727 0-4.643-3.264-7.207-9.012-7.207zM49.948 49.2v16.458H60.91c7.167 0 10.964-2.876 10.964-8.281 0-5.406-3.903-8.178-11.425-8.178H49.948z" fill="currentColor"></path></svg>
<span class="fs-4">Starter template</span>
<img src="<?PHP Html::print(DynamicalWeb::getAssetRoute('dyn_builtin', '/favicon/favicon-32x32.png')); ?>" alt="DynamicalWeb" />
<span class="fs-4">DynamicalWeb</span>
</a>
</header>
<main>
<h1>Get started with Bootstrap</h1>
<p class="fs-5 col-md-8">Quickly and easily get started with Bootstrap's compiled, production-ready files with this barebones example featuring some basic HTML and helpful links. Download all our examples to get started.</p>
<h1>Get started with DynamicalWeb</h1>
<p class="fs-5 col-md-8">Quickly get started with DynamicalWeb 3.0 with it's all new PPM architecture, making it easy to deploy and develop on</p>
<div class="mb-5">
<a href="../examples/" class="btn btn-primary btn-lg px-4">Download examples</a>
</div>
<hr class="col-3 col-md-2 mb-5">
<div class="row g-5">
<div class="col-md-6">
<h2>Starter projects</h2>
<p>Ready to beyond the starter template? Check out these open source projects that you can quickly duplicate to a new GitHub repository.</p>
<ul class="icon-list">
<li><a href="https://github.com/twbs/bootstrap-npm-starter" rel="noopener" target="_blank">Bootstrap npm starter</a></li>
<li class="text-muted">Bootstrap Parcel starter (coming soon!)</li>
</ul>
</div>
<div class="col-md-6">
<h2>Guides</h2>
<p>Read more detailed instructions and documentation on using or contributing to Bootstrap.</p>
<ul class="icon-list">
<li><a href="../getting-started/introduction/">Bootstrap quick start guide</a></li>
<li><a href="../getting-started/webpack/">Bootstrap Webpack guide</a></li>
<li><a href="../getting-started/parcel/">Bootstrap Parcel guide</a></li>
<li><a href="../getting-started/contribute/">Contributing to Bootstrap</a></li>
</ul>
</div>
<a href="https://github.com/Intellivoid/DynamicalWeb" class="btn btn-primary btn-lg px-4">See GitHub</a>
</div>
</main>
<?PHP Html::importSection('footer'); ?>

View File

@ -1,3 +1,3 @@
<footer class="pt-5 my-5 text-muted border-top">
Created by the Bootstrap team &middot; &copy; 2021
Created by Intellivoid Technologies 2017-<?PHP \DynamicalWeb\Html::print(date('Y')); ?>
</footer>