-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update components and contents
- Loading branch information
rxyhn
committed
Sep 28, 2024
1 parent
5d55648
commit d25d15a
Showing
10 changed files
with
30 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/components/sections/Awards.astro → src/components/Awards.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/components/sections/Education.astro → src/components/Education.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/components/sections/Experience.astro → src/components/Experience.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,11 @@ | ||
--- | ||
type Props = { | ||
title: string; | ||
description: string; | ||
highlight?: string[]; | ||
}; | ||
const { title, description, highlight } = Astro.props; | ||
const { title } = Astro.props; | ||
--- | ||
|
||
<header class="flex flex-col items-center sm:mt-24"> | ||
<h1 class="mb-6 text-center">{title}</h1> | ||
<p class="mb-6 text-justify text-black/80 dark:text-white/80"> | ||
{description} | ||
</p> | ||
{ | ||
highlight && ( | ||
<div class="mb-6"> | ||
{highlight.map((item) => ( | ||
<p class="text-justify text-black/80 dark:text-white/80">{item}</p> | ||
))} | ||
</div> | ||
) | ||
} | ||
</header> |
2 changes: 1 addition & 1 deletion
2
src/components/sections/Skills.astro → src/components/Skills.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters