Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adicionando meu projeto na imersão #411

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
23 changes: 23 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
},
};
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"eslint.debug": true,
"eslint.format.enable": true
}
2 changes: 2 additions & 0 deletions contributors/brunomspais.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BrunoMSPais
https://aluraquiz-nu.vercel.app/
110 changes: 91 additions & 19 deletions db.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,111 @@
{
"bg": "https://i2.wp.com/css-tricks.com/wp-content/uploads/2017/06/css-is-awesome-scaled.jpg?resize=1536%2C1208&ssl=1",
"title": "Quiz CSS da Alura",
"description": "Teste os seus conhecimentos sobre CSS e vamos ver quantos layouts você vai deixar de quebrar",
"bg": "https://wallpaperaccess.com/full/265236.jpg",
"title": "Enigma Quiz",
"description": "Será que você sabe a resposta para os enigmas???",
"questions": [
{
"image": "https://media.giphy.com/media/xUOxf3yDKCuwpOlT3i/giphy.gif",
"title": "Como fazer um seletor por id via CSS?",
"description": "Essa é pra aquecer",
"image": "https://super.abril.com.br/wp-content/uploads/2018/12/viagem.png",
"title": "Sem sair do meu canto sou capaz de viajar pelo mundo. O que sou eu?",
"description": "Não viaja...",
"answer": 2,
"alternatives": [
".elemento",
"*elemento",
"#elemento",
"%elemento"
"A TV",
"O computador",
"O selo",
"O telemóvel"
]
},
{
"image": "https://media.giphy.com/media/13FrpeVH09Zrb2/giphy.gif",
"title": "Como fazer um background gradiente com css?",
"description": "Faz tempo em haha",
"image": "https://www.asbeiras.pt/wp-content/uploads/2019/10/agua.jpg",
"title": "Sou feito de água e dentro de água morro. O que sou eu?",
"description": "Não metas agua nesta",
"answer": 2,
"alternatives": [
"Agua viva",
"Gelatina",
"Gêlo"
]
},
{
"image": "https://i.pinimg.com/originals/28/9a/f8/289af8ec821583d4663d14f94fb4b99e.jpg",
"title": "Existo por uma vez num minuto, por duas a cada momento nunca em quinhentos anos...",
"description": "Whaaatt????",
"answer": 1,
"alternatives": [
"A letra '0'",
"A letra 'M'",
"A letra 'U'"
]
},
{
"image": "https://www.marciafernandes.com.br/site/wp-content/uploads/2012/02/energia_olhar.jpg",
"title": "Olha-me no rosto e não encontrarás 13",
"description": "Olha...",
"answer": 2,
"alternatives": [
"Espelho",
"Calendário",
"Relógio"
]
},
{
"image": "https://chocolategurlworld.files.wordpress.com/2014/07/wpid-12.jpg",
"title": "Sempre a caminho mas nunca chega",
"description": "Conheço uns quantos...",
"answer": 1,
"alternatives": [
"Caracol",
"Futuro",
"Tartaruga",
"Destino"
]
},
{
"image": "https://www.kik.com/uploads/files/unamused.gif",
"title": "Sou teu para ser usado por todos",
"description": "Hum! O que é isso? O que é meu, é meu.",
"answer": 0,
"alternatives": [
"O teu nome",
"O teu dinheiro",
"A tua companhia",
"O teu olhar"
]
},
{
"image": "https://www.memecreator.org/static/images/templates/2211952.jpg",
"title": "Sou mais útil quando me quebram",
"description": "O que será?",
"answer": 0,
"alternatives": [
"background: linear-gradient(#e66465, #9198e5);",
"background: gradient(#e66465, #9198e5);"
"O ovo",
"O lacre",
"O tabú"
]
},
{
"image": "https://cdn-prod.medicalnewstoday.com/content/images/articles/170/170634/double-vision-blurred-hand-crop.jpg",
"title": "De ti faço dois",
"description": "Para terminar",
"answer": 2,
"alternatives": [
"Foto",
"Video",
"Reflexo",
"Cópia"
]
}
],
"external": [
""
"https://quiz-react.brenoha.vercel.app/",
"https://pinkfloyd-quiz.denismend.vercel.app/",
"https://mastermindquiz.thiagodc1001.vercel.app/"
],
"theme": {
"colors": {
"primary": "#0d47a1",
"secondary": "#29b6f6",
"mainBg": "#171B35",
"primary": "#1b5e20",
"secondary": "#81c784",
"mainBg": "#124116",
"contrastText": "#FFFFFF",
"wrong": "#FF5722",
"success": "#4CAF50"
Expand Down
Loading