This commit is contained in:
parent
e8d5277c6a
commit
8d0f443752
5 changed files with 14 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
public/
|
public/
|
||||||
|
static/styles.css
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
steps:
|
steps:
|
||||||
deploy:
|
deploy:
|
||||||
image: alpine:latest
|
image: node:18-alpine
|
||||||
name: Zip files
|
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl zip zola
|
- apk add --no-cache curl zip zola
|
||||||
|
- npx --yes tailwindcss -o static/styles.css --minify
|
||||||
- zola build
|
- zola build
|
||||||
- rm public/robots.txt public/sitemap.xml
|
|
||||||
- cd public
|
- cd public
|
||||||
|
- rm 404.html robots.txt sitemap.xml
|
||||||
- zip -r project.zip . -x ".*"
|
- zip -r project.zip . -x ".*"
|
||||||
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'
|
- 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"'
|
||||||
- API_URL=https://pages.hadeedahmad.com/pages/me
|
- API_URL=https://pages.hadeedahmad.com/pages/me
|
||||||
|
|
8
tailwind.config.js
Normal file
8
tailwind.config.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
|
content: ["templates/**/*.html"],
|
||||||
|
theme: {
|
||||||
|
extend: {},
|
||||||
|
},
|
||||||
|
plugins: [],
|
||||||
|
};
|
|
@ -3,6 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<link rel="stylesheet" href="styles.css">
|
||||||
<title>Home - Hadeed Ahmad</title>
|
<title>Home - Hadeed Ahmad</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>
|
<h1>
|
||||||
<h1>I am Hadeed Ahmad.</h1>
|
<h1 class="font-bold">I am Hadeed Ahmad.</h1>
|
||||||
<img src="profile.png" alt="Profile Picture" width="150" />
|
<img src="profile.png" alt="Profile Picture" width="150" />
|
||||||
<p>Check out my <a href="https://git.hadeedahmad.com">Forgejo</a>.</p>
|
<p>Check out my <a href="https://git.hadeedahmad.com">Forgejo</a>.</p>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
Loading…
Reference in a new issue