Compare commits

...

2 Commits

Author SHA1 Message Date
6e5915b8cb Added prod deply
All checks were successful
Copy Files to Samba Share dev / Copy Files (push) Successful in 30s
2025-02-03 20:21:26 +01:00
e3a7c7ef82 Fixed stylings 2025-02-03 20:18:48 +01:00
9 changed files with 39 additions and 13 deletions

View File

@@ -17,7 +17,14 @@ jobs:
apt-get update
apt-get install -y smbclient
- name: install dependencies
run: |
npm ci
- name: build application
run: |
npm run prod:deploy
- name: Copy
run: |
smbclient //192.168.129.245/arne -U "${{ secrets.SAMBA_USER }}" "${{ secrets.SAMBA_PASSWORD }}" -c "cd \"letsencrypt/config/www\"; lcd \".\"; prompt; recurse; mput *"
smbclient //192.168.129.245/arne -U "${{ secrets.SAMBA_USER }}" "${{ secrets.SAMBA_PASSWORD }}" -c 'prompt OFF; recurse ON; cd letsencrypt/config/www/cptarn/; lcd dist/cpt-arn/browser/; mput *'

View File

@@ -7,7 +7,8 @@
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"dev:deploy": "ng build --configuration=production --base-href /dev/ --deploy-url /dev/ && npx gzipper compress ./dist"
"dev:deploy": "ng build --configuration=production --base-href /dev/ --deploy-url /dev/ && npx gzipper compress ./dist",
"prod:deploy": "ng build --configuration=production --base-href / --deploy-url / && npx gzipper compress ./dist"
},
"private": true,
"dependencies": {

View File

@@ -9,6 +9,6 @@
@media screen and (max-width: variables.$breakpoint) {
.wrapper {
padding: 0 2rem;
padding: 0 3rem;
}
}

View File

@@ -1,15 +1,17 @@
@use "../../variables.scss" as variables;
:host {
font-weight: 400;
color: #ffffff;
font-style: italic;
padding-bottom: 5rem;
position: relative;
top: 5rem;
top: 2rem;
}
h2 {
font-family: "Jost";
font-style: italic;
font-weight: 500;
}
.contact {

View File

@@ -1,7 +1,7 @@
@use "../../variables.scss";
:host {
border-bottom: 1px solid #fff;
border-bottom: 2px solid #fff;
width: 100%;
display: flex;
justify-content: space-between;
@@ -22,6 +22,7 @@ img {
text-decoration: none;
align-content: center;
font-family: "Jost";
font-size: 2rem;
}
}
@@ -32,7 +33,7 @@ img {
}
:host {
border-top: 1px solid #fff;
border-top: 2px solid #fff;
}
.menu {

View File

@@ -1,2 +1,4 @@
<img class="mobile" src="assets/CPTARN_logo-figure_White.svg"/>
<div class="mobile">
<img src="assets/CPTARN_logo-figure_White.svg"/>
</div>
<p class="hero-text">NO LIMITS, JUST <span class="subSlogan">{{subSlogan}}</span></p>

View File

@@ -34,9 +34,17 @@
font-weight: 600;
}
div {
display: flex;
width: 100%;
border-bottom: 2px solid #fff;
padding: 1rem 0;
justify-content: center;
}
img {
max-width: 100%;
border-bottom: 1px solid #fff;
max-width: 50%;
margin: 0 auto;
padding: 1rem 0;
}
}

View File

@@ -4,7 +4,7 @@
<p>Welcome to my creative workspace! Im a solution-driven freelancer with a passion for blending innovative thinking with technical know-how to bring unique ideas to life. Whether youre looking to build a prototype, develop custom code, or create a tailored automation system, Im here to help turn your vision into a reality. My approach combines hands-on experience with a fresh perspective, ensuring that every project isnt just functional, but forwardthinking and impactful.</p>
<a href="mailto:contact@cptarn.com" class="web">Contact</a>
</div>
<img src="assets/Website_Arne.svg" />
<img class="arne" src="assets/Website_Arne.svg" />
<a href="mailto:contact@cptarn.com" class="mobile">Contact</a>
</div>
<div class="right">

View File

@@ -79,6 +79,11 @@ a {
max-width: 100%;
}
.arne {
max-width: 70%;
margin: 0 auto;
}
img {
margin-top: 2rem;
}
@@ -89,7 +94,7 @@ a {
}
:host {
> div {
margin-top: 3rem;
margin-top: 0;
}
}