Coder Social home page Coder Social logo

darkghost7 / yearn-comms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yearn/yearn-comms

0.0 0.0 1.0 117.35 MB

Collection of communication, announcements, tweets, newsletters, and other articles about yearn and a hosted Jekyll blog for all translation contributors.

Home Page: https://blog.yearn.finance

License: MIT License

CSS 4.56% JavaScript 94.78% Shell 0.66%

yearn-comms's Introduction

yearn-comms

This is a collection of communication, announcements, tweets, newsletters, and other articles about yearn.

How to run

  • Install yarn.
  • Run yarn to install dependencies.
  • Run yarn run dev to run the blog.
  • Navigate to http://localhost:3000 to access the blog.

How to contribute

  • All the articles, announcements, newletters and tweets are stored in the public/_posts folder.

  • All the translations should be .md files, with a name matching the locale you want to write the article in. The supported name files are :

    en.md, fr.md, es.md, de.md, pt.md, el.md, tr.md, vi.md, zh.md, hi.md, ja.md, ru.md

  • Once a new article is published, a new subfolder will be created with the slug of the article. This will be the URI to access this article:

    Article name: "What is a DAO" -> Slug should be what-is-a-dao -> URI will be /article/what-is-a-dao

  • The default article is the one named en.md

  • Contributors should fork the repository and click the Add new File button on Github, copy the content of the en.md file and name the file <locale>.md

  • Contributors could fill the translator: field with their name/tag in the header of the article to get credited on the website

  • Contributors could translate the title: field in the header of the article

Relevant Structure

yearn-comms/
├── README.md
├── components/
│   ├── icons/                              # Set of SVG icons translated to React components.
│   └── xxxx.js                             # List of components used accross the blog.
├── contexts/
│   ├── useLocalization.js                  # Context to handle the localization system.
│   └── useUI.js                            # Context to handle the light/dark theme.
├── hooks/
│   └── useLocalStorage.js                  # Hook to store some state in the local storage.
├── localization/
│   └── [locale].json                       # Set of localized strings.
├── pages/
│   └── *.js                                # All the pages and system of the blog. Used by NextJS.
├── public/
│   ├── _posts/
│   │   ├── _announcements/*                # Set of folders and subfolders containing the announcements.
│   │   ├── _articles/*                     # Set of folders and subfolders containing the articles.
│   │   ├── _financials/*                   # Set of folders and subfolders containing the financials.
│   │   ├── _newsletters/*                  # Set of folders and subfolders containing the newsletters.
│   │   ├── _podcasts/*                     # Set of folders and subfolders containing the podcasts.
│   │   └── _tweets/*                       # Set of folders and subfolders containing the tweets.
│   ├── favicons/                           # Favicons used by the blog
│   ├── default.jpeg                        # default cover image used by the blog
│   └── og.png                              # Open Graph image used by the blog
├── utils/
│   └── *.js                                # Set of useful functions used by the blog system.
└── style/Default.css                       # Default CSS used by the blog.

yearn-comms's People

Contributors

bee926 avatar cripu avatar cryptoouf-blog avatar darkghost7 avatar dastronom avatar delace19 avatar dependabot[bot] avatar fadingflea avatar foxthesin avatar gateway-504 avatar giosereth avatar jeffor12 avatar jengajojo avatar jktranslator avatar majorfi avatar marcoworms avatar miguel567 avatar nesyeth avatar nymmrx avatar qosmonot avatar restlessmike avatar sollido avatar stathismazarakos avatar urs4maj0r avatar xiaona423 avatar xy-cypher avatar

Forkers

mariuspod

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.