devhatt / devhatt/octopost

Adaptar MainContent para o Mobile

Open
#608 2 comments 0 reactions 0 assignees View on GitHub
Medium mobile MVP waiting-for-another-issue
Dominant language
TypeScript
Stars
75
Forks
45
PR merge metrics
No merged PRs in 30d

Description

## Describe the feature

Atualmente o componente `MainContent` não aparece na versão mobile, sua tarefa é fazer a responsividade do layout e a adaptação para que ele esteja no lugar certo conforme o Layout do [Figma](https://www.figma.com/design/peiX1rvJum4D1RV99Fchqw/Layout-Octo?node-id=55973-10400&node-type=FRAME&t=AmR8MYIDHipqtj7Y-0)

## Use Case

Na versão mobile o componente `MainContent` vira uma tab chamada `All` junto as contas ativas conforme circulado em amarelo na imagem. A funcionalidade é a mesma do Desktop, se você selecionar uma tab, as outras devem estar deselecionadas, assim, conseguimos alternar entre as tabs.

## Implementation Details

Você deve alterar a estilização do componente `MainContent` para que ele encaixe em telas Mobile, esse componente deve fazer parte das tabs do tabber, que, só será renderizado em resoluções Mobile e seguirá alternando a seleção com as demais tabs.

## Visual Concepts

![image](https://github.com/user-attachments/assets/0f5b8d73-3f58-4af4-9068-3cfe759ef49a)

![image](https://github.com/user-attachments/assets/010210dd-503d-4b83-bd50-3a5e17741d4d)

## Additional Information

**Importante:** essa task é dependente da seguinte task:
- #582

Contributor guide

Open the contributing guide

Research direction

Review dependent issue #582 first, then locate the MainContent component and the tabber entry point. Compare the mobile Figma frames with the current desktop behavior and verify that MainContent appears as the All tab only on mobile, with exclusive tab selection and unchanged desktop behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, sass, typescript
Domain
frontend, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.