Coder Social home page Coder Social logo

betarena / scores Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 5.0 21.04 MB

We are building the first open-source live results and statistics platform with community involvement features for data insertion. The project includes a blockchain component that will allow participants to receive rewards based on their participation and also to stake the future Token of the platform.

License: GNU General Public License v3.0

JavaScript 0.18% CSS 5.26% HTML 11.34% TypeScript 11.72% Svelte 70.21% Dockerfile 0.03% Makefile 0.62% Procfile 0.01% Shell 0.01% SCSS 0.62%
sports sports-stats blockchain token

scores's Introduction

ESLint TypeScript Svelte CSS3 SASS Firebase GitHub Actions

DeepSource


📑 Table of Contents

About

Betarena Scores Platform

We are building the first open-source live results and statistics platform with community involvement features for data insertion. The project includes a blockchain component that will allow participants to receive rewards based on their participation and also to stake the future Token of the platform.

⚙ Development / Project

See the .docs/ directory for more (1) information about the project, (2) it's quirks, (3) code-style, (4) how to setup development, and more.

🚦 Roadmap

See the open issues for a list of proposed features (and known issues).

  • Top Feature Requests (Add your votes using the 👍 reaction)
  • Top Bugs (Add your votes using the 👍 reaction)
  • Newest Bugs

🛠 Contributing

Do you wish to contribute to the project ? 🚀🥳

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Please adhere to this project's code of conduct.

Please visit the discussions-contributing-guide for more information on how to get started on contributing to the project and repository.

💗 Support

Reach out to the maintainer at one of the following places:

GitHub discussions

The email which is located in GitHub profile - [add-email]

📌 License

This project is licensed under the MIT license. Feel free to edit and distribute this template as you like.

See LICENSE for more information.

scores's People

Contributors

izobov avatar jonsnowpt avatar migbash avatar omahs avatar pomjet avatar reiacosta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scores's Issues

Implement Featured Match into sveltekit

Using what has already been developed from featured_match we now need to adapt it for use with svelte kit. We need to ensure that the content is read by search engines, especially the future links that will be associated with the names and logos of the teams and featured players.

Tasks:

  • Work on the new scores_featured_match repository - https://github.com/Betarena/scores_featured_match
  • Adapt the CSS to the sizes of the new platform;
  • Add the place-holder as defined in the design (FIGMA)
  • Available in light and dark theme depending on the selection of the user;
  • Respect the selected language;
  • Create the corresponding documentation;
  • Add to the new scores platform;
  • Correct Firebase and GraphQL connection
  • SVG - placeholder - loading

robots.txt is not valid

robots.txt is not valid 1 error found
Content Best PracticesFormat your HTML in a way that enables crawlers to better understand your app’s content.

Theme selection

Now that we will implement the first widget the theme selection should work, and the selections made by the user should be kept for the next visit.

The theme selection will affect all widgets available on-page, we will need a global variable.

Add Google Analytics to the Scores Platform - Header

We need to add the GA code to the Scores platform, this should be added on the Header to be available on all platform.

GA-Code:

UA-60160331-9

`

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-60160331-9"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-60160331-9'); </script>

`

Define Code organization / design

We should have a few organizational tips on how to prepare the code for future developers that want to be part of the project so that we can keep a high-quality platform, that is relatively homogeneous and easy to understand.

This information will be added to our discussions in Github.

Yandex Metrica Instalation

Code Snnipet:

`

<script type="text/javascript" > (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(86583540, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); </script>

`

Logo change to SVG

My mistake was not to change to webp but to SVG, by default for logos we should always use SVG.

Desktop CSS - Max Width 1378px

The max-width is not defined at the time and it is working as a Full-Width layout. Needs correction.

This can be confirmed in Figma.

Implement Featured Betting Sites

Using what has already been developed from featured_betting_sites we now need to adapt it for use with svelte kit. We need to ensure that the content is read by search engines, especially the future links that will be associated with the names and logos of the teams and featured players.

Tasks:

  • Work on the new scores_featured_match repository - https://github.com/Betarena/scores_featured_betting_sites
  • Use of Sveltekit and make the necessary changes
  • Adapt the CSS to the sizes of the new platform;
  • Add the place-holder as defined in the design (FIGMA)
  • Available in light and dark theme depending on the selection of the user;
  • Respect the selected language;
  • Create the corresponding documentation;
  • Add to the new scores platform;
  • Correct Firebase and GraphQL connection
  • SVG - placeholder - loading
  • Use of Redis cache for better results;
  • SEO Friendly widget;

@migbash Endpoint with the translations:

https://cloud.hasura.io/project/1b086d12-8b64-462e-b7cc-f3f5e2c1702d/console/data/betarena_dev/schema/public/tables/scores_featured_betting_sites_translations_dev/browse

SEO Details for the homepages

We need to add the SEO details for the homepage in different languages. On the homepage, the Schema is not necessary.

The data is already available in the Database:

scores_seo_homepage_dev

Example for guidance bellow:

`EN:

title: Betarena is the Fastest Football Results and Live Score for Sports Fans

keywords: live score

description: Betarena is the fastest Live Score for bettors and sports fans, including NBA scores and football results. Check out football today's results!

noindex = false
nofollow = false

canonical = https://scores.betarena.com

OPENGRAPH:

<SvelteSeo
openGraph={{
title: 'Betarena is the fastest football results and Live Score for sports fans!',
description: 'Betarena is the fastest Live Score for bettors and sports fans, including NBA scores and football results. Check out football today's results!',
url: 'https://scores.betarena.com',
type: 'website',
locale: 'en_GB',
images: [
{
url: 'https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg',
width: 850,
height: 650,
alt: 'Betarena Live Score'
}
]
}}
/>

TWITTER CARD:

<SvelteSeo
twitter={{
site: "@betarenasocial",
title: "Betarena is the fastest football results and Live Score for sports fans!",
description: "Betarena is the fastest Live Score for bettors and sports fans, including NBA scores and football results. Check out football today's results!",
image: "https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg",
imageAlt: "Betarena Live Score",
}}
/>

ES:

title: Betarena: Resultados de fútbol en directo, MisMarcadores

keywords: mis marcadores

description: Marcadores y resultados de fútbol en directo, incluyendo los resultados de la NBA y del fútbol. ¡Consulta los mis marcadores de fútbol de hoy!

noindex = false
nofollow = false

canonical = https://scores.betarena.com/es

OPENGRAPH:

<SvelteSeo
openGraph={{
title: 'Betarena: Resultados de fútbol en directo, MisMarcadores',
description: 'Marcadores y resultados de fútbol en directo, incluyendo los resultados de la NBA y del fútbol. ¡Consulta los mis marcadores de fútbol de hoy!',
url: 'https://scores.betarena.com/es',
type: 'website',
locale: 'es_ES',
images: [
{
url: 'https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg',
width: 850,
height: 650,
alt: 'Betarena fútbol en directo'
}
]
}}
/>

TWITTER CARD:

<SvelteSeo
twitter={{
site: "@betarenasocial",
title: "Betarena: Resultados de fútbol en directo, MisMarcadores",
description: "Marcadores y resultados de fútbol en directo, incluyendo los resultados de la NBA y del fútbol. ¡Consulta los mis marcadores de fútbol de hoy!",
image: "https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg",
imageAlt: "Betarena fútbol en directo",
}}
/>

BR

Title: Betarena: Jogos de Hoje e Resultados ao Vivo do Campeonato Brasileiro

keywords: jogos de hoje

description: Placar ao vivo com os resultados dos jogos de hoje e futebol ao vivo, informação sobre esporte e apostas do campeonato brasileiro.

noindex = false
nofollow = false

canonical = https://scores.betarena.com/br

<SvelteSeo
openGraph={{
title: 'Betarena jogos de hoje e resultados ao vivo do campeonato brasileiro',
description: 'Placar ao vivo com os resultados dos jogos de hoje e futebol ao vivo, informação sobre esporte e apostas do campeonato brasileiro.',
url: 'https://scores.betarena.com/br',
type: 'website',
locale: 'pt_BR',
images: [
{
url: 'https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg',
width: 850,
height: 650,
alt: 'Betarena Jogos de Hoje'
}
]
}}
/>

TWITTER CARD:

<SvelteSeo
twitter={{
site: "@betarenasocial",
title: "Betarena jogos de hoje e resultados ao vivo do campeonato brasileiro",
description: "Placar ao vivo com os resultados dos jogos de hoje e futebol ao vivo, informação sobre esporte e apostas do campeonato brasileiro.",
image: "https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg",
imageAlt: "Betarena Jogos de Hoje",
}}
/>

PT

title: Betarena: Os Meus Resultados Para os Jogos de Hoje da Liga Nos

keywords: meus resultados

description: Os meus resultados para a os jogos de hoje para a liga portuguesa com informação desportiva e apostas para a liga nos e as outras competições.

noindex = false
nofollow = false

canonical = https://scores.betarena.com/pt

OPENGRAPH:

<SvelteSeo
openGraph={{
title: 'Betarena: Os Meus Resultados Para os Jogos de Hoje da Liga Nos',
description: 'Os meus resultados para a os jogos de hoje para a liga portuguesa com informação desportiva e apostas para a liga nos e as outras competições.',
url: 'https://scores.betarena.com/pt',
type: 'website',
locale: 'pt_PT',
images: [
{
url: 'https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg',
width: 850,
height: 650,
alt: 'Betarena Meus Resultados'
}
]
}}
/>

TWITTER CARD:

<SvelteSeo
twitter={{
site: "@betarenasocial",
title: "Betarena: Os Meus Resultados Para os Jogos de Hoje da Liga Nos",
description: "Os meus resultados para a os jogos de hoje para a liga portuguesa com informação desportiva e apostas para a liga nos e as outras competições.",
image: "https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg",
imageAlt: "Betarena Meus Resultados",
}}
/>

IT

title: Betarena: Calcio Risultati in Diretta Serie A Livescore

keywords: diretta

description: Segui i risultati serie A in diretta, il livescore più veloce, consigli per le scommesse, notizie sportive. Diretta gol!

noindex = false
nofollow = false

canonical = https://scores.betarena.com/it

OPENGRAPH:

<SvelteSeo
openGraph={{
title: 'Betarena: Calcio Risultati in Diretta Serie A Livescore',
description: 'Segui i risultati serie A in diretta, il livescore più veloce, consigli per le scommesse, notizie sportive. Diretta gol!',
url: 'https://scores.betarena.com/it',
type: 'website',
locale: 'it_IT',
images: [
{
url: 'https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg',
width: 850,
height: 650,
alt: 'Betarena Diretta'
}
]
}}
/>

TWITTER CARD:

<SvelteSeo
twitter={{
site: "@betarenasocial",
title: "Betarena: Calcio Risultati in Diretta Serie A Livescore",
description: "Segui i risultati serie A in diretta, il livescore più veloce, consigli per le scommesse, notizie sportive. Diretta gol!",
image: "https://www.betarena.com/wp-content/uploads/2021/12/betarena_scores.jpeg",
imageAlt: "Betarena Diretta",
}}
/>

`

Add all header options with lang option changing the translations and URL

Add all header options and implement the translation variations for that options. When changing the language, besides changing the expressions it needs to change the URL and SEO.

Translations DEV DB:

https://cloud.hasura.io/project/1b086d12-8b64-462e-b7cc-f3f5e2c1702d/console/data/betarena_dev/schema/public/tables/scores_header_translations/browse

Important:

The default domain is the EN version.

URL Language Indication:

EN:

https://scores.betarena.com

BR example:

https://scores.betarena.com/br

Screenshot 2021-11-24 at 09 59 25

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.