Giter VIP home page Giter VIP logo

yihui-work's Introduction

yihui.work

An updated portfolio / personal site for 2023, built with Astro and typeset in Fragment Mono and Inter.

🚧 Project Structure

/
β”œβ”€β”€ public/
β”‚   └── CNAME
β”‚   └── favicon.svg
β”‚   └── banana_favicon.svg      (self-explanatory)
β”œβ”€β”€ src/
β”‚   └── pages/
β”‚       └── about.astro
β”‚       └── works/
β”‚           └── .md files
β”‚       └── notes/              (symbolic link to notes repo written in Obsidian)
β”‚       └── index.astro
β”‚       └── links.astro
β”‚       └── notes.astro         (WIP)
β”‚       └── 404.astro
β”‚   └── components/             (React components + Astro islands)
β”‚   └── data/                   (static data of works and global store for tags)
β”‚   └── layouts/                (for sidebar and articles)
β”‚   └── styles/ 
└── package.json

Project pages in src/pages/works are written in .md files, and each page is exposed as a route based on its filename.

src/components/ contains miscellaneous React/Astro components.

All assets, compressed and converted to .webp format wherever possible, are hosted on an S3 bucket.

πŸ’» Development

# clone project
git clone https://github.com/yihui-hu/yihui-work.git
cd yihui-work

# install dependencies
npm install

# build project
npm run build

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro -- --help Get help using the Astro CLI

πŸ”– Sites referenced:

  1. https://kevinnchen.com/
  2. https://gemmacope.land/
  3. https://jake.isnt.online/
  4. https://www.sang.design/
  5. https://allpibslowplay.org/
  6. https://www.tiger.exposed/index
  7. https://tdingsun.github.io/reading-machines/
  8. https://eternal.how/
  9. http://r-m.work/
  10. http://studioran.tokyo/

πŸ› οΈ Resources:

  1. Astro Crash Course in 20 minutes
  2. Sass in 100 seconds
  3. Framer Motion

yihui-work's People

Contributors

yihui-hu avatar astrobot-houston avatar yihuitypo avatar

Stargazers

 avatar vlad avatar Salief Lewis avatar Tejas Sanap avatar saki avatar Pablo Fernandez avatar  avatar Ronalds VilciΕ†Ε‘ avatar  avatar wasabi avatar Ying Huai avatar auralia studio avatar Reda avatar Christina avatar Halid avatar Gabriel Gaboardi avatar Edu Calvo avatar Cristian CreΘ›u avatar Chris Masters avatar Chiu Yin avatar  avatar anton avatar  avatar ε•Šε–”ι’ avatar  avatar

Watchers

Chiu Yin avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.