diff --git a/res/static/img/misc/Banner Soul Studio.pdf b/res/static/img/misc/Banner Soul Studio.pdf new file mode 100644 index 0000000..9bd3f43 Binary files /dev/null and b/res/static/img/misc/Banner Soul Studio.pdf differ diff --git a/res/static/img/misc/banner_soul_studio.png b/res/static/img/misc/banner_soul_studio.png new file mode 100644 index 0000000..fface9f Binary files /dev/null and b/res/static/img/misc/banner_soul_studio.png differ diff --git a/res/static/img/misc/banner_soul_studio.xcf b/res/static/img/misc/banner_soul_studio.xcf new file mode 100644 index 0000000..76208c4 Binary files /dev/null and b/res/static/img/misc/banner_soul_studio.xcf differ diff --git a/res/template/file_viewer.html b/res/template/file_viewer.html index b2fcbb1..958a811 100644 --- a/res/template/file_viewer.html +++ b/res/template/file_viewer.html @@ -129,7 +129,7 @@ scrolling="no"> {{else if eq .Other.AdType 1}} - + {{else if eq .Other.AdType 2}} @@ -146,7 +146,10 @@ Longer file retention
- + {{else if eq .Other.AdType 3}} + + + {{end}}
{{end}} diff --git a/webcontroller/file_viewer.go b/webcontroller/file_viewer.go index 7628585..bc046f8 100644 --- a/webcontroller/file_viewer.go +++ b/webcontroller/file_viewer.go @@ -39,11 +39,12 @@ func adType() (i int) { // 0: A-ads // 1: Amarulasolutions // 2: Patreon + // 3: Soul Studio Yoga switch i { - case 0, 1, 2, 3: // 50% of the traffic - return 1 - case 4, 5, 6, 7: // 50% + case 0, 1, 2, 3, 4: // 5/8 of the traffic + return 3 + case 5, 6, 7: // 3/8 of traffic return 2 default: panic(fmt.Errorf(