Compare commits

7 Commits

Author SHA1 Message Date
26b09f3aad Update src/app/services/services.component.scss 2025-02-10 14:14:08 +01:00
49b21fbb07 Update src/app/services/services.component.html 2025-02-10 14:10:14 +01:00
51b082ac79 Update src/app/hero/hero.component.html 2025-02-10 14:08:52 +01:00
3ba0554c1a Update src/app/header/header.component.html 2025-02-10 14:08:15 +01:00
6e93719d9b Update src/index.html
All checks were successful
Copy Files to Samba Share / Copy Files (push) Successful in 29s
2025-02-09 10:58:43 +01:00
a07236f561 added correct favicon
All checks were successful
Copy Files to Samba Share / Copy Files (push) Successful in 29s
2025-02-04 17:54:59 +01:00
e14714ff39 New Website (#6)
All checks were successful
Copy Files to Samba Share / Copy Files (push) Successful in 27s
Reviewed-on: #6
2025-02-03 20:23:28 +01:00
13 changed files with 44 additions and 17 deletions

View File

@@ -17,7 +17,14 @@ jobs:
apt-get update apt-get update
apt-get install -y smbclient apt-get install -y smbclient
- name: install dependencies
run: |
npm ci
- name: build application
run: |
npm run prod:deploy
- name: Copy - name: Copy
run: | 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", "build": "ng build",
"watch": "ng build --watch --configuration development", "watch": "ng build --watch --configuration development",
"test": "ng test", "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, "private": true,
"dependencies": { "dependencies": {

BIN
public/favicon-96x96.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
<img src="assets/CPTARN_logo-name_White.svg" /> <img alt="logo" src="assets/CPTARN_logo-name_White.svg" />
<div class="menu"> <div class="menu">
<a href="#about">about</a> <a href="#about">about</a>
<a href="#contact">contact</a> <a href="#contact">contact</a>

View File

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

View File

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

View File

@@ -34,9 +34,17 @@
font-weight: 600; font-weight: 600;
} }
div {
display: flex;
width: 100%;
border-bottom: 2px solid #fff;
padding: 1rem 0;
justify-content: center;
}
img { img {
max-width: 100%; max-width: 50%;
border-bottom: 1px solid #fff; margin: 0 auto;
padding: 1rem 0; 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> <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> <a href="mailto:contact@cptarn.com" class="web">Contact</a>
</div> </div>
<img src="assets/Website_Arne.svg" /> <img class="arne" alt="Drawing of Arne" src="assets/Website_Arne.svg" />
<a href="mailto:contact@cptarn.com" class="mobile">Contact</a> <a href="mailto:contact@cptarn.com" class="mobile">Contact</a>
</div> </div>
<div class="right"> <div class="right">
@@ -17,7 +17,7 @@
solutions that help you innovate, save time, and stay ahead. Let's work together solutions that help you innovate, save time, and stay ahead. Let's work together
to make your next project a success!</p> to make your next project a success!</p>
</div> </div>
<img src="assets/Website_Topview_Collab.svg" /> <img src="assets/Website_Topview_Collab.svg" alt="Drawing of collaboration" />
</div> </div>
<div class="full"> <div class="full">
<div class="text"> <div class="text">
@@ -31,5 +31,5 @@
right technology can enhance productivity and improve daily workflows, whether in right technology can enhance productivity and improve daily workflows, whether in
a corporate environment or your own home.</p> a corporate environment or your own home.</p>
</div> </div>
<img src="assets/Website_Desk.svg" /> <img src="assets/Website_Desk.svg" alt="Drawing of a desk"/>
</div> </div>

View File

@@ -55,7 +55,7 @@ h2 {
a { a {
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
background-color: var(--accent-color); background-color: rgb(207, 66, 22);// var(--accent-color) not enough contrast
border-radius: 4rem; border-radius: 4rem;
padding: 0.5rem 1rem; padding: 0.5rem 1rem;
margin-top: 2rem; margin-top: 2rem;
@@ -79,6 +79,11 @@ a {
max-width: 100%; max-width: 100%;
} }
.arne {
max-width: 70%;
margin: 0 auto;
}
img { img {
margin-top: 2rem; margin-top: 2rem;
} }
@@ -89,7 +94,7 @@ a {
} }
:host { :host {
> div { > div {
margin-top: 3rem; margin-top: 0;
} }
} }

View File

@@ -5,6 +5,7 @@
<title>CptArn</title> <title>CptArn</title>
<base href="/"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="CptArn Freelance creative thinker with a solution focus. For all projects involving prototyping, coding or automation in a wide array of situations (IT projects, factory/home automation, new products).">
<link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>