poprawki w klomponentach, dodanie dyrektyw nginx
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
c65b809590
commit
aa13593235
@ -1,3 +1,20 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: nginx-config
|
||||
data:
|
||||
default.conf: |
|
||||
server {
|
||||
listen 80;
|
||||
server_name izaac-frontend.izaac.pl;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -28,7 +28,7 @@
|
||||
"postcss": "^8.4.31",
|
||||
"postcss-nesting": "^12.0.1",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"vite": "^4.4.5"
|
||||
"vite": "^4.5.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@aashutoshrathi/word-wrap": {
|
||||
|
||||
@ -30,6 +30,6 @@
|
||||
"postcss": "^8.4.31",
|
||||
"postcss-nesting": "^12.0.1",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"vite": "^4.4.5"
|
||||
"vite": "^4.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ const NavBar = () => {
|
||||
{currentLinks.map((nav, index) => (
|
||||
<li
|
||||
key={nav.id}
|
||||
className={`font-popins font-semibold cursor-pointer xs:text-[18px] sm:text-[14px] text-[10px] ${index === linki.length - 1 ? 'mr-7' : 'sm:mr-7 mr-10'} text-slate-900 hover:text-sky-600`}
|
||||
className={`font-popins font-semibold cursor-pointer xs:text-[18px] sm:text-[14px] lg:text-[18px] text-[10px] ${index === linki.length - 1 ? 'mr-7' : 'sm:mr-7 mr-10'} text-slate-900 hover:text-sky-600`}
|
||||
>
|
||||
<Link to={`/${nav.name}`}>{nav.title}</Link>
|
||||
</li>
|
||||
@ -37,7 +37,7 @@ const NavBar = () => {
|
||||
<img
|
||||
src={search}
|
||||
alt="menu"
|
||||
className='w-5 h-5 object-contain ml-10 hidden sm:block'
|
||||
className='w-5 h-5 object-contain ml-6 hidden sm:block'
|
||||
onClick={() => setToggleSearch((prev) => !prev)}/>
|
||||
<div className='sm:hidden flex flex-1 justify-end items-center'>
|
||||
<img
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user