From b5aa3dffe1e228935a089bda4d9b9e586fd000f6 Mon Sep 17 00:00:00 2001 From: suu3 Date: Sun, 8 Dec 2024 01:25:15 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20=ED=94=84=EB=A1=9C=ED=95=84=20?= =?UTF-8?q?=EC=82=AC=EC=A7=84=20=EA=B5=90=EC=B2=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/swift-dolphins-pull.md | 5 ++++ .github/workflows/release.yml | 31 +++++++++++-------------- global.d.ts | 4 ++++ src/components/@layout/bio/index.tsx | 17 ++++---------- src/components/@layout/bio/profile.gif | Bin 0 -> 2284 bytes tsconfig.json | 1 + 6 files changed, 28 insertions(+), 30 deletions(-) create mode 100644 .changeset/swift-dolphins-pull.md create mode 100644 global.d.ts create mode 100644 src/components/@layout/bio/profile.gif diff --git a/.changeset/swift-dolphins-pull.md b/.changeset/swift-dolphins-pull.md new file mode 100644 index 00000000..c07009da --- /dev/null +++ b/.changeset/swift-dolphins-pull.md @@ -0,0 +1,5 @@ +--- +"gatsby-blog": minor +--- + +프로필 사진 교체 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 24923552..8c4364a8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,9 +12,22 @@ jobs: name: Create Release Pull Request or Publish to npm runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout code uses: actions/checkout@v3 + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: "18.x" + + - name: Setup pnpm + uses: pnpm/action-setup@v2 + with: + version: 9 + + - name: Install dependencies + run: pnpm install + - name: Create Release Pull Request or Publish uses: changesets/action@v1 with: @@ -23,19 +36,3 @@ jobs: version: pnpm changeset version env: GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} - release-tag: - name: Release pushed tag - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Create GitHub Release - env: - VERSION: ${{ github.ref_name }} - GH_TOKEN: ${{ github.token }} - run: | - gh release create "$VERSION" \ - --repo="$GITHUB_REPOSITORY" \ - --title="${VERSION#v}" \ - --generate-notes diff --git a/global.d.ts b/global.d.ts new file mode 100644 index 00000000..1dd9bee9 --- /dev/null +++ b/global.d.ts @@ -0,0 +1,4 @@ +declare module "*.css" { + const content: { [className: string]: string } + export default content +} diff --git a/src/components/@layout/bio/index.tsx b/src/components/@layout/bio/index.tsx index a506c522..e04ec8fc 100644 --- a/src/components/@layout/bio/index.tsx +++ b/src/components/@layout/bio/index.tsx @@ -7,8 +7,8 @@ import * as React from "react" import { useStaticQuery, graphql } from "gatsby" -import { StaticImage } from "gatsby-plugin-image" -import { profile } from "./bio.module.css" +import styles from "./bio.module.css" +import profileImage from "./profile.gif" const Bio = () => { const data = useStaticQuery(graphql` @@ -27,18 +27,9 @@ const Bio = () => { const author = data.site.siteMetadata?.author return ( -
+
- + profile image
@{author?.name} diff --git a/src/components/@layout/bio/profile.gif b/src/components/@layout/bio/profile.gif new file mode 100644 index 0000000000000000000000000000000000000000..01bcc4c9d984381cc497de6f4cc44d9bc06662a8 GIT binary patch literal 2284 zcmciCX;72b8o=@QeaT7^3?K|rmXHK65ZMG1NA$i(fPhAJMUa9CC?KL%WET=b1O!<` zDT2^cD1s~sLRktJB3L#-uI#3SO=VFlT&#P!vD1FI_tX7yduGl&GtZp!?KgiXXGbRE zC=9?rGyoWE;0`!=dD`2#IarxlD1m@t^&WxPteAAgRXl=$6vYe;3p*PTHDzS<%-vw) zI3wLGxKr#k)gGUcm|9fR^tiQtW4^SY^5LVYnf@oAHa0fC{QaK~a$|;^6%<+$a;r9c zrQJ5N35-oa4-XwhojvFy~3jP}AkZkDWyhUlDG2%g$TsXWz-g z=yCgNw)@tI#E)|r35Gx0FGq)Y#?#J6+6#`Ph|&_1E+q;xi~_>4qe7GOw(|V!PsUy@ zq7;{KRFrQN0V?IS_LZg7A8y~Nt9Rm@Ym99w<^9y^S8*$ar(E9I-W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