diff --git a/app/Controllers/Http/ProjectsController.ts b/app/Controllers/Http/ProjectsController.ts index ca75e28e..73216a2a 100644 --- a/app/Controllers/Http/ProjectsController.ts +++ b/app/Controllers/Http/ProjectsController.ts @@ -10,4 +10,8 @@ export default class ProjectsController { return view.render('projects/nups/nups') } + async myNetwork({ view }: HttpContextContract) { + return view.render('projects/myNetwork/index') + } + } diff --git a/public/assets/entrypoints.json b/public/assets/entrypoints.json index e113c27f..cbea3709 100644 --- a/public/assets/entrypoints.json +++ b/public/assets/entrypoints.json @@ -47,6 +47,14 @@ "js": [ "http://localhost:8080/assets/nups.js" ] + }, + "my-network-project": { + "css": [ + "http://localhost:8080/assets/my-network-project.css" + ], + "js": [ + "http://localhost:8080/assets/my-network-project.js" + ] } } } \ No newline at end of file diff --git a/public/assets/manifest.json b/public/assets/manifest.json index 6c841080..df332249 100644 --- a/public/assets/manifest.json +++ b/public/assets/manifest.json @@ -11,5 +11,7 @@ "assets/project-nups.js": "http://localhost:8080/assets/project-nups.js", "assets/nups.css": "http://localhost:8080/assets/nups.css", "assets/nups.js": "http://localhost:8080/assets/nups.js", + "assets/my-network-project.css": "http://localhost:8080/assets/my-network-project.css", + "assets/my-network-project.js": "http://localhost:8080/assets/my-network-project.js", "assets/images/landing.jpg": "http://localhost:8080/assets/images/landing.6d6841c3.jpg" } \ No newline at end of file diff --git a/public/my-networks.jpg b/public/my-networks.jpg new file mode 100644 index 00000000..76c3a4bd Binary files /dev/null and b/public/my-networks.jpg differ diff --git a/public/projects/myNetwork/Logo Discord.png b/public/projects/myNetwork/Logo Discord.png new file mode 100644 index 00000000..71c07d17 Binary files /dev/null and b/public/projects/myNetwork/Logo Discord.png differ diff --git a/public/projects/myNetwork/Logo Facebook.png b/public/projects/myNetwork/Logo Facebook.png new file mode 100644 index 00000000..39b1ef0d Binary files /dev/null and b/public/projects/myNetwork/Logo Facebook.png differ diff --git a/public/projects/myNetwork/Logo Minecraft.png b/public/projects/myNetwork/Logo Minecraft.png new file mode 100644 index 00000000..a356b1db Binary files /dev/null and b/public/projects/myNetwork/Logo Minecraft.png differ diff --git a/public/projects/myNetwork/Logo YouTube.png b/public/projects/myNetwork/Logo YouTube.png new file mode 100644 index 00000000..e285103b Binary files /dev/null and b/public/projects/myNetwork/Logo YouTube.png differ diff --git a/public/projects/myNetwork/Twitch logo.png b/public/projects/myNetwork/Twitch logo.png new file mode 100644 index 00000000..4372be21 Binary files /dev/null and b/public/projects/myNetwork/Twitch logo.png differ diff --git a/public/projects/myNetwork/arthur.png b/public/projects/myNetwork/arthur.png new file mode 100644 index 00000000..8de2d630 Binary files /dev/null and b/public/projects/myNetwork/arthur.png differ diff --git a/public/projects/myNetwork/logo github.png b/public/projects/myNetwork/logo github.png new file mode 100644 index 00000000..3ae03670 Binary files /dev/null and b/public/projects/myNetwork/logo github.png differ diff --git a/public/projects/myNetwork/logo insta.png b/public/projects/myNetwork/logo insta.png new file mode 100644 index 00000000..872d1328 Binary files /dev/null and b/public/projects/myNetwork/logo insta.png differ diff --git a/public/projects/myNetwork/logo twitter.png b/public/projects/myNetwork/logo twitter.png new file mode 100644 index 00000000..77469431 Binary files /dev/null and b/public/projects/myNetwork/logo twitter.png differ diff --git a/resources/css/index.css b/resources/css/index.css index b58bea3f..9617ff78 100644 --- a/resources/css/index.css +++ b/resources/css/index.css @@ -258,37 +258,6 @@ main { border-radius: 7px; } -.footer{ - font-family: "Montserrat", sans-serif; - min-height: 100px; - display: flex; - align-items: center; - margin-top: 50px; - justify-content: space-between; - padding: 0 100px; - flex-wrap: wrap; - background-color: rgb(50, 50, 50); -} - -.copyrights{ - padding-right: 20px; - color: white; -} - -.copyrights, -#year { - padding-right: 20px; - color: #9aa0a6; - display: inline; - padding: 0; -} - -.conditions_generale { - text-decoration: none; - font-weight: 600; - color: #9aa0a6; -} - .btn_theme { background-color:rgba(255, 255, 255, 0); color: rgb(83, 83, 83); diff --git a/resources/css/my-network-project.css b/resources/css/my-network-project.css new file mode 100644 index 00000000..824fc6b1 --- /dev/null +++ b/resources/css/my-network-project.css @@ -0,0 +1,102 @@ +@import url("https://fonts.googleapis.com/css?family=Montserrat:700"); + +.btn { + color: white; + font-weight: bold; + font-size: 1em; + text-decoration: none; + text-transform: uppercase; + padding: 4px; + background-color: #222222; + transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55), background-position 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 500ms linear; + background-image: url('data:image/svg+xml;utf8,'); + background-size: contain; + background-position: -200px center; + background-repeat: no-repeat; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); + display: flex; + align-items: center; + font-family: 'Inter', sans-serif; + border-radius: 10px; +} +.btn:hover { + transform: scale(1.04); + background-position: -60px; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); +} +.btn:active { + transform: scale(0.5); + background-position: 500px; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); +} + +.txt_lien{ + width : 100%; + text-align: center; + padding-right: 48px; +} + +*{ + margin: 0; + padding: 0; + scroll-behavior: smooth; +} + +body{ + background-color: black; +} + +section{ + display: flex; + flex-direction: column; + -webkit-box-pack: justify; + justify-content: space-between; +} + +div{ + padding: 8px; +} + +.accueil{ + -webkit-box-align: center; + align-items: center; + padding: 64px 16px 32px; +} + +.profil_img{ + border-radius: 50%; + width : 100px; + height : 100px; +} + +h1{ + font-family: 'Inter', sans-serif; + font-weight: 900; + color: rgb(255, 255, 255); + font-size: 20px; + margin-left: 12px; + margin-right: 12px; + max-width: 100%; + margin-top: 15px; +} + +h2{ + font-family: 'Inter', sans-serif; + font-weight: 900; + color: rgba(255, 255, 255, 0.6); + font-size: 16px; + padding-left: 40px; + padding-right: 40px; + margin-top: 8px; +} + +.liste_btn{ + margin: 0px auto; + max-width: 680px; +} + +.lien_img{ + width : 48px; + height : 48px; + border-radius: 9px; +} \ No newline at end of file diff --git a/resources/css/project-nups.css b/resources/css/project-nups.css index 07a5810a..220cf1fb 100644 --- a/resources/css/project-nups.css +++ b/resources/css/project-nups.css @@ -206,36 +206,6 @@ nav a{ /* -------------------- section autre -------------------- */ -/* -------------------- footer -------------------- */ - -.footer{ - font-family: "Montserrat", sans-serif; - min-height: 100px; - display: flex; - align-items: center; - margin-top: 50px; - justify-content: space-between; - padding: 0 100px; - flex-wrap: wrap; - background-color: rgb(50, 50, 50); -} - -.copyrights, -#year{ - padding-right: 20px; - color: white; - display: inline; - padding: 0; -} - -.conditions_generale{ - text-decoration: none; - font-weight: 600; - color: white; -} - -/* -------------------- footer -------------------- */ - .dark-mode-theme { background-color: #1c1c1e; color: #fefefe; diff --git a/resources/views/auth.edge b/resources/views/auth.edge index a5c7781b..152eb446 100644 --- a/resources/views/auth.edge +++ b/resources/views/auth.edge @@ -77,5 +77,6 @@ + @include('components/foother') \ No newline at end of file diff --git a/resources/views/components/foother.edge b/resources/views/components/foother.edge new file mode 100644 index 00000000..9a97ed7c --- /dev/null +++ b/resources/views/components/foother.edge @@ -0,0 +1,52 @@ + + + \ No newline at end of file diff --git a/resources/views/index.edge b/resources/views/index.edge index d5b0cf42..453eee4e 100644 --- a/resources/views/index.edge +++ b/resources/views/index.edge @@ -107,6 +107,9 @@
+
+ +
@@ -128,22 +131,6 @@
- - + @include('components/foother') diff --git a/resources/views/projects/myNetwork/index.edge b/resources/views/projects/myNetwork/index.edge new file mode 100644 index 00000000..f50eb526 --- /dev/null +++ b/resources/views/projects/myNetwork/index.edge @@ -0,0 +1,71 @@ + + + + + + + + Arthur Puechberty + + @entryPointStyles('my-network-project') + + +
+ Photo de profil Arthur +

Arthur

+

Une grande passion : la voile ⛵️

+
+
+
+ Logo Instagram +

Instagram

+
+
+
+ Logo Discord +

Discord

+
+
+
+ Logo Twitter +

Twitter

+
+
+
+ Logo YouTube +

YouTube

+
+
+
+ Logo Facebook +

Facebook

+
+
+
+ Logo Twitch +

Twitch

+
+
+
+ Logo Github +

Github

+
+
+
+ Logo Minecraft +

Minecraft

+
+
+
+ @include('components/foother') + + + \ No newline at end of file diff --git a/resources/views/projects/nups/project-nups.edge b/resources/views/projects/nups/project-nups.edge index c5613b97..e1e81901 100644 --- a/resources/views/projects/nups/project-nups.edge +++ b/resources/views/projects/nups/project-nups.edge @@ -98,24 +98,7 @@

Autre

Nous avons aussi un serveur discord !

- - - + @include('components/foother') + @include('components/foother') \ No newline at end of file diff --git a/start/routes.ts b/start/routes.ts index 71e9e6b1..8a417bc1 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -33,5 +33,6 @@ Route.post('/modifemail', 'ComptesController.modifemail').as('modifemail') Route.get('/projects/nups', 'ProjectsController.nups').as('nups') Route.get('/projects/nups/web', 'ProjectsController.nupsWeb').as('nups-web') +Route.get('/projects/my-networks', 'ProjectsController.myNetwork').as('myNetwork') Route.get('/terms', 'TermsController.index').as('terms') \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index b0d6fdc0..54ba7c01 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -51,6 +51,7 @@ Encore.addEntry('compte', './resources/css/compte.css') Encore.addEntry('terms', './resources/css/terms.css') Encore.addEntry('project-nups', './resources/css/project-nups.css') Encore.addEntry('nups', './resources/css/nups.css') +Encore.addEntry('my-network-project', './resources/css/my-network-project.css') /* |--------------------------------------------------------------------------