generated from BloomTech-Labs/template-fe
-
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 #65 from Lambda-School-Labs/searchtest
fixes some styling in the user dashboard
- Loading branch information
Showing
26 changed files
with
364 additions
and
197 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
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
File renamed without changes.
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,67 @@ | ||
import React from "react"; | ||
import MockEventStyles from '../../../styles/MockEventsStyles'; | ||
import ExpansionPanel from '@material-ui/core/ExpansionPanel'; | ||
import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary'; | ||
import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails'; | ||
import Typography from '@material-ui/core/Typography'; | ||
import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; | ||
import Button from '@material-ui/core/Button'; | ||
import CardMedia from '@material-ui/core/CardMedia'; | ||
import CardActionArea from '@material-ui/core/CardActionArea'; | ||
|
||
import Wine from '../../../images/carousel1blurrparty.jpg' | ||
import Marathn from '../../../images/carousel2marathon.jpg' | ||
import Museum from '../../../images/carousel3couplepark.jpg' | ||
|
||
|
||
export default function MockEvents(){ | ||
const useStyles = MockEventStyles; | ||
const classes = useStyles(); | ||
const data = [ | ||
{img: `${Wine}`, | ||
title: "Wine And Beer Aficionados", | ||
content: "Whether you are new to wine tasting or beer sampling or a long time connoisseur, please join us for a fun filled night of connecting with new friends or reuniting with past friends sampling local varieties and enjoying a live local band."}, | ||
{img: `${Marathn}`, | ||
title: "Marathon And New Runner Enthusiasts", | ||
content: "Whether you are new to marathons or running as a sport or a long time member, please join us for a fun filled night of connecting with new friends or reuniting with past friends sampling nutrition supplements, trying out new training equipment."}, | ||
{img: `${Museum}`, | ||
title: "Movies, Parks, Museums, OH MY!", | ||
content: "Whether you are new to attending Movie Premiers, Specialty Parks or Museums or you are a long time fan, please join us for a fun filled night. Connect with new friends or reunite with past friends by watching new movie trailers, video tours of the best parks and museums while enjoying light snacks and beverages."} | ||
] | ||
return( | ||
<div className={classes.root}> | ||
{data.map(i => ( | ||
<ExpansionPanel> | ||
<ExpansionPanelSummary | ||
expandIcon={<ExpandMoreIcon />} | ||
aria-controls="panel1a-content" | ||
id="panel1a-header"> | ||
<Typography className={classes.heading}>{i.title}</Typography> | ||
</ExpansionPanelSummary> | ||
<ExpansionPanelDetails> | ||
|
||
<Typography>{i.content} | ||
<div> | ||
<Button variant="outlined" href="/events" > | ||
More about the event here</Button> | ||
</div> | ||
</Typography> | ||
<CardActionArea> | ||
|
||
<CardMedia | ||
className={classes.media} | ||
image={i.img} | ||
title={i.title} | ||
/> | ||
|
||
</CardActionArea> | ||
|
||
</ExpansionPanelDetails> | ||
</ExpansionPanel> | ||
))} | ||
|
||
|
||
|
||
</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,21 @@ | ||
import React from 'react' | ||
import Panel from './Panels' | ||
|
||
const Sel = () => { | ||
// need to bring in the card domponent as an array not sure how yet | ||
let part = 0 | ||
//the count of component index | ||
const handle = () => { | ||
if (direction == 'forward') | ||
part = (part + 1) % comp.length | ||
else | ||
part = (part -1 + comp.length) % comp.length | ||
} | ||
return ( | ||
<div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default Sel |
10 changes: 5 additions & 5 deletions
10
src/components/Footer.js → src/components/Landing/Footer.js
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
2 changes: 1 addition & 1 deletion
2
src/components/LandingPageTestimony.js → ...omponents/Landing/LandingPageTestimony.js
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
Oops, something went wrong.