Astro-Vitae is a free, personalized CV template with sleek & minimal design which helps in simplifying the process of getting a CV for yourself. So much so that someone with minimal knowledge of coding can easily get their CV just by updating their details.
View a live demo of Astro-Vitae
- Git & Github Account
- NPM (Node Package Manager)
- A text-editor
After cloning and setting up the project files on your local machine, run the following command in your terminal
npm install
Once the packages are installed you are ready to run astro. Astro comes with a built-in development server that has everything you need for project development. The astro dev command will start the local development server so that you can see your new website in action for the very first time.
npm run dev
├── src/
│ ├── components/
│ │ ├── Card.astro
│ │ ├── Container.astro
│ │ ├── Footer.astro
│ │ └── Header.astro
│ ├── layouts/
│ │ └── AccordionLayout.astro
│ │ └── BaseLayout.astro
│ └── pages/
│ │ ├── content.js
│ │ └── index.astro
├── public/
│ ├── favicon.svg
│ └── profile.jpg
│ └── screenshot.jpeg
├── astro.config.mjs
├── tailwind.config.cjs
├── package.json
├── README.md
├── .gitignore
└── tsconfig.json
In order to change the content of the CV, all you have to do is update it in the content.js
file in /src
folder.
In src/content.js
all variables contain information that is to be reflected in the UI. In order to change it, simply
update the values with your data. The personal information is fairly simple, content for the likes of work, projects,
etc are stored as JavaScript objects.
To add or remove a field from the CV, simply go to Container.astro
in src/components/
- To Add a new field, add a new
<AccordionLayout />
component, with appropriate props and child component. Make sure add the data of field in proper format incontent.js
. - To Remove an already existing field, simply comment out the
<AccordionLayout />
component of that particular field or remove it. Removing its content fromcontent.js
is a choice.
Suggestions and pull requests are welcomed! Feel free to open a discussion or an issue for a new feature request or bug.
Astro-Vitae is licensed under the MIT license — see the LICENSE file for details.
Happy Hecking 🙌