commit b90c0752ff20af747ade69b8d2e2cb4c4c516bba Author: Hugo CRENEAU Date: Mon Jun 3 15:08:06 2024 +0200 Initial commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..24644b2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ +kind: pipeline +type: docker +name: Deploiement + +trigger: + event: + - push + +steps: + - name: code-analysis + image: aosapps/drone-sonar-plugin + settings: + sonar_host: + from_secret: sonar_host + sonar_token: + from_secret: sonar_token + + - name: docker-build-and-push + image: plugins/docker + settings: + dockerfile: docker/Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + mirror: https://proxy.iut.uca.fr:8443 + repo: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest + CONTAINERNAME: portfoliobutcreneauhugo + COMMAND: create + OVERWRITE: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4777d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +# ---> macOS +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + diff --git a/README.md b/README.md new file mode 100644 index 0000000..a4851a1 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +[![Build Status](https://codefirst.iut.uca.fr/api/badges/hugo.creneau/portfoliobutcreneauhugo/status.svg)](https://codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo) + +# portfoliobutcreneauhugo + +A simple template for a web site. \ No newline at end of file diff --git a/docker/.htaccess b/docker/.htaccess new file mode 100644 index 0000000..aa5afc1 --- /dev/null +++ b/docker/.htaccess @@ -0,0 +1,4 @@ + + Order Allow,Deny + Deny from All + \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..b150ef5 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,4 @@ +FROM php:8.0-apache as base +COPY . /var/www/html/ +WORKDIR /var/www/html/ +EXPOSE 80 \ No newline at end of file diff --git a/images/CodeFirstLogo.png b/images/CodeFirstLogo.png new file mode 100644 index 0000000..a9741c8 Binary files /dev/null and b/images/CodeFirstLogo.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..9d22cc0 --- /dev/null +++ b/index.html @@ -0,0 +1,34 @@ + + + + portfoliobutcreneauhugo - One incredible styled html page + + + + + + + + + +

portfoliobutcreneauhugo is my first page, and it has got style!

+ +

Welcome on this template html/css project + +

Very simple, some links, some menu... make it your own +… + +

I have nothing more to say + + +

Template made in 2022
+ with Code#0 Code#0 +
+ + + \ No newline at end of file diff --git a/mycoolstyle.css b/mycoolstyle.css new file mode 100644 index 0000000..92d69df --- /dev/null +++ b/mycoolstyle.css @@ -0,0 +1,32 @@ +body { + padding-left: 11em; + font-family: Georgia, 'Georgia', "Times New Roman", + Times, serif; + color: darksalmon; + background-color: rgb(39, 39, 84) } + ul.navbar { + list-style-type: none; + padding: 0; + margin: 0; + position: absolute; + top: 2em; + left: 1em; + width: 9em } + h1 { + font-family: Helvetica, Geneva, Arial, + SunSans-Regular, sans-serif } + ul.navbar li { + background: white; + margin: 0.5em 0; + padding: 0.3em; + border-right: 1em solid darksalmon } + ul.navbar a { + text-decoration: none } + a:link { + color: blue } + a:visited { + color: darkblue } + address { + margin-top: 1em; + padding-top: 1em; + border-top: thin dotted } \ No newline at end of file