make footer sticky

This commit is contained in:
Thomas Ruoff
2020-08-12 00:38:16 +02:00
parent f6c2d0d6b6
commit 0606d643e7
3 changed files with 40 additions and 12 deletions

View File

@@ -87,7 +87,7 @@ export default function DateSelect() {
formatDate={dateFormat}
parseDate={parseDate}
dayPickerProps={{
className: 'Selectable',
className: 'datepicker',
selectedDays: [from, { from, to }],
disabledDays,
modifiers,
@@ -95,7 +95,7 @@ export default function DateSelect() {
}}
onDayChange={(from) => setRange({ ...range, from })}
/>
<Form.Label className="px-2">bis</Form.Label>
<Form.Label className="px-2">-</Form.Label>
<DayPickerInput
ref={toRef}
component={Form.Control}
@@ -105,7 +105,7 @@ export default function DateSelect() {
formatDate={dateFormat}
parseDate={parseDate}
dayPickerProps={{
className: 'Selectable',
className: 'datepicker',
selectedDays: [from, { from, to }],
disabledDays,
modifiers,

19
components/footer.js Normal file
View File

@@ -0,0 +1,19 @@
import React from 'react'
import Card from 'react-bootstrap/Card'
export default function Footer() {
return (
<footer className="mt-5 mb-2">
<Card>
<Card.Body>
<Card.Title>i.A. des Freundeskreis des VCP Rosenfeld</Card.Title>
<Card.Text>
Hier sollte es irgendwann ein Impressum, Datenschutzhinweise usw.
geben.
</Card.Text>
</Card.Body>
</Card>
</footer>
)
}