Skip to content

Commit d2e5711

Browse files
committed
✨ Add Markdown file and renderer component
- Introduced a new Markdown file for content rendering. - Added a MarkdownRenderer component to display the content. - This change enhances the application by allowing dynamic loading of Markdown content for better user experience. Generated by Copilot
1 parent 480fc62 commit d2e5711

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@page "/markdown-page"
2+
@using System.IO
3+
@using TestArena.Blog.Common
4+
@inject HttpClient Http
5+
6+
<h1>Markdown File Renderer</h1>
7+
8+
@if (string.IsNullOrEmpty(MarkdownContent))
9+
{
10+
<p>Loading...</p>
11+
}
12+
else
13+
{
14+
<MarkdownRenderer MarkdownContent="@MarkdownContent" />
15+
}
16+
17+
@code {
18+
private string MarkdownContent = string.Empty;
19+
20+
protected override async Task OnInitializedAsync()
21+
{
22+
MarkdownContent = await Http.GetStringAsync("content/example.md");
23+
}
24+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Introduction to Induction Motor
2+
3+
## Overview
4+
5+
An **induction motor**, also known as an **asynchronous motor**, is one of the most commonly used types of electric motors in industrial and domestic applications. It operates on the principle of electromagnetic induction, where the electric current required to produce torque is generated by electromagnetic induction from the magnetic field of the stator winding.
6+
7+
## Working Principle
8+
9+
The basic principle behind the induction motor is **Faraday's Law of Electromagnetic Induction**. When a three-phase supply is given to the stator, a rotating magnetic field (RMF) is produced. This field cuts the rotor conductors, and according to Faraday’s law, an electromotive force (EMF) is induced in the rotor. As a result, current flows in the rotor, producing torque that causes it to rotate in the direction of the stator field.
10+
11+
## Key Components
12+
13+
- **Stator**: The stationary part that produces the rotating magnetic field.
14+
- **Rotor**: The rotating part that is acted upon by the magnetic field.
15+
- **Bearings**: Allow smooth rotation of the rotor.
16+
- **Frame**: The outer shell that provides mechanical support and protection.
17+
18+
## Types of Induction Motors
19+
20+
Induction motors are primarily classified into two types:
21+
22+
1. **Squirrel Cage Induction Motor**
23+
- Simple and rugged construction
24+
- Common in household and industrial applications
25+
26+
2. **Slip Ring (Wound Rotor) Induction Motor**
27+
- Used in applications requiring high starting torque
28+
- Allows external resistance control during startup
29+
30+
## Advantages
31+
32+
- Simple and robust construction
33+
- Low cost and maintenance
34+
- High efficiency and reliability
35+
- Wide range of power ratings
36+
37+
## Applications
38+
39+
- Fans and blowers
40+
- Pumps and compressors
41+
- Conveyors and elevators
42+
- Household appliances
43+
- Industrial machinery
44+
45+
---
46+
47+
*Induction motors have revolutionized the way we use electric power in everyday life, combining efficiency, simplicity, and durability.*

0 commit comments

Comments
 (0)