Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

My personal CV in a git-inspired style. Check it out!

License

NotificationsYou must be signed in to change notification settings

tarkant/personal-cv

Repository files navigation

Show off your curriculum with a visually attractive commits tree ✨ .

Checkout thedemo here.

Features 🧩

  • A simple build process based onwebpack-typescript-sass-boilerplate
  • SEO-friendly/Social-friendly tags and attributes already setup
  • Auto dark mode following the user's preferences
  • Google Analytics and CloudFlare analytics ready
  • A commit tree based on<ul> and<li>
  • No dependency, everything is vanilla
  • TypeScript and SCSS/SASS
  • A clean print template
  • Mobile-first layout

How to use it 🤔

Clone this repository, run annpm install to install all the dev dependencies needed (webpack, TypeScript, SCSS/SASS loader).

Next to run the project simplynpm start, the app will run onhttp://localhost:8080/, if you need to change the dev server port, add--port 8888 to thestart entry underpackage.json :

{"name":"your-personal-cv","version":"1.1.0","description":"Your personal CV description.","scripts": {"start":"webpack serve --progress --mode development --port 8888",...}

Replace thepackage.json file with the relevant info about you.

Next head to theindex.html file and replace/add your personal info and achievements. For each entry in the commit tree just add for example:

<liclass="commit"data-date="2004-08-01"><spanclass="title">Added TCP/IP abilities:</span><spanclass="desc">Discovered the Internet</span><spanclass="date">Around August 2004</span></li>

Please pay close attention todata-date attribute to keep accurate dates for better SEO. The rest are straightforward.

Branches are nested<ul> in<ul> as follows:

<!-- Jasmine Spring branch --><ulclass="branch jasminespring-branch"data-label="jasminespring"><liclass="commit merge"data-branch="master"data-date="2011-09-01"></li><liclass="commit"data-date="2011-04-01"><spanclass="title">Preparatory class:</span><spanclass="desc">Technical cursus - Aborded.</span><spanclass="date">April 2011</span></li><liclass="commit new-branch"data-branch="master"data-date="2010-06-15"></li></ul>

Notice the commit sandwiched between aclass="commit merge" andclass="commit new-branch" that represent the branching of your commits. You can omit theclass="commit merge" to leave a branch open for example.

⚠ Last but not least,don't forget to editsrc/assets/data.json with your own personal data !

Analytics 📊

I've added Google Analytics v4 as well as CloudFlare Analytics to theindex.html template as follows:

</footer><%if (cfAnalytics) { %><!-- Cloudflare Web Analytics --><scriptdefersrc='https://static.cloudflareinsights.com/beacon.min.js'data-cf-beacon='{"token": "<%= cfAnalytics %>"}'></script><!-- End Cloudflare Web Analytics --><% } %><%if (gAnalytics) { %><!-- Global site tag (gtag.js) - Google Analytics --><scriptasyncsrc="https://www.googletagmanager.com/gtag/js?id=<%= gAnalytics %>"></script><script>window.dataLayer=window.dataLayer||[];functiongtag(){dataLayer.push(arguments);}gtag('js',newDate());gtag('config','<%= gAnalytics %>');</script><% } %></body>

For both you can notice it's surrounded in a if block, the scrips will be injected only if you supply environnement variables as follows:

CF_ANALYTICS=YOUR_CF_ANALYTICS_ID

GA_ANALYTICS=YOUR_GA_V4_ID

Other tools 🛠

You'll notice there is ESLint already setup, you can runnpm run lint to lint the full project.

Contribution/Issues ✋

Feel free to fork and PR to the project (as long as your PR is clear of course). If you notice an issue or anything of the sorts, please let me know, I'll be happy to fix/help!

How does the commit tree work? 🎋

If you inspect the code, you'll just see ul elements containing li elements and other nested ul elements. That's it! Everything is static and is based on uls. Awesome isn't it?


Changelog ⌚

  • 20-Feb-2022: nom audit fix + upgraded webpack Dev server config
  • 11-April-2021: Added Google Analytics and CloudFlare analytics integration
  • 17-March-2021: Added webpack config and build process
  • 13-March-2021: Added CapRover config files for easier deployment
  • 15-July-2020 : Updated bio and cursus
  • 05-May-2019 : Stripped analytics code and updated some stuff
  • 28-Aug-2017 : Created everything, and visually fixed everything for Google Chrome and Firefox.
  • Soon : Changing the markup and adding explanations of how to use the commit tree.

About

My personal CV in a git-inspired style. Check it out!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp