Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ if you use git submodule use this command to pull submodule
```
git submodule update --init --recursive
```

NOTE: on 10.19.2025 We switched all static assets to be served from static.simple2b.de domain because static files are stored in S3 bucket and routed using AWS Route53 and Cloudfront
2 changes: 1 addition & 1 deletion back/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

test_env_file = os.path.abspath("tests/test.env")

IMG_DOMAIN_SERVER = "https://static.simple2b.com"
IMG_DOMAIN_SERVER = "https://static.simple2b.de"


def get_version() -> str:
Expand Down
10 changes: 5 additions & 5 deletions back/app/templates/response_to_candidate.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
.bg-styles {
color: #718096;
background-image:
url(https://static.simple2b.com/email/user-response.png),
url(https://static.simple2b.com/email/user-response-2.png);
url(https://static.simple2b.de/email/user-response.png),
url(https://static.simple2b.de/email/user-response-2.png);
background-repeat: no-repeat, no-repeat;
background-position: left, right;
background-size: 232px, 160px;
Expand All @@ -36,8 +36,8 @@
@media screen and (max-width: 972px) {
.bg-styles {
background-image:
url(https://static.simple2b.com/email/user-response.png),
url(https://static.simple2b.com/email/user-response-2.png);
url(https://static.simple2b.de/email/user-response.png),
url(https://static.simple2b.de/email/user-response-2.png);

background-repeat: no-repeat, no-repeat;
background-position: left, right;
Expand All @@ -61,7 +61,7 @@

<div>
<a href="https://www.simple2b.com/">
<img height="100" src="https://static.simple2b.com/email/simple2b-logo.png">
<img height="100" src="https://static.simple2b.de/email/simple2b-logo.png">
</a>
</div>

Expand Down
10 changes: 5 additions & 5 deletions back/app/templates/response_to_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
.bg-styles {
color: #718096;
background-image:
url(https://static.simple2b.com/email/user-response.png),
url(https://static.simple2b.com/email/user-response-2.png);
url(https://static.simple2b.de/email/user-response.png),
url(https://static.simple2b.de/email/user-response-2.png);
background-repeat: no-repeat, no-repeat;
background-position: left, right;
background-size: 232px, 160px;
Expand All @@ -36,8 +36,8 @@
@media screen and (max-width: 972px) {
.bg-styles {
background-image:
url(https://static.simple2b.com/email/user-response.png),
url(https://static.simple2b.com/email/user-response-2.png);
url(https://static.simple2b.de/email/user-response.png),
url(https://static.simple2b.de/email/user-response-2.png);

background-repeat: no-repeat, no-repeat;
background-position: left, right;
Expand All @@ -55,7 +55,7 @@

<div>
<a href="https://www.simple2b.com/">
<img height="100" src="https://static.simple2b.com/email/simple2b-logo.png">
<img height="100" src="https://static.simple2b.de/email/simple2b-logo.png">
</a>
</div>

Expand Down
2 changes: 1 addition & 1 deletion front/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const nextConfig = {
remotePatterns: [
{
protocol: 'https',
hostname: 'static.simple2b.com',
hostname: 'static.simple2b.de',
port: '',
},
],
Expand Down
2 changes: 1 addition & 1 deletion front/src/app/constants-server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**For server components */
export const IMG_DOMAIN_SERVER = 'https://static.simple2b.com';
export const IMG_DOMAIN_SERVER = 'https://static.simple2b.de';
// load package version from package.json
export const PACKAGE_VERSION = require('../../package.json').version;
2 changes: 1 addition & 1 deletion front/src/app/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

/**For client components */
export const IMG_DOMAIN = 'https://static.simple2b.com';
export const IMG_DOMAIN = 'https://static.simple2b.de';

// load package version from package.json
export const PACKAGE_VERSION = require('../../package.json').version;
6 changes: 3 additions & 3 deletions front/src/components/Sections/HeaderSection.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
height: 514px;
left: 0;
top: 0;
background: url('https://static.simple2b.com/others/dust1.png');
background: url('https://static.simple2b.de/others/dust1.png');
transition: transform 0.5s ease-out;
}

Expand All @@ -41,7 +41,7 @@
height: 100%;
left: 0;
top: 0;
background: url('https://static.simple2b.com/others/dust2.png');
background: url('https://static.simple2b.de/others/dust2.png');
transition: transform 0.5s ease-out;
}

Expand All @@ -51,7 +51,7 @@
height: 386px;
left: 115px;
top: 100px;
background: url('https://static.simple2b.com/others/dust3.png');
background: url('https://static.simple2b.de/others/dust3.png');
transition: transform 0.5s ease-out;
}
}
Expand Down