Skip to content

Commit

Permalink
Merge pull request #40 from VaalJeef/main
Browse files Browse the repository at this point in the history
Modif du favicon
  • Loading branch information
VaalJeef authored Apr 26, 2022
2 parents 6616953 + c45342f commit 31d6c13
Show file tree
Hide file tree
Showing 16 changed files with 173 additions and 113 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '17 11 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
21 changes: 21 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Binary file modified public/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicons/favicon.ico
Binary file not shown.
96 changes: 48 additions & 48 deletions public/favicons/manifest.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
{
"name": "TrombiFab - Digifab",
"short_name": "TrombiFab",
"icons": [
{
"src": "/android-chrome-36x36.png?v=1",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/android-chrome-48x48.png?v=1",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/android-chrome-72x72.png?v=1",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/android-chrome-96x96.png?v=1",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/android-chrome-144x144.png?v=1",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/android-chrome-192x192.png?v=1",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-256x256.png?v=1",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png?v=1",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#212121",
"background_color": "#EEEEEE",
"start_url": "https://digifab-dev.github.io/TrombiFab/",
"display": "browser"
"name": "TrombiFab - Digifab",
"short_name": "TrombiFab",
"icons": [
{
"src": "/android-chrome-36x36.png?v=1",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/android-chrome-48x48.png?v=1",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/android-chrome-72x72.png?v=1",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/android-chrome-96x96.png?v=1",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/android-chrome-144x144.png?v=1",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/android-chrome-192x192.png?v=1",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-256x256.png?v=1",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png?v=1",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#212121",
"background_color": "#FFFFFF",
"start_url": "https://digifab-dev.github.io/TrombiFab/",
"display": "browser"
}
65 changes: 17 additions & 48 deletions public/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,50 +1,19 @@
{
"name": "TrombiFab - Digifab",
"short_name": "TrombiFab",
"icons": [
{
"src": "/android-chrome-36x36.png?v=1",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/android-chrome-48x48.png?v=1",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/android-chrome-72x72.png?v=1",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/android-chrome-96x96.png?v=1",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/android-chrome-144x144.png?v=1",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/android-chrome-192x192.png?v=1",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-256x256.png?v=1",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png?v=1",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#212121",
"background_color": "#EEEEEE",
"start_url": "https://digifab-dev.github.io/TrombiFab/",
"display": "browser"
"name": "TrombiFab - Digifab",
"short_name": "TrombiFab",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#212121",
"background_color": "#FFFFFF",
"display": "browser"
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<link
rel="mask-icon"
href="%PUBLIC_URL%/safari-pinned-tab.svg?v=1"
color="#2196F3"
color="#285A84"
/>

<!-- Mettre à jour ce lien après chaque mise à jour du paquet -->
Expand Down
6 changes: 3 additions & 3 deletions public/sketch-particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Particle.prototype = {
this.wander = 0.15;
this.theta = random(TWO_PI);
this.drag = 0.92;
this.color = '#EEEEEE';
this.color = '#FFFFFF';

this.x = x || 0.0;
this.y = y || 0.0;
Expand Down Expand Up @@ -62,8 +62,8 @@ var particles = [];
var pool = [];

var COLOURS = [
'#E3F2FD', '#BBDEFB', '#90CAF9', '#64B5F6', '#42A5F5', '#2196F3', '#1E88E5', '#1976D2', '#1565C0', '#0D47A1', // Blue 50->900
'#FFF8E1', '#FFECB3', '#FFE082', '#FFD54F', '#FFCA28', '#FFC107', '#FFB300', '#FFA000', '#FF8F00', '#FF6F00' // Amber 50->900
'#E3F2FD', '#BBDEFB', '#90CAF9', '#64B5F6', '#F7777A', '#6F91AD', '#285A84', '#1976D2', '#1565C0', '#0D47A1', // Blue 50->900
'#FFF8E1', '#FFECB3', '#FFE082', '#FFD54F', '#FFCA28', '#F7777A', '#FFB300', '#FFA000', '#FF8F00', '#FF6F00' // Amber 50->900
];

var CONTAINER = document.getElementById('sketch-particles');
Expand Down
2 changes: 1 addition & 1 deletion src/components/BatchCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const BatchCards = ({ persons, numberPerBatch = 16 }: any) => {

const infoCardContainer: object = {
padding: 20,
backgroundColor: "#42a5f5",
backgroundColor: "#F7777A",
borderRadius: 10,
flexDirection: "row",
display: "flex",
Expand Down
16 changes: 8 additions & 8 deletions src/index.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// https://sass-lang.com/guide

/* Blue 400-500-600 */
$color--primary-light: #42a5f5;
$color--primary: #2196f3;
$color--primary-dark: #1e88e5;
$color--primary-light: #f7777a;
$color--primary: #6f91ad;
$color--primary-dark: #285a84;

/* Amber 400-500-600 */
$color--secondary-light: #ffca28;
$color--secondary: #ffc107;
$color--secondary: #f7777a;
$color--secondary-dark: #ffb300;

/* Gray 100-500-900 */
Expand All @@ -24,7 +24,7 @@ $colors: (
secondary-dark: $color--secondary-dark,
additional1: $color--additional1,
additional2: $color--additional2,
additional3: $color--additional3
additional3: $color--additional3,
);

.leaflet-container {
Expand Down Expand Up @@ -74,7 +74,7 @@ svg {

body {
min-width: 22.25rem;
font-family: "Roboto Condensed", sans-serif;
font-family: "Comfortaa", sans-serif;
cursor: default;
}

Expand Down Expand Up @@ -311,7 +311,7 @@ main {
max-height: 4.5rem;
min-height: 5rem;
width: auto;
padding: 1.5rem 1rem 2rem !important;
padding: 1.5rem 1rem 2rem !important;
margin: 0;
white-space: nowrap;
overflow: hidden;
Expand All @@ -325,7 +325,7 @@ main {
max-height: 4.5rem;
min-height: 5rem;
width: auto;
padding: 1.2rem 1rem 2rem !important;
padding: 1.2rem 1rem 2rem !important;
font-size: 18px;
margin: 0;
white-space: nowrap;
Expand Down
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import "./index.scss"

WebFont.load({
google: {
// families: ["Roboto Condensed:300,400,700", "sans-serif"]
// families: ["Roboto Condensed:300,400,700&display=swap"]
families: ["Roboto Condensed:300,400,700&display=swap&subset=latin-ext"],
// families: ["Comfortaa:300,400,700", "sans-serif"]
// families: ["Comfortaa:300,400,700&display=swap"]
families: ["Comfortaa:300,400,700&display=swap&subset=latin-ext"],
},
})

Expand Down
2 changes: 1 addition & 1 deletion src/util/UsersDataCleanup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const allCountryNamesCleaned = people.map((person: Person) => {
// remplace 2 ou plusieurs espaces par un seul.
.replace(/ +/g, " ")
.trim()
// .toLowerCase()
.toLowerCase()
)
})

Expand Down

0 comments on commit 31d6c13

Please sign in to comment.