Skip to content

Commit

Permalink
update/site (jordihales#41)
Browse files Browse the repository at this point in the history
* Bump Yarn

* Remove @nuxt/google-fonts

* Update nuxt config

* Remove prettier

* Eslint fixes

* Fix lint issues

* Prettier
  • Loading branch information
markmead authored Aug 3, 2022
1 parent 51d4059 commit 523c336
Show file tree
Hide file tree
Showing 52 changed files with 1,885 additions and 2,427 deletions.
4 changes: 1 addition & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"trailingComma": "es5",
"useTabs": false
}
5 changes: 5 additions & 0 deletions app.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

gtag('config', 'G-S8MK3EC3YK');
</script>

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;900&display=swap" rel="stylesheet">

{{ HEAD }}
</head>
<body {{ BODY_ATTRS }}>
Expand Down
8 changes: 4 additions & 4 deletions assets/data/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const fromColors = [
'from-red-800',
'from-red-900',
'from-black',
'from-white'
'from-white',
]

export const viaColors = [
Expand Down Expand Up @@ -426,7 +426,7 @@ export const viaColors = [
'via-red-900',
'via-black',
'via-white',
'none'
'none',
]

export const toColors = [
Expand Down Expand Up @@ -641,7 +641,7 @@ export const toColors = [
'to-red-800',
'to-red-900',
'to-black',
'to-white'
'to-white',
]

export const bgColors = [
Expand Down Expand Up @@ -856,5 +856,5 @@ export const bgColors = [
'bg-red-800',
'bg-red-900',
'bg-black',
'bg-white'
'bg-white',
]
20 changes: 10 additions & 10 deletions assets/data/directions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,62 +4,62 @@ export const directions = [
chevron: '',
gradient: 'bg-gradient-to-t',
radial: 'bg-radial-at-t',
conic: 'bg-conic-to-t'
conic: 'bg-conic-to-t',
},
{
key: 'bottom',
chevron: 'rotate-180',
gradient: 'bg-gradient-to-b',
radial: 'bg-radial-at-b',
conic: 'bg-conic-to-b'
conic: 'bg-conic-to-b',
},
{
key: 'left',
chevron: '-rotate-90',
gradient: 'bg-gradient-to-l',
radial: 'bg-radial-at-l',
conic: 'bg-conic-to-l'
conic: 'bg-conic-to-l',
},
{
key: 'right',
chevron: 'rotate-90',
gradient: 'bg-gradient-to-r',
radial: 'bg-radial-at-r',
conic: 'bg-conic-to-r'
conic: 'bg-conic-to-r',
},
{
key: 'top-left',
chevron: '-rotate-45',
gradient: 'bg-gradient-to-tl',
radial: 'bg-radial-at-tl',
conic: 'bg-conic-to-tl'
conic: 'bg-conic-to-tl',
},
{
key: 'top-right',
chevron: 'rotate-45',
gradient: 'bg-gradient-to-tr',
radial: 'bg-radial-at-tr',
conic: 'bg-conic-to-tr'
conic: 'bg-conic-to-tr',
},
{
key: 'bottom-left',
chevron: '-rotate-135',
gradient: 'bg-gradient-to-bl',
radial: 'bg-radial-at-bl',
conic: 'bg-conic-to-bl'
conic: 'bg-conic-to-bl',
},
{
key: 'bottom-right',
chevron: 'rotate-135',
gradient: 'bg-gradient-to-br',
radial: 'bg-radial-at-br',
conic: 'bg-conic-to-br'
conic: 'bg-conic-to-br',
},
{
key: 'center',
chevron: '',
gradient: '',
radial: 'bg-radial',
conic: 'bg-conic'
}
conic: 'bg-conic',
},
]
68 changes: 34 additions & 34 deletions assets/data/flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,162 +2,162 @@ export const gradients = [
{
name: 'Austria',
colors:
'bg-[linear-gradient(180deg,_#ED2939_33.333%,_#FFF_33.333%_66.666%,_#ED2939_66.666%)]'
'bg-[linear-gradient(180deg,_#ED2939_33.333%,_#FFF_33.333%_66.666%,_#ED2939_66.666%)]',
},
{
name: 'Belgium',
colors:
'bg-[linear-gradient(90deg,_#000_33.333%,_#FFE936_33.333%_66.666%,_#FF0F21_66.666%)]'
'bg-[linear-gradient(90deg,_#000_33.333%,_#FFE936_33.333%_66.666%,_#FF0F21_66.666%)]',
},
{
name: 'Bulgaria',
colors:
'bg-[linear-gradient(180deg,_#FFF_33.333%,_#00966E_33.333%_66.666%,_#D62612_66.666%)]'
'bg-[linear-gradient(180deg,_#FFF_33.333%,_#00966E_33.333%_66.666%,_#D62612_66.666%)]',
},
{
name: 'Chad',
colors:
'bg-[linear-gradient(90deg,_#002664_33.333%,_#FCD116_33.333%_66.666%,_#CE1126_66.666%)]'
'bg-[linear-gradient(90deg,_#002664_33.333%,_#FCD116_33.333%_66.666%,_#CE1126_66.666%)]',
},
{
name: 'Colombia',
colors:
'bg-[linear-gradient(180deg,_#FCD116_50%,_#003893_50%_75%,_#CE1126_75%)]'
'bg-[linear-gradient(180deg,_#FCD116_50%,_#003893_50%_75%,_#CE1126_75%)]',
},
{
name: 'Congo',
colors:
'bg-[linear-gradient(135deg,_#009543_40%,_#FBDE4A_40%_60%,_#DC241F_60%)]'
'bg-[linear-gradient(135deg,_#009543_40%,_#FBDE4A_40%_60%,_#DC241F_60%)]',
},
{
name: 'Costa Rica',
colors:
'bg-[linear-gradient(180deg,_#002B7F_15%,_#FFF_15%_30%,_#CE1126_30%_70%,_#FFF_70%_85%,_#002B7F_85%)]'
'bg-[linear-gradient(180deg,_#002B7F_15%,_#FFF_15%_30%,_#CE1126_30%_70%,_#FFF_70%_85%,_#002B7F_85%)]',
},
{
name: 'Estonia',
colors:
'bg-[linear-gradient(180deg,_#1291FF_33.333%,_#000_33.333%_66.666%,_#FFF_66.666%)]'
'bg-[linear-gradient(180deg,_#1291FF_33.333%,_#000_33.333%_66.666%,_#FFF_66.666%)]',
},
{
name: 'France',
colors:
'bg-[linear-gradient(90deg,_#002395_33.333%,_#FFF_33.333%_66.666%,_#ED2939_66.666%)]'
'bg-[linear-gradient(90deg,_#002395_33.333%,_#FFF_33.333%_66.666%,_#ED2939_66.666%)]',
},
{
name: 'Gabon',
colors:
'bg-[linear-gradient(180deg,_#009A44_33.333%,_#FFCD00_33.333%_66.666%,_#0072CE_66.666%)]'
'bg-[linear-gradient(180deg,_#009A44_33.333%,_#FFCD00_33.333%_66.666%,_#0072CE_66.666%)]',
},
{
name: 'Gambia',
colors:
'bg-[linear-gradient(180deg,_#EF3340_35%,_#FFF_35%_40%,_#003DA5_40%_60%,_#FFF_60%_65%,_#009639_65%)]'
'bg-[linear-gradient(180deg,_#EF3340_35%,_#FFF_35%_40%,_#003DA5_40%_60%,_#FFF_60%_65%,_#009639_65%)]',
},
{
name: 'Germany',
colors:
'bg-[linear-gradient(180deg,_#000_33.333%,_#FF0000_33.333%_66.666%,_#FFCC00_66.666%)]'
'bg-[linear-gradient(180deg,_#000_33.333%,_#FF0000_33.333%_66.666%,_#FFCC00_66.666%)]',
},
{
name: 'Guinea',
colors:
'bg-[linear-gradient(90deg,_#CE1126_33.333%,_#FCD116_33.333%_66.666%,_#009460_66.666%)]'
'bg-[linear-gradient(90deg,_#CE1126_33.333%,_#FCD116_33.333%_66.666%,_#009460_66.666%)]',
},
{
name: 'Hungary',
colors:
'bg-[linear-gradient(180deg,_#C8102E_33.333%,_#FFF_33.333%_66.666%,_#00843E_66.666%)]'
'bg-[linear-gradient(180deg,_#C8102E_33.333%,_#FFF_33.333%_66.666%,_#00843E_66.666%)]',
},
{
name: 'Indonesia',
colors: 'bg-[linear-gradient(180deg,_#C8102E_50%,_#FFF_50%)]'
colors: 'bg-[linear-gradient(180deg,_#C8102E_50%,_#FFF_50%)]',
},
{
name: 'Ireland',
colors:
'bg-[linear-gradient(90deg,_#009B48_33.333%,_#FFF_33.333%_66.666%,_#FF7900_66.666%)]'
'bg-[linear-gradient(90deg,_#009B48_33.333%,_#FFF_33.333%_66.666%,_#FF7900_66.666%)]',
},
{
name: 'Italy',
colors:
'bg-[linear-gradient(90deg,_#009246_33.333%,_#FFF_33.333%_66.666%,_#CE2B37_66.666%)]'
'bg-[linear-gradient(90deg,_#009246_33.333%,_#FFF_33.333%_66.666%,_#CE2B37_66.666%)]',
},
{
name: 'Ivory Coast',
colors:
'bg-[linear-gradient(90deg,_#F77F00_33.333%,_#FFF_33.333%_66.666%,_#009E60_66.666%)]'
'bg-[linear-gradient(90deg,_#F77F00_33.333%,_#FFF_33.333%_66.666%,_#009E60_66.666%)]',
},
{
name: 'Latvia',
colors:
'bg-[linear-gradient(180deg,_#9E1B34_40%,_#FFF_40%_60%,_#9E1B34_60%)]'
'bg-[linear-gradient(180deg,_#9E1B34_40%,_#FFF_40%_60%,_#9E1B34_60%)]',
},
{
name: 'Lithuania',
colors:
'bg-[linear-gradient(180deg,_#FDB913_33.333%,_#006A44_33.333%_66.666%,_#C1272D_66.666%)]'
'bg-[linear-gradient(180deg,_#FDB913_33.333%,_#006A44_33.333%_66.666%,_#C1272D_66.666%)]',
},
{
name: 'Luxemburg',
colors:
'bg-[linear-gradient(180deg,_#ED2939_33.333%,_#FFF_33.333%_66.666%,_#00A1DE_66.666%)]'
'bg-[linear-gradient(180deg,_#ED2939_33.333%,_#FFF_33.333%_66.666%,_#00A1DE_66.666%)]',
},
{
name: 'Mali',
colors:
'bg-[linear-gradient(90deg,_#14B53A_33.333%,_#FCD116_33.333%_66.666%,_#CE1126_66.666%)]'
'bg-[linear-gradient(90deg,_#14B53A_33.333%,_#FCD116_33.333%_66.666%,_#CE1126_66.666%)]',
},
{
name: 'Mauritius',
colors:
'bg-[linear-gradient(180deg,_#EE2737_25%,_#151F6D_25%_50%,_#FFD600_50%_75%,_#009F4D_75%)]'
'bg-[linear-gradient(180deg,_#EE2737_25%,_#151F6D_25%_50%,_#FFD600_50%_75%,_#009F4D_75%)]',
},
{
name: 'Monaco',
colors: 'bg-[linear-gradient(180deg,_#C8102E_50%,_#FFF_50%)]'
colors: 'bg-[linear-gradient(180deg,_#C8102E_50%,_#FFF_50%)]',
},
{
name: 'Netherlands',
colors:
'bg-[linear-gradient(180deg,_#AE1C28_33.333%,_#FFF_33.333%_66.666%,_#21468B_66.666%)]'
'bg-[linear-gradient(180deg,_#AE1C28_33.333%,_#FFF_33.333%_66.666%,_#21468B_66.666%)]',
},
{
name: 'Nigeria',
colors:
'bg-[linear-gradient(90deg,_#008753_33.333%,_#FFF_33.333%_66.666%,_#008753_66.666%)]'
'bg-[linear-gradient(90deg,_#008753_33.333%,_#FFF_33.333%_66.666%,_#008753_66.666%)]',
},
{
name: 'Peru',
colors:
'bg-[linear-gradient(90deg,_#D91023_33.333%,_#FFF_33.333%_66.666%,_#D91023_66.666%)]'
'bg-[linear-gradient(90deg,_#D91023_33.333%,_#FFF_33.333%_66.666%,_#D91023_66.666%)]',
},
{
name: 'Poland',
colors: 'bg-[linear-gradient(0deg,_#D22630_50%,_#FFF_50%)]'
colors: 'bg-[linear-gradient(0deg,_#D22630_50%,_#FFF_50%)]',
},
{
name: 'Romania',
colors:
'bg-[linear-gradient(90deg,_#002B7F_33.333%,_#FCD116_33.333%_66.666%,_#CE1126_66.666%)]'
'bg-[linear-gradient(90deg,_#002B7F_33.333%,_#FCD116_33.333%_66.666%,_#CE1126_66.666%)]',
},
{
name: 'Sierra Leone',
colors:
'bg-[linear-gradient(180deg,_#1EB53A_33.333%,_#FFF_33.333%_66.666%,_#0072C6_66.666%)]'
'bg-[linear-gradient(180deg,_#1EB53A_33.333%,_#FFF_33.333%_66.666%,_#0072C6_66.666%)]',
},
{
name: 'Thailand',
colors:
'bg-[linear-gradient(180deg,_#012169_15%,_#FFF_15%_30%,_#C8102E_30%_70%,_#FFF_70%_85%,_#012169_85%)]'
'bg-[linear-gradient(180deg,_#012169_15%,_#FFF_15%_30%,_#C8102E_30%_70%,_#FFF_70%_85%,_#012169_85%)]',
},
{
name: 'Ukraine',
colors: 'bg-[linear-gradient(180deg,_#005BBB_50%,_#FFD500_50%)]'
colors: 'bg-[linear-gradient(180deg,_#005BBB_50%,_#FFD500_50%)]',
},
{
name: 'Yemen',
colors:
'bg-[linear-gradient(180deg,_#F42938_33.333%,_#FFF_33.333%_66.666%,_#000_66.666%)]'
}
'bg-[linear-gradient(180deg,_#F42938_33.333%,_#FFF_33.333%_66.666%,_#000_66.666%)]',
},
]
Loading

0 comments on commit 523c336

Please sign in to comment.