index.html.erb 1.56 KB
<div id="section1" class="section">
	<div class="content">
		<div id="about">
			<div class="textbox">
				<%= image_tag("gears.svg", height: "60") %>
				<h1>Custom Code</h1>
				Programs
			</div>
			<div class="textbox">
				<%= image_tag("copyleft-icon.svg", size: "60") %>
				<h1>Free as in <q>FREE SPEACH</q></h1>
				Freedom
			</div>
			<div class="textbox">
				<%= image_tag("heckert_gnu.svg", height: "60") %>
				<%= image_tag("tux-mono.svg", height: "60") %>
				<h1>Linux Consulting</h1>
				Support
			</div>
		</div>
	</div>
</div>
<div id="section2" class="section">
	<%= image_tag "dogs2.svg", class: "watermark" %>
	<div class="content">
		<h2>This is mostly about programming.</h2>
		<p>
		Here you find links to the projects hosted on <i>Weird Web Workers</i>.
		</p>
		<% @namespaces.each do |namespace| -%>
			<hr />
			<div class="projectspace">
				<h3><%= namespace['name'] %></h3>
				<p><%= namespace['description'] %></p>
			</div>
			<div class="projects">
				<% @projects.find_all { |project|
					project.namespace == namespace
				}.each do |project| -%>
					<div class="textbox">
						<%= link_to project.name, project.web_url, :target => "_blank" %>
					</div>
				<% end -%>
			</div>
		<% end -%>
	</div>
</div>
<div id="section3" class="section">
	<div class="content">
		<h1>Other</h1>
		<p>
		Some other stuff here...
		</p>
	</div>
</div>
<div id="section4" class="section">
	<%= image_tag "dogs2.svg", class: "watermark" %>
	<div class="content">
		<h1>Other</h1>
		<p>
		Some other stuff here...
		</p>
	</div>
</div>
<!-- vim: set ts=2 sw=2: -->