Git Product home page Git Product logo

desight's Introduction

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

This is Desight Website project

проект поделен на основные части:

  • app – место для всех страниц, которые будут в проекте
  • components разделяется на два раздела
    • обычные компоненты (@components/*)
    • компоненты-секции (@sections/*)
  • все картинки находятся в одном месте (@images/*)

отдельные моменты

  • обратите внимание на то, как расписаны пути в tsconfig
"@/*": ["./src/*"],
"@public/*": ["./public/*"],
"@images/*": ["./public/images/*"],
"@styles/*": ["./src/styles/*"],
"@components/*": ["./src/components/*"],
"@sections/*": ["./src/components/sections/*"]
  • все scss-variables автоматически импортируются во все scss файлы
  • первым делом изучите variables и globals – с большой вероятностью вам не придется стилизовать текстовые элементы
  • обязательно использовать цвета из variables – этот проект будет с нами очень долго, будем его постоянно улучшать, поэтому нужна возможность удобно менять цвета
  • все переиспользуемые элементы css обязательно прописывать либо в globals, либо в variables. не должно быть повторяющегося css

desight's People

Contributors

matveisch avatar lidkovsky avatar mistifikatorcat avatar

Stargazers

Nata Li avatar  avatar

Watchers

 avatar

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.