dmleach / daveleach.work Goto Github PK
View Code? Open in Web Editor NEWDeveloper website
Developer website
My last deploy took down the public website for a couple of hours due to configuration. Make a staging environment on the web server to test for issues before going public.
The original template has the hamburger icon, but the current version of my site does not
Images extend horizontally beyond their containers. Probably need a width=100%, but use jsfiddle to figure out the right solution.
Make images appear by modifying HomeController::calcProjects to include image in a returned array.
Refer to the Stack Exchange thread at:
http://stackoverflow.com/questions/23447339/symfony-2-set-background-image-using-css
You should store your images in the bundle folder.
src/MyBundle/Resources/public/images
and your css in
src/MyBundle/Resources/public/css
since only web folder is accesible from outside you should use the command
app/console assets:install web --symlink
this will now create the links for the web folder as
web/bundles/Project_name/css
web/bundles/Project_name/images
So your relative path for the image would be as
.header{
background-image: url("../images/mainlogo.gif");
}
And in twig you should use asset() function to link your styles:
<link href="{{ asset('bundles/acmeweb/css/yourstylesheet.css') }}" rel="stylesheet" type="text/css" />
Look to see if there's an easy way to make all the portfolio boxes on a single row the same height rather than having a jagged appearance.
Once built, add routing to portfolio page and verify that main navigation menu link works correctly.
Should include stylesheet, header, footer, and scripts - all the things every page ought to have.
Once built, add routing to resume page and verify that main navigation menu link works correctly.
The main navigation menu, built using HomeController.php and navmenu.html.twig, can highlight the currently selected page in the main menu by giving it class="current." Change HomeController to flag the current page and change navmenu.html.twig to check for the flag and assign the class.
Once built, add routing to blog page and verify that main navigation menu link works correctly.
The dopetrope css template allows for nested menus using the syntax below. Modify navmenu.html.twig to process a nested array as a dropdown menu and build the HTML accordingly.
<nav id="nav">
<ul>
<li class="current"><a href="index.html">Home</a></li>
<li>
<a href="#">Dropdown</a>
<ul>
<li><a href="#">Lorem ipsum dolor</a></li>
<li><a href="#">Magna phasellus</a></li>
<li><a href="#">Etiam dolore nisl</a></li>
<li>
<a href="#">Phasellus consequat</a>
<ul>
<li><a href="#">Magna phasellus</a></li>
<li><a href="#">Etiam dolore nisl</a></li>
<li><a href="#">Veroeros feugiat</a></li>
<li><a href="#">Nisl sed aliquam</a></li>
<li><a href="#">Dolore adipiscing</a></li>
</ul>
</li>
<li><a href="#">Veroeros feugiat</a></li>
</ul>
</li>
<li><a href="left-sidebar.html">Left Sidebar</a></li>
<li><a href="right-sidebar.html">Right Sidebar</a></li>
<li><a href="no-sidebar.html">No Sidebar</a></li>
</ul>
</nav>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.