Skip to content

Commit

Permalink
improve book review formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ArhanChaudhary committed Jun 5, 2024
1 parent a210ee0 commit 60e4f7b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"ignoreRegExpList": ["/```[\\s\\S]*?```|`[\\s\\S]*?`|---[\\s\\S]*?---/gm"]
}
],
"cSpell.words": ["astro", "astrojs"]
"cSpell.words": ["astro", "astrojs", "NAND"]
}
8 changes: 8 additions & 0 deletions src/components/BookReview.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const { Content } = await section.render();
</div>

<style lang="scss">
@use "../assets/variables";

.half-indent {
margin-left: 30px;
margin-bottom: 3em;
Expand Down Expand Up @@ -86,4 +88,10 @@ const { Content } = await section.render();
}
}
}

@media (max-width: variables.$mobile-width) {
.half-indent {
margin-left: 0;
}
}
</style>
1 change: 0 additions & 1 deletion src/content/blog/Hello World.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import videoGames from '../../assets/blog/hello-world/video-games.jpg';
import skateboarding from '../../assets/blog/hello-world/skateboarding.jpg';
import longHair from '../../assets/blog/hello-world/long-hair.jpg';

{/* cspell:ignore NAND */}

When I was younger, I never had the confidence to think of myself as an interesting guy, more or less a writer. But my high school and now collegiate friends have slowly made me more cognizant of the fact that, when it comes to my nerdy interests, I LOVE to talk, typically to an intolerable degree. "Yapping" as the youngers call it. A day of reckoning later, I asked myself: what if I start a blog?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url: https://www.amazon.com/Elements-Computing-Systems-Building-Principles/dp/02
import { Image } from 'astro:assets';
import thankYou from '../../assets/book-review/elements/thank-you.png';

This book holds a special place in my heart. Finished reading right after starting college, it reignited my interest in reading for fun. It was my first genuine read since the beginning of high school.
This book holds a special place in my heart. I finished reading it right after starting college, and it reignited my interest in reading for fun. It was my first genuine read since the beginning of high school (I cared about the books in my English classes *far* less than I'm willing to admit).

I have no way to better describe this book than what the authors wrote themselves: a "voyage of discovery." This book doesn't just teach you how computers work, it offers a free hands-on hardware (and then software) course readers are encouraged to follow throughout each chapter. The book and its associated projects present themselves in a narrative that makes the reader feel as if they're discovering these new, eye-opening concepts about computing themselves. It's an excitingly unique experience that makes everything all the more memorable.

Expand Down

0 comments on commit 60e4f7b

Please sign in to comment.