mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 11:20:17 -04:00
change alignment
This commit is contained in:
parent
2b201b8c01
commit
64e08154e9
|
@ -1,4 +1,3 @@
|
|||
import Event from './Event';
|
||||
import Group from './Group';
|
||||
import UIPrimaryTitle from './UIPrimaryTitle';
|
||||
|
||||
|
@ -24,15 +23,15 @@ export default function App() {
|
|||
group: 'TJHSST Track and Field',
|
||||
location: 'Ashburn, Virginia',
|
||||
},
|
||||
{
|
||||
time: '5:00 PM to 8:00 PM',
|
||||
title: 'End of Year Party',
|
||||
group: 'TJHSST 2022',
|
||||
location: 'Dulles, Virginia',
|
||||
},
|
||||
]}
|
||||
name="TJHSST 2022"
|
||||
/>
|
||||
<Event
|
||||
title="End of Year Party"
|
||||
group="TJHSST 2022"
|
||||
location="Dulles, Virginia"
|
||||
time="5:00 PM to 8:00 PM"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ export type IGroup = {
|
|||
|
||||
export default function Group({ events, name }: IGroup) {
|
||||
return (
|
||||
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<h1>{name}</h1>
|
||||
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
{events.map((event) => (
|
||||
|
|
Loading…
Reference in New Issue
Block a user