Преглед на файлове

adding night and day battle to main page

Justin Gilman преди 9 месеца
родител
ревизия
7453346399
променени са 4 файла, в които са добавени 25 реда и са изтрити 0 реда
  1. 11 0
      htdocs/index.html
  2. 1 0
      htdocs/night-and-day/assets/index-U4nhAohf.css
  3. 0 0
      htdocs/night-and-day/assets/index-e3_Ra-cR.js
  4. 13 0
      htdocs/night-and-day/index.html

+ 11 - 0
htdocs/index.html

@@ -17,6 +17,7 @@
 
 	<link rel="stylesheet" type="text/css" href="./css/main.css" />
 	<link rel="stylesheet" type="text/css" href="./css/simplecarousel.css" />
+	<link rel="stylesheet" crossorigin href="./night-and-day/assets/index-U4nhAohf.css">
 	<link href="https://fonts.googleapis.com/css?family=Roboto|Oswald" rel="stylesheet" />
 </head>
 
@@ -39,6 +40,15 @@
 	<main>
 		<section id="prototype-section">
 			<h2 id="prototypes">Prototypes</h2>
+			<div class="project">
+				<div class="teaser">
+					<canvas class="night-and-day"></canvas>
+				</div>
+				<div class="description">
+					<h3>Night and Day</h3>
+					<p>A breakout battle between two colors, as defined by random contrast bot RSS feed</p>
+				</div>
+			</div>
 			<div class="project">
 				<div class="teaser">
 					<a href="./rogueengine/vaporwave" target="_blank">
@@ -376,6 +386,7 @@
 			asteroidToy.init();
 		});
 	</script>
+	<script type="module" crossorigin src="./night-and-day/assets/index-e3_Ra-cR.js"></script>
 	<script>
 		(function (i, s, o, g, r, a, m) {
 			i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {

+ 1 - 0
htdocs/night-and-day/assets/index-U4nhAohf.css

@@ -0,0 +1 @@
+canvas.night-and-day{background-color:#ddd;width:512px;height:512px}

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
htdocs/night-and-day/assets/index-e3_Ra-cR.js


+ 13 - 0
htdocs/night-and-day/index.html

@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
+    <title>Night and Day</title>
+  <script type="module" crossorigin src="/assets/index-e3_Ra-cR.js"></script>
+  <link rel="stylesheet" crossorigin href="/assets/index-U4nhAohf.css">
+</head>
+<body>
+    <canvas class="night-and-day"></canvas>

+</body>
+</html>

Някои файлове не бяха показани, защото твърде много файлове са промени