-
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.
- Loading branch information
Showing
26 changed files
with
262 additions
and
639 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,32 @@ | ||
import "./header.css"; | ||
|
||
export const Header = (props) => { | ||
const selected = (page) => | ||
props.page == page ? "nav-link link-selected" : "nav-link"; | ||
return ( | ||
<header class="flex justify-center content-center px-6 py-6"> | ||
<div class="grow max-w-[96rem] flex gap-16 justify-start content-center"> | ||
<h2 class="shrink-0 min-w-fit"> | ||
<a href="/"> | ||
<img src="/logo.png" class="w-[170px]"></img> | ||
</a> | ||
</h2> | ||
<nav class="grow flex justify-start items-center gap-8"> | ||
<a class={selected("about")} href="/about"> | ||
About | ||
</a> | ||
<a class={selected("posts")} href="/posts"> | ||
Posts | ||
</a> | ||
<a class={selected("categories")} href="/categories"> | ||
Categories | ||
</a> | ||
</nav> | ||
<aside class="shrink-0 flex justify-end items-center gap-2"> | ||
<input type="checkbox"></input> | ||
<span class="align-center">LIGHT</span> | ||
</aside> | ||
</div> | ||
</header> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
export const Intro = () => { | ||
return <main class="flex flex-col items-center justify-start">Test</main>; | ||
}; |
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,3 @@ | ||
export const Profile = () => { | ||
return (<section>EATSTEAK</section>) | ||
} |
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,19 @@ | ||
.nav-link { | ||
box-sizing: border-box; | ||
text-transform: uppercase; | ||
letter-spacing: 0.1rem; | ||
padding-left: 0.1rem; | ||
background-image: radial-gradient(black, black); | ||
background-size: 0% 2px; | ||
background-repeat: no-repeat; | ||
background-position-y: 100%; | ||
transition: background-size 0.25s ease-out; | ||
} | ||
|
||
.nav-link:hover { | ||
background-size: 100% 2px; | ||
} | ||
|
||
.link-selected { | ||
font-weight: 500; | ||
} |
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,5 +1,5 @@ | ||
// Place any global data in this file. | ||
// You can import this data from anywhere in your site by using the `import` keyword. | ||
|
||
export const SITE_TITLE = 'Astro Blog'; | ||
export const SITE_DESCRIPTION = 'Welcome to my website!'; | ||
export const SITE_TITLE = "EATSTEAK.DEV"; | ||
export const SITE_DESCRIPTION = "Dev blog of EATSTEAK"; |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
title: 멀티 플랫폼 라이브러리 만들기 | ||
description: Rust로 멀티 플랫폼은 어떻게 만들 수 있을까요? uniffi, napi-rs 등등의 멀티플랫폼 솔루션을 알아봅시다. | ||
category: Rust | ||
pubDate: Nov 26 2023 | ||
--- | ||
|
||
## 멀티 플랫폼 라이브러리 - 왜 자꾸 실패하는가? | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. | ||
|
||
Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc. Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra massa massa ultricies mi. | ||
|
||
## Rust로 실현하는 멀티 플랫폼 | ||
|
||
Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim. | ||
|
||
Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id cursus metus aliquam eleifend mi. | ||
|
||
Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar proin gravida. Egestas integer eget aliquet nibh praesent tristique magna. |
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,15 +1,16 @@ | ||
import { defineCollection, z } from 'astro:content'; | ||
import { defineCollection, z } from "astro:content"; | ||
|
||
const blog = defineCollection({ | ||
// Type-check frontmatter using a schema | ||
schema: z.object({ | ||
title: z.string(), | ||
description: z.string(), | ||
// Transform string to Date object | ||
pubDate: z.coerce.date(), | ||
updatedDate: z.coerce.date().optional(), | ||
heroImage: z.string().optional(), | ||
}), | ||
// Type-check frontmatter using a schema | ||
schema: z.object({ | ||
title: z.string(), | ||
description: z.string(), | ||
category: z.string().optional(), | ||
// Transform string to Date object | ||
pubDate: z.coerce.date(), | ||
updatedDate: z.coerce.date().optional(), | ||
heroImage: z.string().optional(), | ||
}), | ||
}); | ||
|
||
export const collections = { blog }; |
Oops, something went wrong.