Compare commits

..

3 Commits

Author SHA1 Message Date
b227a41a43 Zola workflow updated
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 30s
Build Zola Website / build (pull_request) Successful in 27s
2024-10-14 17:01:20 +02:00
bf5f265116 Design improvments 2024-10-14 16:52:45 +02:00
1cf12f91f0 Added border radius to code, meta description 2024-10-14 16:10:17 +02:00
8 changed files with 68 additions and 40 deletions

View File

@ -6,22 +6,28 @@ on:
- master - master
- dev - dev
env:
ZOLA_VERSION: "0.19.2"
HOST: ${{ secrets.SERVER_IP }}
SSH_USERNAME: ${{ secrets.USERNAME }}
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }}
jobs: jobs:
build_and_deploy: build_and_deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Set up Zola - name: Set up Zola
uses: taiki-e/install-action@v2 run: |
with: wget https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
tool: zola@0.17.2 tar -xvzf *.tar.gz
- name: Build Zola Website - name: Build Zola Website
run: | run: |
zola build ./zola build
- name: Set Destination Folder if MASTER - name: Set Destination Folder if MASTER
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
@ -31,14 +37,12 @@ jobs:
if: ${{ github.ref == 'refs/heads/dev' }} if: ${{ github.ref == 'refs/heads/dev' }}
run: echo "DEST_FOLDER=/srv/www/cz/filiprojek/dev" >> $GITHUB_ENV run: echo "DEST_FOLDER=/srv/www/cz/filiprojek/dev" >> $GITHUB_ENV
- name: Deploy to server - name: Deploy
uses: AEnterprise/rsync-deploy@v1.0.2 run: |
env: apt update -y && apt-get install -y --no-install-recommends rsync
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} eval "$(ssh-agent -s)"
ARGS: "-e -c -r --delete" ssh-add - <<< "${SSH_PRIVATE_KEY}"
SERVER_PORT: 22 mkdir -p ~/.ssh/
FOLDER: "./public/" ssh-keyscan -H ${HOST} >> ~/.ssh/known_hosts
SERVER_IP: ${{ secrets.SERVER_IP }} rsync -r --delete-after public/* "${SSH_USERNAME}@${HOST}:${{ env.DEST_FOLDER }}"
USERNAME: ${{ secrets.USERNAME }}
SERVER_DESTINATION: ${{ env.DEST_FOLDER }}

View File

@ -6,22 +6,22 @@ template = "about.html"
## About ## About
I am student of IT at Charles University in Prague (Faculty of Education). I am student of IT at Charles University in Prague (Faculty of Education).
In high school I started programming and got interested in `Linux`. I created several projects with a classmate under [Fofrweb](https://fofrweb.com). Especially web applications written in `Node.js` and `Vue.js`. All projects are hosted on my own Linux server. My programming journey began in high school, where I developed a passion for `Linux` and co-founded [Fofrweb](https://fofrweb.com). Together with a classmate, I created web applications using `Node.js` and `Vue.js`, all hosted on my own Linux server.
I am member of [Microlab](https://microlab.space) - hacker space at Charles University. As a member of [Microlab](https://microlab.space), the university's hacker space, I engage with fellow tech enthusiasts. Additionally, I contribute to the open-source community as a package maintainer for [Void Linux](https://voidlinux.org).
I am also package maintainer for [Void Linux](https://voidlinux.org).
## Contact
- <a href="mailto:&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;">&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;</a>
- [@filiprojek](https://t.me/filiprojek) on Telegram
- PGP: [0x7E65EA58C6075F09](https://keys.openpgp.org/vks/v1/by-fingerprint/CA3D9BE28315B49164130CD97E65EA58C6075F09)
## Work ## Work
I currently work as a Linux engineer. Most of my work involves Debian based systems - desktops (Raspberry Pi, Intel NUC) and servers. I also manage an instance of GitLab. I currently work as a Linux engineer. Most of my work involves Debian based systems - desktops (Raspberry Pi, Intel NUC) and servers.
I also create custom websites from time to time.
## Projects ## Projects
Most of my projects are hosted on Gitea and GitHub: Most of my projects are hosted on Gitea and GitHub:
- Gitea: [git.filiprojek.cz](https://git.filiprojek.cz/fr) - Gitea: [git.filiprojek.cz](https://git.filiprojek.cz/fr)
- GitHub: [github.com/filiprojek](https://github.com/filiprojek) - GitHub: [github.com/filiprojek](https://github.com/filiprojek)
## Contact
- <a href="mailto:&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;">&#102;&#105;&#108;&#105;&#112;&#064;&#102;&#105;&#108;&#105;&#112;&#114;&#111;&#106;&#101;&#107;&#046;&#099;&#122;</a>
- [@filiprojek](https://t.me/filiprojek) on Telegram
- PGP: [0x7E65EA58C6075F09](https://keys.openpgp.org/vks/v1/by-fingerprint/CA3D9BE28315B49164130CD97E65EA58C6075F09)

View File

@ -1,20 +1,16 @@
.about { .about {
h1 {
margin-top: 2.5rem;
margin-bottom: 1rem;
}
h2 { h2 {
margin-top: 1.5rem;
margin-bottom: 1rem;
}
h3, h4, h5, h6, p {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: .5rem;
}
h3, h4, h5, h6, p {
margin-top: .5rem;
margin-bottom: .5rem;
} }
p { p {
text-align: justify; text-align: justify;
} }
} }

View File

@ -1,7 +1,7 @@
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 2rem 20%; margin: 2rem 30%;
} }
.content { .content {
@ -18,3 +18,25 @@
margin-bottom: 1rem; margin-bottom: 1rem;
} }
} }
code {
font-size: 1rem;
}
ul {
list-style: none;
padding-left: 0;
li {
position: relative;
padding-left: 1rem;
}
li::before {
content: '';
position: absolute;
left: 0;
color:white;
}
}

View File

@ -4,6 +4,7 @@
overflow-x: auto; overflow-x: auto;
padding: .5rem; padding: .5rem;
margin: .5rem 0; margin: .5rem 0;
border-radius: 5px;
} }
.project-wrapper { .project-wrapper {
@ -31,10 +32,14 @@
} }
} }
.link-back {
margin: 2rem 0;
}
@media (max-width: 768px) { @media (max-width: 768px) {
.project-wrapper { .project-wrapper {
max-width: 100%; max-width: 100%;
padding: 10px; padding: 1rem;
} }
} }

View File

@ -17,6 +17,7 @@
</title> </title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Filip Rojek - Personal website">
<link rel="icon" type="image/x-icon" href="/img/fr.ico"> <link rel="icon" type="image/x-icon" href="/img/fr.ico">
<link rel="stylesheet" href="/general.css"> <link rel="stylesheet" href="/general.css">
<link rel="stylesheet" href="/vars.css"> <link rel="stylesheet" href="/vars.css">

View File

@ -20,7 +20,7 @@
<div> <div>
{{ page.content | safe }} {{ page.content | safe }}
</div> </div>
<a href="/posts">Back to list of posts</a> <a href="/posts" class="link-back">Back to list of posts</a>
</section> </section>
{% endblock content %} {% endblock content %}

View File

@ -20,7 +20,7 @@
<div> <div>
{{ page.content | safe }} {{ page.content | safe }}
</div> </div>
<a href="/projects">Back to list of projects</a> <a href="/projects" class="link-back">Back to list of projects</a>
</section> </section>
{% endblock content %} {% endblock content %}