Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtysn committed May 25, 2024
1 parent 2363bf3 commit c553461
Showing 1 changed file with 19 additions and 24 deletions.
43 changes: 19 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,40 @@
### 📝 CV

- CV of Mert Yaşin as a single page React application

[![CV Preview](cv-preview.gif)](https://mrtysn.github.io/cv/)
- A CV template from Mert Yaşin designed from scratch using Semantic UI and React

### 🔗 Online Demo

- Visit [mrtysn.github.io/cv](https://mrtysn.github.io/cv/)

### 🖨️ How to create a PDF locally

- Start the project in development mode with `yarn start`

- Go to http://localhost:3000 on Google Chrome

- Remove the margins at the top and the bottom of the page manually (i.e. delete divider elements)
[![CV Preview](cv-preview.gif)](https://mrtysn.github.io/cv/)

- Open the print dialog
### 💻 How to run locally

- Set A4 as the page size
On the root folder of the project, run

- Enable "background graphics"

- Save as PDF
- `pnpm run start`

### 🛠️ How to deploy to GitHub Pages

<!-- wrap in code block -->
On the root folder of the project, run

- `pnpm run predeploy`
- `pnpm run deploy`

### 🖨️ How to create a PDF online

- Visit [mrtysn.github.io/cv](https://mrtysn.github.io/cv/) on Google Chrome
### 🖨️ How to create a PDF

- Remove the margins at the top and the bottom of the page manually (i.e. delete divider elements)
- 👨‍💻 If you are working on a local copy

- Open the print dialog
- Run `pnpm run start`
- Visit [localhost:3000](http://localhost:3000) (where the app is running)

- Set A4 as the page size
- 🌐 If you already deployed

- Enable "background graphics"
- Visit [mrtysn.github.io/cv](https://mrtysn.github.io/cv/) (where you deployed it)

- Save as PDF
- Open the print dialog by hitting `ctrl + P`
- Set margins to custom. Set the top padding to `0.19 inches` inches and the rest to `0 inches`. This is (unfortunately) necessary to get the text to align properly while dealing with CSS and the browser print dialog
- 📃 Set `A4` as the page size
- 🎨 Enable `background graphics` so you get that nice accent color
- 🖨️ Save as PDF
- 📤 Remember to properly _rename the document_ before sending it out!

0 comments on commit c553461

Please sign in to comment.