Browse Source

added plausible

added matrix profile
updated footer
pull/17/head
Samuel Philipp 2 months ago
parent
commit
32d0b4b990
5 changed files with 52 additions and 14 deletions
  1. +18
    -1
      .drone.yml
  2. +3
    -3
      README.md
  3. BIN
      src/img/matrix.png
  4. +14
    -1
      src/scss/main.scss

+ 18
- 1
.drone.yml View File

@ -12,7 +12,24 @@ steps:
commands:
- npm install
- npm run build
- name: deploy
- name: deploy-develop
image: alpine
environment:
FTP_HOST:
from_secret: FTP_HOST
FTP_USERNAME:
from_secret: FTP_USERNAME
FTP_PASSWORD:
from_secret: FTP_PASSWORD
commands:
- which lftp || ( apk --update add lftp )
- lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./dist/ dev.sp-magic.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
when:
branch:
- develop
event:
- push
- name: deploy-master
image: alpine
environment:
FTP_HOST:

+ 3
- 3
README.md View File

@ -10,8 +10,8 @@ Website for sp-magic.de
The following Parameters are set directly on the Web-Server.
```
Content-Security-Policy: default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; font-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'none'
Referrer-Policy: same-origin
Content-Security-Policy: default-src 'none'; script-src 'self' https://plausible.sp-codes.de; object-src 'none'; style-src 'self'; img-src 'self' https://img.shields.io; media-src 'none'; frame-src 'none'; font-src 'self'; connect-src 'self' https://plausible.sp-codes.de
Referrer-Policy: strict-origin-when-cross-origin
Feature-Policy: sync-xhr 'self'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Content-Type-Options: nosniff
@ -19,4 +19,4 @@ X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
```
There is also a `301` Redirect from http to https.
There is also a `301` Redirect from http to https.

BIN
src/img/matrix.png View File

Before After
Width: 520  |  Height: 520  |  Size: 3.4 KiB

+ 14
- 1
src/scss/main.scss View File

@ -81,4 +81,17 @@ a:hover {
.fa-4x {
font-size: 2em;
}
}
}
.matrix-icon {
margin: 0 8px;
width: 4em;
height: 4em;
}
@media (max-width: 767.98px) {
.matrix-icon {
width: 2em;
height: 2em;
}
}

Loading…
Cancel
Save