import React, { useState, useCallback } from "react"; import ExerciseWalkthrough from "@/training/ExerciseWalkthrough"; import { ITrainingTip, WalkthroughConfigs } from "./TrainingInterfaces"; // This wrapper is just to test new exercises from the handbook, will be removed when all the tips and exercises are in firestore const TrainingExercise: React.FC = (trainingTip: ITrainingTip) => { const leftText = "
CategoryOption AOption B
SelfYou need to take care of yourself and connect with the people around you.Focus on your interests and talents and meet people who are like you.
HomeIt's a good idea to paint your living room yellow.You should arrange your home so that it makes you feel happy.
Financial LifeYou can be happy if you have enough money, but don't want money too much.If you waste money on things you don't need, you won't have enough money for things that you do need.
Social LifeA good group of friends can increase your happiness.Researchers say that a happy friend can increase our mood by nine percent.
WorkplaceYou spend a lot of time at work, so you should like your workplace.Your boss needs to be someone you enjoy working for.
CommunityThe place where you live is more important for happiness than anything else.Live around people who have the same amount of money as you do.
"; const tip = { category: "Strategy", body: "

Look for clues to the main idea in the first (and sometimes second) sentence of a paragraph.

" } const question = "

Identifying Main Ideas

Read the statements below. Circle the main idea in each pair of statements (a or b).

"; const rightTextData: WalkthroughConfigs[] = [ { "html": "

Identifying Main Ideas

Let's analyze each pair of statements to determine which one represents the main idea. We'll focus on which statement is more general and encompasses the overall concept.

", "wordDelay": 200, "holdDelay": 5000, "highlight": [] }, { "html": "

1. Self

Main idea: A. You need to take care of yourself and connect with the people around you.

This statement is more comprehensive, covering both self-care and social connections. Option B is more specific and could be considered a subset of A.

", "wordDelay": 200, "holdDelay": 8000, "highlight": ["You need to take care of yourself and connect with the people around you."] }, { "html": "

2. Home

Main idea: B. You should arrange your home so that it makes you feel happy.

This statement is more general and applies to the entire home. Option A is a specific example that could fall under this broader concept.

", "wordDelay": 200, "holdDelay": 8000, "highlight": ["You should arrange your home so that it makes you feel happy."] }, { "html": "

3. Financial Life

Main idea: A. You can be happy if you have enough money, but don't want money too much.

This statement provides a balanced view of money's role in happiness. Option B is more specific and could be seen as a consequence of wanting money too much.

", "wordDelay": 200, "holdDelay": 8000, "highlight": ["You can be happy if you have enough money, but don't want money too much."] }, { "html": "

4. Social Life

Main idea: A. A good group of friends can increase your happiness.

This statement is more general about the impact of friendships. Option B provides a specific statistic that supports this main idea.

", "wordDelay": 200, "holdDelay": 8000, "highlight": ["A good group of friends can increase your happiness."] }, { "html": "

5. Workplace

Main idea: A. You spend a lot of time at work, so you should like your workplace.

This statement covers the overall importance of workplace satisfaction. Option B focuses on one specific aspect (the boss) and is less comprehensive.

", "wordDelay": 200, "holdDelay": 8000, "highlight": ["You spend a lot of time at work, so you should like your workplace."] }, { "html": "

6. Community

Main idea: A. The place where you live is more important for happiness than anything else.

While this statement might be debatable, it's more general and encompasses the overall importance of community. Option B is a specific suggestion about community demographics.

", "wordDelay": 200, "holdDelay": 8000, "highlight": ["The place where you live is more important for happiness than anything else."] }, { "html": "

Key Strategy

When identifying main ideas:

", "wordDelay": 200, "holdDelay": 8000, "highlight": [] }, { "html": "

Helpful Tip

Remember to look for clues to the main idea in the first (and sometimes second) sentence of a paragraph. In this exercise, we applied this concept to pairs of statements. This approach can help you quickly identify the central theme or main point in various types of text.

", "wordDelay": 200, "holdDelay": 5000, "highlight": [] } ] const mockTip: ITrainingTip = { id: "some random id", tipCategory: tip.category, tipHtml: tip.body, standalone: false, exercise: { question: question, highlightable: leftText, segments: rightTextData } } return (
); } export default TrainingExercise;