-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b4dbba9
commit 278b49b
Showing
7 changed files
with
104 additions
and
85 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
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 |
---|---|---|
|
@@ -106,6 +106,4 @@ body { | |
input[type='search'] { | ||
appearance: textfield; | ||
} | ||
|
||
|
||
} | ||
} |
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 |
---|---|---|
@@ -1,42 +1,42 @@ | ||
import EventsContainer from "events/components/EventsContainer"; | ||
import React, { FC } from "react"; | ||
import Articles from "./components/Articles"; | ||
import ForCompanies from "./components/ForCompanies"; | ||
import Offline from "./components/Offline"; | ||
import { IOfflineIssue } from "./models/Offline"; | ||
import AprilFoolsCaptcha from "./components/AprilFoolsCaptcha"; | ||
import EventsContainer from 'events/components/EventsContainer'; | ||
import React, { FC } from 'react'; | ||
import Articles from './components/Articles'; | ||
import ForCompanies from './components/ForCompanies'; | ||
import Offline from './components/Offline'; | ||
import { IOfflineIssue } from './models/Offline'; | ||
import AprilFoolsCaptcha from './components/AprilFoolsCaptcha'; | ||
|
||
interface FrontpageProps { | ||
offlines: IOfflineIssue[]; | ||
offlines: IOfflineIssue[]; | ||
} | ||
|
||
const Frontpage: FC<FrontpageProps> = ({ offlines }) => ( | ||
<> | ||
<AprilFoolsCaptcha /> | ||
<div | ||
style={{ | ||
padding: "20px", | ||
borderRadius: "8px", | ||
textAlign: "center", | ||
boxShadow: "0 2px 4px rgba(0,0,0,0.1)", | ||
marginBottom: "20px", | ||
}} | ||
> | ||
<p | ||
style={{ | ||
fontSize: "1.1rem", | ||
}} | ||
> | ||
Ser du etter informasjon om fadderukene? | ||
<br /> | ||
<a href="https://splash.online.ntnu.no/">Gå til programmet</a> | ||
</p> | ||
</div> | ||
<EventsContainer /> | ||
<Articles /> | ||
<Offline issues={offlines} /> | ||
<ForCompanies /> | ||
</> | ||
<> | ||
<AprilFoolsCaptcha /> | ||
<div | ||
style={{ | ||
padding: '20px', | ||
borderRadius: '8px', | ||
textAlign: 'center', | ||
boxShadow: '0 2px 4px rgba(0,0,0,0.1)', | ||
marginBottom: '20px', | ||
}} | ||
> | ||
<p | ||
style={{ | ||
fontSize: '1.1rem', | ||
}} | ||
> | ||
Ser du etter informasjon om fadderukene? | ||
<br /> | ||
<a href="https://splash.online.ntnu.no/">Gå til programmet</a> | ||
</p> | ||
</div> | ||
<EventsContainer /> | ||
<Articles /> | ||
<Offline issues={offlines} /> | ||
<ForCompanies /> | ||
</> | ||
); | ||
|
||
export default Frontpage; |
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