updated naming and styling

This commit is contained in:
aj 2020-01-23 11:59:23 +00:00
parent 5b42a6a4db
commit 4c9efbd614
7 changed files with 670 additions and 564 deletions

View File

@ -11,13 +11,15 @@ fmframework_logger = logging.getLogger('fmframework')
spotfm_logger = logging.getLogger('spotfm')
if os.environ.get('DEPLOY_DESTINATION', None) == 'PROD':
from google.cloud import logging as glogging
import google.cloud.logging
from google.cloud.logging.handlers import CloudLoggingHandler, setup_logging
log_format = '%(funcName)s - %(message)s'
formatter = logging.Formatter(log_format)
client = glogging.Client()
handler = client.get_default_handler()
client = google.cloud.logging.Client()
handler = CloudLoggingHandler(client, name="music-tools")
setup_logging(handler)
handler.setFormatter(formatter)

View File

@ -4,7 +4,7 @@
<title>sarsoo/{% block title %}{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link href="https://fonts.googleapis.com/css?family=Pirata+One|Lato" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Pirata+One|Roboto" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="https://storage.googleapis.com/sarsooxyzstatic/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://storage.googleapis.com/sarsooxyzstatic/favicon-32x32.png">

View File

@ -1,6 +1,6 @@
{% extends 'base.html' %}
{% block title %}spotify{% endblock %}
{% block title %}music{% endblock %}
{% block content %}
@ -16,7 +16,7 @@
<div class="row">
<div class="{% if logged_in %}pad-12{% else %}pad-9{% endif %} card">
<h1>Spotify Playlist Manager</h1>
<h1>music tools</h1>
<p class="center-text">create "super-playlists" of smaller modular playlists</p>

1198
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,22 +19,22 @@
},
"homepage": "https://github.com/Sarsoo/spotify-web#readme",
"dependencies": {
"axios": "^0.19.0",
"axios": "^0.19.2",
"chart.js": "^2.9.3",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/preset-env": "^7.7.5",
"@babel/preset-react": "^7.7.4",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.2.1",
"css-loader": "^3.4.2",
"style-loader": "^0.23.1",
"webpack": "^4.41.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2"
}

View File

@ -14,14 +14,14 @@ class Index extends Component{
<thead>
<tr>
<th>
<h1 className="center-text text-no-select">playlist manager</h1>
<h1 className="center-text text-no-select">music tools</h1>
</th>
</tr>
</thead>
<tbody>
<tr>
<td className="center-text text-no-select ui-text" style={{fontSize: "20px"}}>
construct playlists from selections of other playlists
construct spotify playlists from selections of other playlists
</td>
</tr>
<tr>
@ -31,7 +31,7 @@ class Index extends Component{
</tr>
<tr>
<td className="center-text text-no-select ui-text">
optionally append recommendations generated by spotify
optionally append auto-generated recommendations
</td>
</tr>
<tr>

View File

@ -1,4 +1,4 @@
$font-stack: 'Lato', arial;
$font-stack: 'Roboto', arial;
$background-colour: #202124;
$ui-colour: #131313;
$light-ui: #575757;