-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor/import-current-framework-version (#7)
* refactor: add current framework version * refactor: add windows scripts * refactor: add windows scripts --------- Co-authored-by: mikewegele <mike.wegele@iav.de> Co-authored-by: dahelfi <90329764+dahelfi@users.noreply.github.com>
- Loading branch information
1 parent
106d75b
commit 8025cc0
Showing
20 changed files
with
484 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,28 @@ | ||
import { nodeResolve } from '@rollup/plugin-node-resolve'; | ||
/** | ||
* Copyright © 2024 IAV GmbH Ingenieurgesellschaft Auto und Verkehr, All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import {nodeResolve} from '@rollup/plugin-node-resolve'; | ||
|
||
export default { | ||
input: "src/index.js", | ||
output: { | ||
dir: "output", | ||
format: "cjs" | ||
}, | ||
plugins: [nodeResolve()] | ||
input: "src/index.js", | ||
output: { | ||
dir: "output", | ||
format: "cjs" | ||
}, | ||
plugins: [nodeResolve()] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
/** | ||
* Copyright © 2024 IAV GmbH Ingenieurgesellschaft Auto und Verkehr, All Rights Reserved. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { useTranslator } from 'iav-frontend-framework/translators'; | ||
import { ImprintText } from 'iav-frontend-framework/imprint'; | ||
import { useContext } from 'react'; | ||
import { ColorSettingsContext } from 'iav-frontend-framework/colorSettingsContext'; | ||
import 'iav-frontend-framework/globalColors.css'; | ||
import {useTranslator} from "iav-frontend-framework/translators"; | ||
import {ImprintText} from "iav-frontend-framework/imprint"; | ||
import {useContext} from "react"; | ||
import {ColorSettingsContext} from "iav-frontend-framework/colorSettingsContext"; | ||
import "iav-frontend-framework/globalColors.css"; | ||
|
||
export const LegalDocuments = () => { | ||
const t = useTranslator(); | ||
const colorSettingsContext = useContext(ColorSettingsContext); | ||
const t = useTranslator(); | ||
const colorSettingsContext = useContext(ColorSettingsContext); | ||
|
||
return ( | ||
<div | ||
className={ | ||
(colorSettingsContext?.darkmode ? 'bg-black' : 'bg-grey-1') + ' p-3' | ||
} | ||
style={{ height: '100%', width: '100%', overflow: 'auto' }} | ||
> | ||
<div | ||
className={ | ||
(colorSettingsContext?.darkmode ? 'bg-grey-5' : 'bg-white-1') + | ||
' flex px-3' | ||
} | ||
style={{ | ||
flexDirection: 'column', | ||
height: '100%', | ||
width: '100%', | ||
overflow: 'auto', | ||
}} | ||
> | ||
return ( | ||
<div | ||
className={ | ||
colorSettingsContext?.darkmode ? 'color-blue-3' : 'color-red' | ||
} | ||
style={{ | ||
textAlign: 'center', | ||
fontSize: '25px', | ||
fontWeight: 'bolder', | ||
}} | ||
className={ | ||
(colorSettingsContext?.darkmode ? "bg-black" : "bg-grey-1") + " p-3" | ||
} | ||
style={{height: "100%", width: "100%", overflow: "auto"}} | ||
> | ||
{t('Customized_legal_documents')} | ||
<div | ||
className={ | ||
(colorSettingsContext?.darkmode ? "bg-grey-6" : "bg-white-1") + | ||
" flex px-3" | ||
} | ||
style={{ | ||
flexDirection: "column", | ||
height: "100%", | ||
width: "100%", | ||
overflow: "auto", | ||
}} | ||
> | ||
<div | ||
className={ | ||
colorSettingsContext?.darkmode ? "color-blue-3" : "color-red" | ||
} | ||
style={{ | ||
textAlign: "center", | ||
fontSize: "25px", | ||
fontWeight: "bolder", | ||
}} | ||
> | ||
{t("Customized_legal_documents")} | ||
</div> | ||
<ImprintText/> | ||
</div> | ||
</div> | ||
<ImprintText /> | ||
</div> | ||
</div> | ||
); | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!-- | ||
Copyright © 2024 IAV GmbH Ingenieurgesellschaft Auto und Verkehr, All Rights Reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
# Fixes | ||
|
||
- adjust color in darkmode | ||
- correct CEO name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- | ||
Copyright © 2024 IAV GmbH Ingenieurgesellschaft Auto und Verkehr, All Rights Reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
# Fixes | ||
|
||
- fix color in darkmode for imprintText |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.