-
Notifications
You must be signed in to change notification settings - Fork 18
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 #62 from ristekoss/staging
Release : revamp landing page and Schedule View
- Loading branch information
Showing
48 changed files
with
4,034 additions
and
422 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,15 @@ | ||
import React from "react"; | ||
|
||
export const ListMatkulIcon = (props) => { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="20" | ||
height="20" | ||
fill="currentColor" | ||
viewBox="0 0 24 25" | ||
> | ||
<path d="M21.375 5H7.687a.188.188 0 00-.187.188V6.5c0 .103.084.188.188.188h13.687a.188.188 0 00.188-.188V5.187A.188.188 0 0021.375 5zm0 6.656H7.687a.188.188 0 00-.187.188v1.312c0 .103.084.188.188.188h13.687a.188.188 0 00.188-.188v-1.312a.188.188 0 00-.188-.188zm0 6.656H7.687a.188.188 0 00-.187.188v1.313c0 .103.084.187.188.187h13.687a.188.188 0 00.188-.188V18.5a.188.188 0 00-.188-.188zM2.437 5.845a1.312 1.312 0 102.625 0 1.312 1.312 0 00-2.625 0zm0 6.656a1.313 1.313 0 102.626 0 1.313 1.313 0 00-2.625 0zm0 6.656a1.312 1.312 0 102.625 0 1.312 1.312 0 00-2.625 0z"></path> | ||
</svg> | ||
); | ||
}; |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
import { useSelector } from "react-redux"; | ||
|
||
import illustrationDesktop from "assets/Beta/illustration-lg.svg"; | ||
import illustrationMobile from "assets/Beta/illustration-sm.svg"; | ||
|
||
const AssetIllustration = styled.img` | ||
position: absolute; | ||
right: 0; | ||
top: ${({ isPrivate }) => (isPrivate ? "81px" : "0")}; | ||
display:none | ||
@media (min-width: 1200px) { | ||
display: block | ||
width: 40rem; | ||
} | ||
${(props) => | ||
props.isMobile && | ||
` | ||
width: 100%; | ||
display: block; | ||
@media (min-width: 480px) { | ||
display: none; | ||
} | ||
`} | ||
`; | ||
|
||
export const Illustration = ({ isPrivate }) => { | ||
const isMobile = useSelector((state) => state.appState.isMobile); | ||
|
||
return ( | ||
<> | ||
{isMobile ? ( | ||
<AssetIllustration | ||
isMobile={isMobile} | ||
src={illustrationMobile} | ||
alt="illustration-sm" | ||
/> | ||
) : ( | ||
<AssetIllustration | ||
isPrivate={isPrivate} | ||
src={illustrationDesktop} | ||
alt="illustration-lg" | ||
/> | ||
)} | ||
</> | ||
); | ||
}; |
Oops, something went wrong.