summaryrefslogtreecommitdiff
path: root/client/src/components/Schedule.tsx
blob: a22f1054370a7c971275ae962e8749ecc26a0d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import React from 'react';
import { Paper, Typography, useMediaQuery, useTheme } from '@mui/material';
import divineShepherd from '/divine-shepherd.jpg';

function Schedule() {
  const theme = useTheme();
  const isMobile = useMediaQuery('(max-width: 768px)');
  return (
    <div
      style={{
        height: '100%',
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
        backgroundImage: `url(${isMobile ? 'none' : divineShepherd})`,
        backgroundSize: 'cover',
      }}
    >
      <div
        style={{
          display: 'flex',
          justifyContent: 'center',
          width: '90%',
        }}
      >
        <Paper
          elevation={3}
          sx={{
            borderRadius: '8px',
            width: 512,
            px: 2,
          }}
        >
          <div style={{ display: 'flex', alignItems: 'center' }}>
            <div style={{ width: '35%' }}>
              <p>April 26, 2025</p>
            </div>
            <div style={{ width: '65%' }}>
              <Typography variant="h5">Wedding Schedule</Typography>
            </div>
          </div>
          <hr style={{ width: '100%' }} />
          <div style={{ display: 'flex', alignItems: 'center' }}>
            <div style={{ width: '35%' }}>
              <p>2:00 PM</p>
            </div>
            <div style={{ width: '65%' }}>
              <Typography variant="h6">Ceremony</Typography>
              <p>
                Divine Shepherd
                <br />
                <a
                  href="https://maps.app.goo.gl/dGWvmjPiVjNGBVkZ9"
                  style={{ color: theme.palette.primary.main }}
                >
                  15005 Q St, Omaha, NE 68137
                </a>
              </p>
            </div>
          </div>
          <hr style={{ width: '100%' }} />
          <div style={{ display: 'flex', alignItems: 'center' }}>
            <div style={{ width: '35%' }}>
              <p>5:00 PM</p>
            </div>
            <div style={{ width: '65%' }}>
              <Typography variant="h6">Reception</Typography>
              <p>
                A Venue on the Ridge
                <br />
                <a
                  href="https://maps.app.goo.gl/35RRqxzQdq6E4eSMA"
                  style={{ color: theme.palette.primary.main }}
                >
                  20033 Elkhorn Ridge Dr, Elkhorn, NE 68022
                </a>
              </p>
            </div>
          </div>
        </Paper>
      </div>
    </div>
  );
}

export default Schedule;