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

Adding Alura's Immersion project to the showcase #319

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
37 changes: 16 additions & 21 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
env: {
browser: true,
es2021: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
},
};
extends: ['plugin:react/recommended', 'airbnb'],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: 'module',
},
plugins: ['react'],
rules: {
'react/jsx-filename-extension': [1, { extensions: ['.js', '.jsx'] }],
},
}
2 changes: 2 additions & 0 deletions contributors/bentoco.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bentoco
https://tibia-quizz.bentoco.vercel.app/
174 changes: 116 additions & 58 deletions db.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,119 @@
{
"bg": "https://www.hitalent.co/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBMmJDQXc9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--1452099b706ad7d079f7a3a4dd5d702ebeeae45f/HiTalent.png",
"title": "Quiz JavaScript #AluraQuiz",
"description": "Um quiz rápido sobre o mundo do JavaScript",
"questions": [
{
"image": "https://media.giphy.com/media/j5P0DQIOf4PonLi55G/giphy.gif",
"title": "Qual a diferença entre = , == e === ?",
"description": "Pergunta fácil em!",
"answer": 1,
"alternatives": [
"São a mesma coisa",
"O = significa atribuição de valor. Já == verifica a igualdade do valor, enquanto === verifica valor e tipo de variável."
]
},
{
"image": "https://media.giphy.com/media/Ie2Hs3A0uJRtK/giphy.gif",
"title": "Que tipos de dados são suportados em JavaScript?",
"description": "E agora? Você sabe?",
"answer": 0,
"alternatives": [
"Number, String, Undefined, Null e Bool.",
"Int, String, Undefined, Null e Bool."
]
},
{
"image": "https://media.giphy.com/media/iI4vhciiVh2b3j9sgo/giphy.gif",
"title": "Qual a diferença de window e global?",
"answer": 1,
"alternatives": [
"São a mesma coisa",
"window é o escopo global no browser, e global no node"
]
},
{
"image": "https://media.giphy.com/media/iI4vhciiVh2b3j9sgo/giphy.gif",
"title": "Qual a forma antiga de trabalhar com AJAX na Web?",
"answer": 1,
"alternatives": [
"JSONHttpRequest",
"XMLHttpRequest",
"fetch"
]
"bg": "https://i.imgur.com/omi25W8.jpg",
"logo": "https://i.imgur.com/I7XsveX.png",
"title": "Tibia Quizz",
"description": "Um questionário para testar sua experiência como guerreiro tibiano",
"questions": [
{
"image": "https://www.tibiawiki.com.br/images/d/d0/Cipfried.gif",
"title": "Qual nível você deve estar para deixar Rookgaard?",
"description": "Essa é pra aquecer",
"answer": 3,
"alternatives": ["13", "7", "10", "8"]
},
{
"image": "https://www.tibiawiki.com.br/images/c/ce/Orshabaal.gif",
"title": "Qual cidade o boss Orshabaal nasce sempre que a invasão acontece?",
"description": "Essa tá fácil vai... haha",
"answer": 2,
"alternatives": ["Carlin", "Roshamuul", "Edron", "Ab'Dendriel"]
},
{
"image": "https://www.tibiawiki.com.br/images/a/a9/The_Demon_Oak.gif",
"title": "É necessário matar quantos Demons para realizar a The Demon Oak Quest?",
"description": "Não vale olhar no wiki!!!",
"answer": 2,
"alternatives": ["666", "1239", "6666", "999"]
},
{
"image": "https://www.tibiawiki.com.br/images/f/fd/Magic_Sword.gif",
"title": "Quais criaturas enfrentamos dentro da The Annihilator Quest?",
"description": "Hmm... tá começando a esquentar...",
"answer": 3,
"alternatives": [
"Demons e Dark Magicians",
"Angry Demons e Demons",
"Demons Skeleton e Hunters",
"Angry Demons e Fire Elementals"
]
},
{
"image": "https://www.tibiawiki.com.br/images/9/9d/Minotaur_Archer.gif",
"title": "Qual magia devemos utilizar para invocar a criatura Minotaur Archer",
"description": "Tá olhando wiki não, né?",
"answer": 0,
"alternatives": [
"utevo res Minotaur Archer",
"exura sio Minotaur Archer",
"utevo res ina Minotaur Archer",
"exevo vita vis Minotaur Archer"
]
},
{
"image": "https://www.tibiawiki.com.br/images/2/2d/Pair_of_Soft_Boots.gif",
"title": "Onde podemos adquirir um par de Soft Boots?",
"description": "A clássica!",
"answer": 1,
"alternatives": [
"The Annihilator Quest",
"The Pits of Inferno Quest",
"The Demon Oak",
"The Inquisition Quest"
]
},
{
"image": "https://www.tibiawiki.com.br/images/c/ce/The_Epic_Wisdom.gif",
"title": "Qual item raro devemos entregar para o NPC e completarmos Mage Outfit full?",
"description": "Pensa num itemzinho caro...",
"answer": 2,
"alternatives": [
"Hat of the Mad",
"Mage's Cap",
"Ferumbras Hat",
"Golden Helmet"
]
},
{
"image": "https://www.tibiawiki.com.br/images/a/af/Four-Leaf_Clover.gif",
"title": "Qual montaria podemos adquirir com o item Four-Leaf Clover? ",
"description": "Só quem sabe, sabe ",
"answer": 3,
"alternatives": [
"Crystal Wolf",
"Dromedary",
"Midnight Panther",
"Lady Bug"
]
},
{
"image": "https://www.tibiawiki.com.br/images/7/7d/Icone6.png",
"title": "Em qual ilha tibiana iniciamos o jogo? ",
"description": "Juro que ainda tá fácil",
"answer": 0,
"alternatives": ["Downport", "Rookgaard", "Carlin", "Thais"]
},
{
"image": "https://www.tibiawiki.com.br/images/a/ac/Cip_post_icon.gif",
"title": "Em que ano foi criado o Tibia? ",
"description": "",
"answer": 3,
"alternatives": ["1992", "1998", "1994", "1997"]
}
],
"external": [
"https://flow-quiz.garubieru.vercel.app/",
"https://mrrobot-quiz.xandowski.vercel.app/",
"https://kimetsuquiz-base.lilitbandeira.vercel.app/"
],
"theme": {
"colors": {
"primary": "#14213d",
"secondary": "#9a031e",
"mainBg": "#1d3557",
"contrastText": "#fca311",
"wrong": "#fb5607",
"success": "#2b9348"
},
"borderRadius": "4px"
}
],
"external": [
"https://aluraquiz-css.omariosouto.vercel.app/",
"https://aluraquiz-devsoutinho.omariosouto.vercel.app/"
],
"theme": {
"colors": {
"primary": "#222222",
"secondary": "#e89c3f",
"mainBg": "#213f4e",
"contrastText": "#FFFFFF",
"wrong": "#FF5722",
"success": "#4CAF50"
},
"borderRadius": "4px"
}
}
11 changes: 4 additions & 7 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module.exports = {
images: {
domains: [
'assets.vercel.com',
'api.screenshotmachine.com',
],
},
};
images: {
domains: ['assets.vercel.com', 'api.screenshotmachine.com'],
},
}
Loading