Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Move Blog to GitHub-pages and cobalt.rs #26

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
# Unwanted files
book/html
web
prototypes
target
Cargo.lock
Expand Down
60 changes: 60 additions & 0 deletions blog/_layouts/default.tpl
@@ -0,0 +1,60 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Amethyst</title>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<link rel="stylesheet" href="./cover.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<body>

<div class="site-wrapper">

<div class="site-wrapper-inner">

<div class="cover-container">

<div class="masthead clearfix">
<div class="inner">
<h3 class="masthead-brand">Amethyst</h3>
<nav>
<ul class="nav masthead-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="./book">Book</a></li>
<li><a href="./doc/amethyst">Doc</a></li>
<li><a href="https://github.com/ebkalderon/amethyst">Github</a></li>
</ul>
</nav>
</div>
</div>

<div class="inner cover">
<h1 class="cover-heading">Vison</h1>
<p class="lead">Amethyst aims to be a fast, data-oriented, and data-driven game engine suitable for rapid prototyping and iteration.</p>
<p class="lead">
<a href="https://github.com/ebkalderon/amethyst#vision" class="btn btn-lg btn-default">Learn more</a>
</p>
</div>
</div>

</div>

</div>
<div>
{{ content }}
</div>

<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>
44 changes: 44 additions & 0 deletions blog/_layouts/post.tpl
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Amethyst</title>

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">

<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">

<link rel="stylesheet" href="../blog.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<title>This Week in Amethyst - {{ title }}</title>
</head>
<body>
<div class="cover-container">
<div class="masthead clearfix">
<div class="inner">
<h3 class="masthead-brand">This Week in Amethyst</h3>
<nav>
<ul class="nav masthead-nav">
<li><a href="../">Home</a></li>
<li><a href="../book">Book</a></li>
<li><a href="../doc/amethyst">Doc</a></li>
<li><a href="https://github.com/ebkalderon/amethyst">Github</a></li>
</ul>
</nav>
</div>
</div>

<div class="blog-post">
<h2 class="blog-post-title">{{ title }}</h2>
<p style="text-align: left;">
{{ content }}
</p>
</div>
</div>
</body>
</html>
31 changes: 31 additions & 0 deletions blog/_posts/week6.md
@@ -0,0 +1,31 @@
extends: post.tpl

title: This Week in Amethyst 6
date: February 22, 2016
---

Hello and welcome to the sixth issue of This Week in Amethyst, a blog bringing you the latest changes and updates regarding the Amethyst game engine every week. If you have any suggestions or ideas, feel free to call me out on Gitter.

No new pull requests landed this week.

# What's cooking on master?

## Notable additions

* A 2013 presentation titled Bitsquid: Behind The Scenes has been added to the list of design inspiration documents. It covers a variety of topics, namely data-oriented design, job parallelism, rapid game development, and lessons learned from the game industry. Huge thanks to engine developer [@niklasfrykholm](https://twitter.com/niklasfrykholm) of Autodesk for making this summary!

* Implementation of the user-facing API of `amethyst_ecs` has begun. This brings us one step closer to merging the ECS game framework into the mainline. Join the discussion on engine issue [#10](https://github.com/ebkalderon/amethyst/issues/10).

## New issues

No new issues were opened this week!

## New contributors

No new people have joined this week!

## Other announcements

Draft 2.0 of the renderer diagram was published to master this week. The design has been simplified considerably with the elimination of intermediate representation (IR) from the renderer, originally conceived for providing network transparency and tool slaving capabilities. This responsibility has been moved upward to the engine level, allowing for things like SFM-style demo record and replay and other goodies. Please leave your thoughts on engine issue [#19](https://github.com/ebkalderon/amethyst/issues/19).

Some meta-news: starting next issue, TWIA's release schedule will shift from every Monday to every Sunday. This is to get our newsletter in sync with [This Week in Rust](https://this-week-in-rust.org/) so readers aren't stuck reading last week's post every time. Hopefully this will make things more convenient in the long run
237 changes: 237 additions & 0 deletions blog/blog.css
@@ -0,0 +1,237 @@
/*
* Globals
*/

/*body {
font-family: Georgia, "Times New Roman", Times, serif;
color: #555;
}*/

/*
* Base structure
*/

html,
body {
height: 100%;
background-color: #333;
}
body {
color: #fff;
text-shadow: 0 1px 3px rgba(0,0,0,.5);
}


h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
margin-top: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
/*color: #333;*/
}

.cover-container {
margin-right: 20%;
margin-left: 20%;
}

@media (max-width: 1200px) {
.cover-container {
margin-right: 5%;
margin-left: 5%;
}
}

/*
* Override Bootstrap's default container.
*/

@media (min-width: 1200px) {
.container {
width: 970px;
}
}


/*
* Masthead for nav
*/

.blog-masthead {
background-color: #428bca;
-webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
}

/* Nav links */
.blog-nav-item {
position: relative;
display: inline-block;
padding: 10px;
font-weight: 500;
color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
color: #fff;
text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
color: #fff;
}
.blog-nav .active:after {
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 0;
margin-left: -5px;
vertical-align: middle;
content: " ";
border-right: 5px solid transparent;
border-bottom: 5px solid;
border-left: 5px solid transparent;
}


/*
* Blog name and description
*/

.blog-header {
padding-top: 20px;
padding-bottom: 20px;
}
.blog-title {
margin-top: 30px;
margin-bottom: 0;
font-size: 60px;
font-weight: normal;
}
.blog-description {
font-size: 20px;
color: #999;
}


/*
* Main column and sidebar layout
*/

.blog-main {
font-size: 18px;
line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
padding: 15px;
margin: 0 -15px 15px;
}
.sidebar-module-inset {
padding: 15px;
background-color: #f5f5f5;
border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
margin-bottom: 0;
}


/*
* Header
*/
.masthead-brand {
margin-top: 10px;
margin-bottom: 30px;
}

.masthead-nav > li {
display: inline-block;
}
.masthead-nav > li + li {
margin-left: 20px;
}
.masthead-nav > li > a {
padding-right: 0;
padding-left: 0;
font-size: 16px;
font-weight: bold;
color: #fff; /* IE8 proofing */
color: rgba(255,255,255,.75);
border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
background-color: transparent;
border-bottom-color: #a9a9a9;
border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
color: #fff;
border-bottom-color: #fff;
}

@media (min-width: 768px) {
.masthead-brand {
float: left;
}
.masthead-nav {
float: right;
}
}

/* Pagination */
.pager {
margin-bottom: 60px;
text-align: left;
}
.pager > li > a {
width: 140px;
padding: 10px 20px;
text-align: center;
border-radius: 30px;
}


/*
* Blog posts
*/

.blog-post {
margin-bottom: 60px;
}
.blog-post-title {
margin-bottom: 5px;
font-size: 40px;
}
.blog-post-meta {
margin-bottom: 20px;
color: #999;
}


/*
* Footer
*/

.blog-footer {
padding: 40px 0;
color: #999;
text-align: center;
background-color: #f9f9f9;
border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
margin-bottom: 0;
}