mirror of
https://github.com/Xevion/lovely.git
synced 2025-12-07 20:07:34 -06:00
Add banner for open graph embedding, slight configuration changes
This commit is contained in:
BIN
Lovely.psd
Normal file
BIN
Lovely.psd
Normal file
Binary file not shown.
BIN
public/banner.jpeg
Normal file
BIN
public/banner.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
@@ -1,17 +1,23 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="">
|
<html lang="">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||||
|
<meta content="lovely" property="og:title"/>
|
||||||
|
<meta content="Something for my beloved... 💘️" property="og:description"/>
|
||||||
|
<meta content="<%= BASE_URL %>" property="og:url"/>
|
||||||
|
<meta content="<%= BASE_URL %>banner.jpeg" property="og:image"/>
|
||||||
|
<meta content="#F1609D" data-react-helmet="true" name="theme-color"/>
|
||||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||||
</noscript>
|
Please enable it to continue.</strong>
|
||||||
<div id="app"></div>
|
</noscript>
|
||||||
<!-- built files will be auto injected -->
|
<div id="app"></div>
|
||||||
</body>
|
<!-- built files will be auto injected -->
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class Manager {
|
|||||||
TIME_PERIOD = 60;
|
TIME_PERIOD = 60;
|
||||||
EDGE_BUFFER = 0.15;
|
EDGE_BUFFER = 0.15;
|
||||||
MIN_RADIUS = 30;
|
MIN_RADIUS = 30;
|
||||||
TIME_SCALE = 2.3;
|
TIME_SCALE = 2.8;
|
||||||
|
|
||||||
constructor(app, sectionCount) {
|
constructor(app, sectionCount) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
@@ -90,7 +90,7 @@ class Manager {
|
|||||||
generatePoint() {
|
generatePoint() {
|
||||||
// Generation initial data on the point
|
// Generation initial data on the point
|
||||||
let point = random.pointInCircle(new Point(0, 0), this.MIN_RADIUS, this.MAX_RADIUS);
|
let point = random.pointInCircle(new Point(0, 0), this.MIN_RADIUS, this.MAX_RADIUS);
|
||||||
let sprite = null;
|
let sprite;
|
||||||
|
|
||||||
// Acquire sprite object.
|
// Acquire sprite object.
|
||||||
if (this.sprite_trash.length < 1) {
|
if (this.sprite_trash.length < 1) {
|
||||||
@@ -106,8 +106,6 @@ class Manager {
|
|||||||
sprite.y = point.y;
|
sprite.y = point.y;
|
||||||
|
|
||||||
// Set scale
|
// Set scale
|
||||||
// let distanceFromCenter = this.getDistance(commonPositions.center, point);
|
|
||||||
// sprite.baselineScale = this.uniform(0.45, 0.65);
|
|
||||||
sprite.baselineScale = random.uniform(0.05, 0.12)
|
sprite.baselineScale = random.uniform(0.05, 0.12)
|
||||||
sprite.scale.set(0, 0)
|
sprite.scale.set(0, 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user