add author avatar
This commit is contained in:
@@ -23,8 +23,14 @@ COPY vite.config.js vite.config.js
|
||||
|
||||
COPY ./certs /certs
|
||||
|
||||
# Открываем порт, который использует dev-сервер (например, Vite)
|
||||
EXPOSE 5173
|
||||
|
||||
# Запускаем dev-сервер (например, `npm run dev` для Vite)
|
||||
CMD ["npm", "run", "dev"]
|
||||
|
||||
# Определяем команду, которая будет выполняться при каждом запуске контейнера
|
||||
#CMD npm run build && chown -R 1000:1000 ./dist
|
||||
|
||||
#CMD ["npm", "run", "build"]
|
||||
ENTRYPOINT ["npm", "run"]
|
||||
#ENTRYPOINT ["npm", "run"]
|
||||
@@ -21,6 +21,7 @@ import './styles/components/single-partner-item.css';
|
||||
import './styles/components/suggestion-item.css';
|
||||
import './styles/components/agro-informer.css';
|
||||
import './styles/components/cookie-consent.css';
|
||||
import './styles/components/author.css';
|
||||
|
||||
|
||||
// rfo
|
||||
|
||||
19
frontend/src/styles/components/author.css
Normal file
19
frontend/src/styles/components/author.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.section-title-author{
|
||||
padding: 2.5rem 0 0 2.5rem;
|
||||
display: flex;
|
||||
align-items: center; /* центрирование по вертикали */
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.author-avatar{
|
||||
width: 10rem;
|
||||
height: 10rem;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.author-desc{
|
||||
margin-top: 0.5rem;
|
||||
padding: 1.5rem 1.25rem;
|
||||
}
|
||||
Reference in New Issue
Block a user