I recently acquired an external HTML template that I purchased from a website called themeforest
:
https://i.sstatic.net/UIu6g.png
The folder structure is as follows:
base/
- css/
- fonts/
- images/
- img/
- js/
- index.html
The template file Index.html makes use of the css
directory in this way:
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css" id="color-switcher-link">
<link rel="stylesheet" href="css/animations.css">
<link rel="stylesheet" href="css/fonts.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
I'm not sure how to properly transfer these files - should they be moved to the root web server under css
, or into cakephp/app/
, or perhaps cakephp/app/webroot/css/
?
Within my cake project, I have directories labeled Views/Layouts/
and View/Layouts/Pages/home.ctp
. I attempted to integrate the provided index.html
file with a newly created mainpage.ctp
and the result looks less than ideal:
https://i.sstatic.net/G68A2.png
Any suggestions or tips on how to improve this layout integration?