-
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
icekylin
committed
Jan 28, 2024
1 parent
4f1367c
commit c2583c9
Showing
51 changed files
with
1,036 additions
and
240 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = tab | ||
insert_final_newline = false | ||
max_line_length = 100 | ||
tab_width = 4 |
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,54 +1,54 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
push: | ||
branches: ['main'] | ||
|
||
jobs: | ||
build_site: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 21 | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: build | ||
env: | ||
BASE_PATH: '' | ||
run: | | ||
pnpm run build | ||
- name: Upload Artifacts | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: 'build/' | ||
|
||
deploy: | ||
needs: build_site | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
pages: write | ||
id-token: write | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
steps: | ||
- name: Deploy | ||
id: deployment | ||
uses: actions/deploy-pages@v2 | ||
build_site: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 21 | ||
cache: pnpm | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: build | ||
env: | ||
BASE_PATH: '' | ||
run: | | ||
pnpm run build | ||
- name: Upload Artifacts | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: 'build/' | ||
|
||
deploy: | ||
needs: build_site | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
pages: write | ||
id-token: write | ||
|
||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
steps: | ||
- name: Deploy | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |
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,8 @@ | ||
# icekylin's Blog | ||
# ICEKYLIN'S BLOG | ||
|
||
```md | ||
## TODO | ||
|
||
- [ ] I18n | ||
- [ ] A11y | ||
``` |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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,57 @@ | ||
<script lang="ts"> | ||
import kevin from '../../assets/people/kevin.png'; | ||
import earth from '@mdi/svg/svg/earth.svg?raw'; | ||
import github from '@mdi/svg/svg/github.svg?raw'; | ||
import PointerDiv from '$lib/component/PointerDiv.svelte'; | ||
import { Icon } from 'svelte-icon'; | ||
export let name: string; | ||
export let description: string; | ||
export let link: string; | ||
export let githubLink: string | undefined = undefined; | ||
</script> | ||
|
||
<div class="flex gap-8"> | ||
<PointerDiv> | ||
<a href={link} target="_blank" rel="noopener noreferrer"> | ||
<img | ||
src={kevin} | ||
alt={name} | ||
loading="lazy" | ||
class="w-10 h-10 rounded-full" | ||
/> | ||
</a> | ||
</PointerDiv> | ||
<div class="flex flex-col gap-1"> | ||
<p class="font-bold">{name}</p> | ||
<p class="text-onSurfaceVariant text-sm">{description}</p> | ||
<div class="flex gap-2"> | ||
<PointerDiv> | ||
<a href={link} target="_blank" rel="noopener noreferrer"> | ||
<Icon | ||
data={earth} | ||
size="18px" | ||
stroke="transparent" | ||
slot="icon" | ||
></Icon> | ||
</a> | ||
</PointerDiv> | ||
{#if githubLink} | ||
<PointerDiv> | ||
<a | ||
href={githubLink} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<Icon | ||
data={github} | ||
size="18px" | ||
stroke="transparent" | ||
slot="icon" | ||
></Icon> | ||
</a> | ||
</PointerDiv> | ||
{/if} | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.