1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-09-09 17:45:53 +02:00

fix(posts): spelling mistakes

This commit is contained in:
Divlo 2022-02-23 11:51:00 +01:00
parent 48d35776a9
commit 5fbae8601f
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
4 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ export const Head: React.FC<HeadProps> = (props) => {
<meta name='twitter:card' content='summary' />
<meta name='twitter:description' content={description} />
<meta name='twitter:title' content={title} />
<meta name='twitter:image:src' content={image} />
<meta name='twitter:image' content={image} />
{/* Google Verification */}
<meta

View File

@ -12,7 +12,7 @@ export const InterestItem: React.FC<InterestItemProps> = (props) => {
return (
<li className='interest-item my-2 mx-2 h-8 w-8' title={title}>
<FontAwesomeIcon
className='block h-full w-full cursor-pointer text-yellow dark:text-yellow-dark'
className='block h-full w-full text-yellow dark:text-yellow-dark'
icon={fontAwesomeIcon}
/>
</li>

View File

@ -1,6 +1,6 @@
---
title: '🧼 Clean Code'
description: 'What is "Clean Code", what are "Design Patterns", and why is it so important today ? Tips and tricks to make your code more readable and maintainable in the long term.'
description: 'What is "Clean Code", what are "Design Patterns", and why is it so important today? Tips and tricks to make your code more readable and maintainable in the long term.'
isPublished: true
publishedOn: '2022-02-23T08:00:18.758Z'
---
@ -29,7 +29,7 @@ Code like that works great, but it is not enough, even if the code will be read
For example the [Linux kernel](https://www.kernel.org/), is one of the biggest open source project with many contributors worldwide. Last data shows that it is about **20 millions** lines of code.
With a project of this magnitude, we can't let everyone do what they wants and however they wants, **we must set rules and conventions** to get everyone to agree, this allows to add features faster and will reduce possible bugs as **developers** will not struggle as much to understand the code.
With a project of this magnitude, we can't let everyone do what they want and however they want, **we must set rules and conventions** to get everyone to agree, this allows to add features faster and will reduce possible bugs as **developers** will not struggle as much to understand the code.
## Definition : Design Patterns
@ -70,7 +70,7 @@ function getUser(): User
##### Example (bad way)
```typescript
// What does 86400000 mean ?
// What does 86400000 mean?
setTimeout(restart, 86400000)
```

View File

@ -40,7 +40,7 @@ I decided to keep things simple, here are the 2 main features missing on my blog
- Comments (you can interact with me on my Twitter account)
- Views counter
That not mean that theses features will never be implemented, but to avoid the need of a database now, I dropped out theses features.
That not mean that these features will never be implemented, but to avoid the need of a database now, I dropped out these features.
### Technologies