the dream is dead

This commit is contained in:
Jeremy Kauffman 2016-06-29 13:56:11 -04:00
parent 02c16c46e2
commit 60b98408ff
3 changed files with 21 additions and 18 deletions

View file

@ -75,22 +75,22 @@ class ContentActions extends Actions
$zip = new ZipArchive(); $zip = new ZipArchive();
$zip->open($zipPath, ZipArchive::OVERWRITE); $zip->open($zipPath, ZipArchive::OVERWRITE);
$pageHtml = View::render('page/press-kit', ['showHeader' => false]); // $pageHtml = View::render('page/press-kit', ['showHeader' => false]);
$html = <<<EOD // $html = <<<EOD
<!DOCTYPE html> //<!DOCTYPE html>
<html> //<html>
<head prefix="og: http://ogp.me/ns#"> // <head prefix="og: http://ogp.me/ns#">
<title>LBRY Press Kit</title> // <title>LBRY Press Kit</title>
<link href='https://fonts.googleapis.com/css?family=Raleway:300,300italic,400,400italic,700' rel='stylesheet' type='text/css'> // <link href='https://fonts.googleapis.com/css?family=Raleway:300,300italic,400,400italic,700' rel='stylesheet' type='text/css'>
<link href="https://lbry.io/css/all.css" rel="stylesheet" type="text/css" media="screen,print" /> // <link href="https://lbry.io/css/all.css" rel="stylesheet" type="text/css" media="screen,print" />
</head> // </head>
<body> // <body>
$pageHtml // $pageHtml
</body> // </body>
</html> //</html>
EOD; //EOD;
//
$zip->addFromString('press.html', $html); // $zip->addFromString('press.html', $html);
foreach(glob(ROOT_DIR . '/web/img/press/*') as $productImgPath) foreach(glob(ROOT_DIR . '/web/img/press/*') as $productImgPath)
{ {

View file

@ -13,7 +13,7 @@
<title><?php echo $title ?></title> <title><?php echo $title ?></title>
<link href='https://fonts.googleapis.com/css?family=Raleway:300,300italic,400,400italic,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Raleway:300,300italic,400,400italic,700' rel='stylesheet' type='text/css'>
<link href="/css/all.css" rel="stylesheet" type="text/css" media="screen,print" /> <link href="/css/all.css" rel="stylesheet" type="text/css" />
<link rel="apple-touch-icon" sizes="60x60" href="/img/fav/apple-touch-icon-60x60.png"> <link rel="apple-touch-icon" sizes="60x60" href="/img/fav/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="114x114" href="/img/fav/apple-touch-icon-114x114.png"> <link rel="apple-touch-icon" sizes="114x114" href="/img/fav/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/img/fav/apple-touch-icon-120x120.png"> <link rel="apple-touch-icon" sizes="120x120" href="/img/fav/apple-touch-icon-120x120.png">

View file

@ -10,8 +10,11 @@
Information and media for those who want to write or report on LBRY. Information and media for those who want to write or report on LBRY.
Any information or media on this page or in our kit can be re-used or otherwise published without attribution. Any information or media on this page or in our kit can be re-used or otherwise published without attribution.
</p> </p>
<h3>Download Kit</h3> <h3>Download Media Archive</h3>
<div class="spacer-half">
<a href="/press-kit.zip" class="btn-primary"><span class="icon icon-download"></span><span class="btn-label">Download ZIP</span></a> <a href="/press-kit.zip" class="btn-primary"><span class="icon icon-download"></span><span class="btn-label">Download ZIP</span></a>
</div>
<p>This archive includes all logos, screenshots, and bios, but does not include all text on this page.</p>
<?php echo View::render('press-kit.md') ?> <?php echo View::render('press-kit.md') ?>