-
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.
fixed the style of Search, Navigation and Hamburger. Created AboutLayout
- Loading branch information
1 parent
0e8b9dc
commit bd5c507
Showing
14 changed files
with
150 additions
and
164 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 was deleted.
Oops, something went wrong.
File renamed without changes.
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
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 |
---|---|---|
|
@@ -4,6 +4,6 @@ type: page | |
modifiedAt: 2024-02-28T06:27:41.594Z | ||
--- | ||
|
||
# About Me | ||
## Introduction | ||
|
||
Hi, there! |
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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
import { Image } from 'astro:assets' | ||
import { getEntry } from 'astro:content' | ||
import BaseLayout from '@/layouts/BaseLayout.astro' | ||
const meta = await getEntry('meta', 'site-data') | ||
--- | ||
|
||
<BaseLayout | ||
title={meta.data.about.title} | ||
description={meta.data.about.description} | ||
> | ||
<main> | ||
<h1>About Me</h1> | ||
<section class="profile-section"> | ||
<Image | ||
alt="My profile icon" | ||
class="profile-icon" | ||
src="/blog-placeholder-about.jpg" | ||
width={150} | ||
height={150} | ||
format="avif" | ||
quality={75} | ||
/> | ||
<div> | ||
<span class="my-name">brklntmhwk</span> | ||
<p class="short-intro">Hello. This is my short introduction.</p> | ||
</div> | ||
</section> | ||
<hr /> | ||
<article> | ||
<slot /> | ||
</article> | ||
</main> | ||
</BaseLayout> | ||
<style> | ||
section.profile-section { | ||
padding: 2.25rem 0; | ||
display: flex; | ||
gap: 1.5rem; | ||
justify-content: center; | ||
} | ||
@media (min-width: 1024px) { | ||
section.profile-section { | ||
gap: 2.5rem; | ||
justify-content: start; | ||
} | ||
} | ||
.profile-icon { | ||
border-radius: 9999px; | ||
object-fit: cover; | ||
} | ||
section.profile-section div { | ||
display: grid; | ||
} | ||
span.my-name { | ||
font-size: 1.5rem; | ||
font-weight: 600; | ||
} | ||
p.short-intro { | ||
} | ||
</style> |
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 +1,2 @@ | ||
export const LIMIT_PER_PAGE = 2 | ||
export const DEFAULT_PAGINATION_WIDTH = 2 |
Oops, something went wrong.