Add GridWrapper and RetourEnHaut components
- Created GridWrapper component to wrap MUI Grid for easier usage. - Implemented RetourEnHaut component for a "back to top" button with smooth scrolling and navigation to the homepage.
This commit is contained in:
+17
-11
@@ -4,12 +4,12 @@ kind: Deployment
|
||||
metadata:
|
||||
name: nginx-deployment
|
||||
labels:
|
||||
app: nginx
|
||||
app: aplication_front_portefolio
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx
|
||||
app: aplication_front_portefolio
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
@@ -17,25 +17,31 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: nginx:alpine
|
||||
image: front_portefolio:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
- name: react-app
|
||||
image: .
|
||||
- name: api-go
|
||||
image: .
|
||||
- name: http
|
||||
containerPort: 80
|
||||
protocol: TCP
|
||||
- name: https
|
||||
containerPort: 443
|
||||
protocol: TCP
|
||||
|
||||
...
|
||||
apiVersion: apps/v1
|
||||
kind: service
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: serveur-portefolio-service
|
||||
spec:
|
||||
selector:
|
||||
app: aplication_front_portefolio
|
||||
ports:
|
||||
- protocol: TCP
|
||||
- name: http
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
- name: https
|
||||
protocol: TCP
|
||||
port: 443
|
||||
targetPort: 443
|
||||
type: LoadBalancer
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user