two first pages and cd test

main
Vincent ASTOLFI 10 months ago
parent 88f20ff903
commit c44de3cc18

@ -0,0 +1,30 @@
kind: pipeline
type: docker
name: portfolio
trigger:
event:
- push
steps:
- name: portfolio-build
image: plugins/docker
settings:
dockerfile: Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/vincent.astolfi/portfolio
username:
from_secret: registry-username
password:
from_secret: registry-password
- name: portfolio-deployment
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/vincent.astolfi/portfolio:latest
CONTAINERNAME: portfolio
COMMAND: create
OVERWRITE: true
ADMINS: vincentastolfi
depends_on: [portfolio-build]

@ -0,0 +1,6 @@
{
"workbench.colorCustomizations": {
"minimap.background": "#00000000",
"scrollbar.shadow": "#00000000"
}
}

@ -0,0 +1,4 @@
FROM nginx:alpine
COPY . /usr/share/nginx/html
RUN sed -i '1i\<base href="https://codefirst.iut.uca.fr/containers/vincentastolfi-maettleship/">' ./index.html
RUN sed -i '1i\<base href="https://codefirst.iut.uca.fr/containers/vincentastolfi-maettleship/">' ./pages/cv.html

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vincent Astolfi</title>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />
<link rel="stylesheet" href="ressources/styles/index.css">
</head>
<body>
<div class="menu">
<ul>
<li><a href="index.html">Vincent Astolfi</a></li>
<li><a href="./pages/discover">Discover me</a></li>
<li><a href="/pages/projects">Projects</a></li>
<li><a href="/pages/cv.html">CV</a></li>
<li><a href="/pages/contact">Contact me</a></li>
</ul>
</div>
<div class="title">Vincent ASTOLFI Portfolio</div>
<div class="subtitle">IT student at IUT Clermont Ferrand</div>
<button class="dicover_me_button" type="button">
Discover Me
<span class="material-symbols-outlined">
arrow_forward
</span>
</button>
</body>
</html>

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" />
<link href="../ressources/styles/cv.css" type="stylesheet">
<link href="../ressources/styles/index.css" type="stylesheet">
<title>My CV</title>
</head>
<body>
<div class="title">My CV</div>
<embed src="../ressources/pdf/CV Astolfi Vincent.pdf" width="800px" height="2100px" />
<button class="download_button" type="button">
Download It
<span class="material-symbols-outlined">
download
</span>
</button>
</body>
</html>

@ -0,0 +1,80 @@
body {
background-color: #36454F;
color: white;
margin: 0;
font-family: Arial, sans-serif;
overflow: hidden; /* Makes the page non-scrollable */
}
.menu {
display: flex;
justify-content: space-between;
background-color: #000000;
padding: 10px 20px;
}
.menu ul {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
justify-content: space-between;
}
.menu ul li {
margin: 0 15px;
align-self: center;
}
.menu ul li:first-child {
margin-right: auto;
}
.menu ul li a {
color: white;
text-decoration: none;
}
.menu ul li a:hover {
text-decoration: underline;
}
.title {
font-size: 4em;
text-align: center;
margin-top: 20%;
}
.subtitle {
font-size: 2,5em;
text-align: center;
}
.dicover_me_button {
display: block;
margin: 20px auto;
padding: 10px 20px;
background-color: white;
color: #36454F;
border: none;
border-radius: 25px;
font-size: 2em;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.material-symbols-outlined {
font-variation-settings:
'FILL' 0,
'wght' 400,
'GRAD' 0,
'opsz' 48;
margin-left: 5px;
}
.dicover_me_button:hover {
background-color: #cccccc;
}
Loading…
Cancel
Save