This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #759 from SE-TINF22B6/homepage
Frontend changes
- Loading branch information
Showing
94 changed files
with
1,661 additions
and
604 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -120,5 +120,4 @@ public void delete(@PathVariable Long id) { | |
service.delete(id); | ||
} | ||
|
||
|
||
} | ||
} |
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
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 +1,2 @@ | ||
/// <reference types="react-scripts" /> | ||
declare module 'adblock-detect-react'; |
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
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,57 @@ | ||
.ad-info { | ||
color: var(--light-grey); | ||
font-size: var(--text-font-size); | ||
margin-top: -10px; | ||
margin-bottom: -15px; | ||
position: relative; | ||
} | ||
|
||
.ad-wrapper { | ||
align-items: center; | ||
display: inline-flex; | ||
flex-direction: column; | ||
position: relative; | ||
gap: 20px; | ||
} | ||
|
||
.ad { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: var(--border-radius); | ||
} | ||
|
||
.ad-banner-pauschalreisen, .ad-banner-c24 { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: var(--border-radius); | ||
} | ||
|
||
.calendar-ad { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: var(--border-radius); | ||
} | ||
|
||
@media (max-width: 412px) { | ||
.ad-banner-pauschalreisen { | ||
width: 392px; | ||
} | ||
.ad-banner-c24 { | ||
width: 392px; | ||
} | ||
.calendar-ad, .ad-info { | ||
display: none; | ||
} | ||
.ad { | ||
display: none; | ||
} | ||
} | ||
|
||
@media (max-width: 390px) { | ||
.ad-banner-pauschalreisen { | ||
width: 370px; | ||
} | ||
.ad-banner-c24 { | ||
width: 370px; | ||
} | ||
} |
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,16 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const C24Ad = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://a.check24.net/misc/click.php?pid=638229&aid=338&deep=c24bank&cat=14" target="_blank"> | ||
<img src="https://a.check24.net/misc/view.php?pid=638229&aid=338&cat=14" width="160" height="600" | ||
className="ad" alt="Ad"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const DSLAd = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://a.check24.net/misc/click.php?pid=638229&aid=82&deep=dsl-anbieterwechsel&cat=4" target="_blank"><img | ||
src="https://a.check24.net/misc/view.php?pid=638229&aid=82&cat=4" width="280" height="250" | ||
style={{maxWidth: '100%', height: 'auto', borderRadius: 'var(--border-radius)'}} alt="Ad"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const DigitalOceanAd = () => { | ||
|
||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://www.digitalocean.com/?refcode=edd29efbe7cc&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge"> | ||
<img src="https://web-platforms.sfo2.cdn.digitaloceanspaces.com/WWW/Badge%202.svg" alt="DigitalOcean Referral Badge"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const MobileAd = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://a.check24.net/misc/click.php?pid=638229&aid=168&deep=handytarife&cat=7" target="_blank"> | ||
<img src="https://a.check24.net/misc/view.php?pid=638229&aid=168&cat=7" width="160" height="600" | ||
className="ad" alt="Ad"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const PrimeAd = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://www.amazon.de/joinstudent?tag=cashbackde-21" target="_blank"> | ||
<img src={process.env.PUBLIC_URL + '/assets/prime.webp'} width="1240" height="100" | ||
className="ad" alt="Ad"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const RentalCarAd = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://a.check24.net/misc/click.php?pid=638229&aid=213&deep=mietwagen-preisvergleich&cat=10" target="_blank"> | ||
<img | ||
src="https://a.check24.net/misc/view.php?pid=638229&aid=213&cat=10" width="280" height="250" | ||
style={{maxWidth: '100%', height: 'auto', borderRadius: 'var(--border-radius)'}} alt="Ad"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const SmallC24Ad = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://a.check24.net/misc/click.php?pid=638229&aid=342&deep=c24bank&cat=14" target="_blank"> | ||
<img src="https://a.check24.net/misc/view.php?pid=638229&aid=342&cat=14" width="330" height="250" | ||
className="ad-banner-c24" alt="Ad"/> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from "react"; | ||
import "./Ads.css"; | ||
import config from "../../config/config"; | ||
|
||
export const TravelAd = () => { | ||
return ( | ||
<div className="ad-wrapper" style={!config.adsOn ? {display: 'none'} : {}}> | ||
<div className="ad-info">Ad</div> | ||
{/*eslint-disable-next-line*/} | ||
<a href="https://a.check24.net/misc/click.php?pid=638229&aid=256&deep=pauschalreisen-vergleich&cat=9" | ||
target="_blank"> | ||
<img | ||
src="https://a.check24.net/misc/view.php?pid=638229&aid=256&cat=9" width="820" height="100" | ||
className="ad-banner-pauschalreisen" alt="Ad"/> | ||
</a> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.