Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from Yunite-Net/release-v1.1.1
Browse files Browse the repository at this point in the history
chore: 🍰 Release v1.1.1 – First Design Rebranding
  • Loading branch information
Tirokk authored Sep 23, 2022
2 parents 7edc3c8 + a9b1ab8 commit e757e34
Show file tree
Hide file tree
Showing 14 changed files with 93 additions and 174 deletions.
28 changes: 28 additions & 0 deletions branding/assets/styles/imports/_branding.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
*
* Here, all SCSS variables and classes can be adapted to your custom design.
*
*/

$color-primary: #6e8b87;
$color-primary-light: #a6ff00;

$color-header-background: $color-primary;
$color-footer-background: $color-primary-light;

$color-locale-menu: $color-primary-light;

.main-navigation a {
color: $color-primary-light;
}
.main-navigation a:hover {
color: $color-neutral-100;
}

.main-navigation .locale-menu {
color: $color-primary-light;
}

.main-navigation .base-button {
color: $color-primary-light;
}
8 changes: 4 additions & 4 deletions branding/constants/emails.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// this file is duplicated in `backend/src/config/` and `webapp/constants/` and replaced on rebranding by https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding/tree/master/branding/constants/
export default {
SUPPORT_EMAIL: '[email protected]',
MODERATION_EMAIL: 'hello@ocelot.social',
SUPPORT_EMAIL: '[email protected]',
MODERATION_EMAIL: 'hello@yunite.org',
// ATTENTION: the following links have to be defined even for internal pages with full URLs as example like 'https://staging.ocelot.social/support', because they are used in e-mails!
ORGANIZATION_LINK: 'https://ocelot.social',
SUPPORT_LINK: 'https://ocelot.social',
ORGANIZATION_LINK: 'https://yunite.org',
SUPPORT_LINK: 'https://yunite.org',
}
12 changes: 12 additions & 0 deletions branding/constants/headerMenu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export default {
MENU: [
{
name: 'Beiträge',
path: '/#',
},
{
name: 'Über Yunite',
url: 'https://yunite.org',
},
],
}
24 changes: 12 additions & 12 deletions branding/constants/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { defaultPageParamsPages } from '~/components/utils/InternalPages.js'

const ORGANIZATION = defaultPageParamsPages.ORGANIZATION.overwrite({
externalLink: 'https://ocelot.social', // if string is defined and not empty it's dominating
externalLink: 'https://yunite.org', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.made', // localized string identifier, if undefined default is used
Expand All @@ -12,12 +12,12 @@ const ORGANIZATION = defaultPageParamsPages.ORGANIZATION.overwrite({
hasContainer: true,
hasBaseCard: true,
hasLoginInHeader: true,
// in case internal page content is here 'branding/locales/html/'
// in case internal page content is here 'webapp/locales/html/'
},
})
const DONATE = defaultPageParamsPages.DONATE.overwrite({
// we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly
externalLink: 'https://ocelot-social.herokuapp.com/donations', // if string is defined and not empty it's dominating
externalLink: 'https://yunite.org/brand-guidelines/', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.donate', // localized string identifier, if undefined default is used
Expand All @@ -31,7 +31,7 @@ const DONATE = defaultPageParamsPages.DONATE.overwrite({
})
const IMPRINT = defaultPageParamsPages.IMPRINT.overwrite({
// we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly
externalLink: 'https://ocelot-social.herokuapp.com/imprint', // if string is defined and not empty it's dominating
externalLink: 'https://yunite.org/impressum/', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.imprint', // localized string identifier, if undefined default is used
Expand All @@ -57,7 +57,7 @@ const TERMS_AND_CONDITIONS = defaultPageParamsPages.TERMS_AND_CONDITIONS.overwri
},
})
const CODE_OF_CONDUCT = defaultPageParamsPages.CODE_OF_CONDUCT.overwrite({
// externalLink: null, // if string is defined and not empty it's dominating
externalLink: 'https://yunite.org/ueber-yunite/unsere-werte/', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.code-of-conduct', // localized string identifier, if undefined default is used
Expand All @@ -70,7 +70,7 @@ const CODE_OF_CONDUCT = defaultPageParamsPages.CODE_OF_CONDUCT.overwrite({
},
})
const DATA_PRIVACY = defaultPageParamsPages.DATA_PRIVACY.overwrite({
// externalLink: null, // if string is defined and not empty it's dominating
externalLink: 'https://yunite.org/datenschutz/', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.data-privacy', // localized string identifier, if undefined default is used
Expand All @@ -83,7 +83,7 @@ const DATA_PRIVACY = defaultPageParamsPages.DATA_PRIVACY.overwrite({
},
})
const FAQ = defaultPageParamsPages.FAQ.overwrite({
// externalLink: null, // if string is defined and not empty it's dominating
externalLink: 'https://yunite.org/ueber-yunite/faq-hilfe/', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.faq', // localized string identifier, if undefined default is used
Expand All @@ -96,7 +96,7 @@ const FAQ = defaultPageParamsPages.FAQ.overwrite({
},
})
const SUPPORT = defaultPageParamsPages.SUPPORT.overwrite({
externalLink: 'https://ocelot.social', // if string is defined and not empty it's dominating
// externalLink: '', // if string is defined and not empty it's dominating

internalPage: {
// footerIdent: 'site.support', // localized string identifier, if undefined default is used
Expand Down Expand Up @@ -125,12 +125,12 @@ export default {

FOOTER_LINK_LIST: [
ORGANIZATION,
TERMS_AND_CONDITIONS,
// TERMS_AND_CONDITIONS,
CODE_OF_CONDUCT,
DATA_PRIVACY,
FAQ,
DONATE,
// DONATE,
// SUPPORT,
IMPRINT,
SUPPORT,
],
}
}
1 change: 1 addition & 0 deletions branding/constants/logos.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// this are the paths in the webapp
export default {
LOGO_HEADER_PATH: '/img/custom/logo-horizontal.svg',
LOGO_HEADER_WIDTH: '47px',
LOGO_SIGNUP_PATH: '/img/custom/logo-squared.svg',
LOGO_WELCOME_PATH: '/img/custom/logo-squared.svg',
LOGO_LOGOUT_PATH: '/img/custom/logo-squared.svg',
Expand Down
10 changes: 5 additions & 5 deletions branding/constants/metadata.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// this file is duplicated in `backend/src/config/metadata.js` and `webapp/constants/metadata.js` and replaced on rebranding
export default {
APPLICATION_NAME: 'ocelot.social',
APPLICATION_SHORT_NAME: 'ocelot.social',
APPLICATION_DESCRIPTION: 'Ocelot Social Community',
APPLICATION_NAME: 'yunite.me',
APPLICATION_SHORT_NAME: 'yunite.me',
APPLICATION_DESCRIPTION: 'Yunite Community',
COOKIE_NAME: 'ocelot-social-token',
ORGANIZATION_NAME: 'busFaktor e.V.',
ORGANIZATION_JURISDICTION: 'Deutschland',
ORGANIZATION_NAME: 'Verein Corona-Reset',
ORGANIZATION_JURISDICTION: 'Switzerland',
}
Binary file modified branding/static/favicon.ico
Binary file not shown.
Binary file modified branding/static/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 8 additions & 73 deletions branding/static/img/custom/logo-horizontal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 10 additions & 77 deletions branding/static/img/custom/logo-squared.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docker-compose.ocelotsocial-branded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
- MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
# - WEBSOCKETS_URI=ws://backend:4000/graphql # is not working and not given in Docker YAML in main repo
- PUBLIC_REGISTRATION=true
- INVITE_REGISTRATION=true
- CATEGORIES_ACTIVE=true

########################################################
# BACKEND ##############################################
Expand All @@ -47,6 +49,8 @@ services:
- [email protected]
# - PRODUCTION_DB_CLEAN_ALLOW=false # only true for production environments on staging servers
- PUBLIC_REGISTRATION=true
- INVITE_REGISTRATION=true
- CATEGORIES_ACTIVE=true
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_HOST=mailserver
Expand Down
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ services:
- MAPBOX_TOKEN="pk.eyJ1IjoiYnVzZmFrdG9yIiwiYSI6ImNraDNiM3JxcDBhaWQydG1uczhpZWtpOW4ifQ.7TNRTO-o9aK1Y6MyW_Nd4g"
# - WEBSOCKETS_URI=ws://backend:4000/graphql # is not working and not given in Docker YAML in main repo
- PUBLIC_REGISTRATION=true
- INVITE_REGISTRATION=true
- CATEGORIES_ACTIVE=true

########################################################
# BACKEND ##############################################
Expand Down Expand Up @@ -56,6 +58,8 @@ services:
- [email protected]
# - PRODUCTION_DB_CLEAN_ALLOW=false # only true for production environments on staging servers
- PUBLIC_REGISTRATION=true
- INVITE_REGISTRATION=true
- CATEGORIES_ACTIVE=true
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- SMTP_HOST=mailserver
Expand Down Expand Up @@ -83,7 +87,7 @@ services:
########################################################
neo4j:
# name the image so that it cannot be found in a DockerHub repository, otherwise it will not be built locally from the 'dockerfile' but pulled from there
image: ocelotsocialnetwork/neo4j-community-branded:local-production
image: ocelotsocialnetwork/neo4j-community-branded:latest
networks:
- test-network
volumes:
Expand Down
2 changes: 2 additions & 0 deletions docker/webapp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ FROM $APP_IMAGE_CODE as code
COPY branding/static/ static/
COPY branding/constants/ constants/
COPY branding/locales/ locales/
COPY branding/assets/styles/imports/ assets/styles/imports/

##################################################################################
# BUILD ##########################################################################
Expand Down Expand Up @@ -41,6 +42,7 @@ COPY --from=build ${DOCKER_WORKDIR}/config/ ./config/
COPY --from=build ${DOCKER_WORKDIR}/constants ./constants
COPY --from=build ${DOCKER_WORKDIR}/static ./static
COPY --from=build ${DOCKER_WORKDIR}/locales ./locales
COPY --from=build ${DOCKER_WORKDIR}/assets/styles/imports ./assets/styles/imports
# Copy package.json for script definitions (lock file should not be needed)
COPY --from=build ${DOCKER_WORKDIR}/package.json ./package.json

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yunite.net",
"version": "1.1.0",
"ocelotDockerVersionTag": "1.1.0-225",
"version": "1.1.1",
"ocelotDockerVersionTag": "1.1.1-228",
"dockerOrganisation": "tirokk",
"description": "yunite.net Branded",
"author": "yunite.net Community",
Expand Down

0 comments on commit e757e34

Please sign in to comment.