opus / src / components / Hero.jsx
202 words
 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
import React from 'react';
import { motion } from 'framer-motion';

const Hero = () => {
    return (
        <section style={{
            position: 'relative',
            minHeight: '70vh',
            display: 'flex',
            flexDirection: 'column',
            justifyContent: 'center',
            alignItems: 'center',
            background: 'radial-gradient(circle at center, rgba(20,20,20,1) 0%, rgba(5,5,5,1) 70%)',
            paddingBottom: '4rem'
        }}>
            <motion.div
                initial={{ opacity: 0, scale: 0.8 }}
                animate={{ opacity: 1, scale: 1 }}
                transition={{ duration: 1, ease: "easeOut" }}
                style={{ marginBottom: '2rem' }}
            >
                <img src="/opusLogo.svg" alt="OPUS Logo" style={{ width: '150px', height: '150px' }} />
            </motion.div>

            <motion.h1
                initial={{ opacity: 0, y: 20 }}
                animate={{ opacity: 1, y: 0 }}
                transition={{ duration: 0.8, delay: 0.5, ease: "easeOut" }}
                style={{
                    fontSize: '4rem',
                    fontWeight: 800,
                    letterSpacing: '0.05em',
                    textAlign: 'center',
                    color: '#ffffff'
                }}
            >
                OPUS
            </motion.h1>

            <motion.p
                initial={{ opacity: 0 }}
                animate={{ opacity: 0.7 }}
                transition={{ duration: 0.8, delay: 1, ease: "easeOut" }}
                style={{
                    fontSize: '1.2rem',
                    fontWeight: 300,
                    marginTop: '1rem',
                    letterSpacing: '0.1em',
                    textTransform: 'uppercase'
                }}
            >
                Human Experience Design
            </motion.p>

            <motion.div
                initial={{ opacity: 0 }}
                animate={{ opacity: 1, y: [0, 10, 0] }}
                transition={{
                    opacity: { delay: 2, duration: 1 },
                    y: { repeat: Infinity, duration: 1.5, ease: "easeInOut" }
                }}
                style={{
                    position: 'absolute',
                    bottom: '40px',
                    width: '2px',
                    height: '40px',
                    background: 'linear-gradient(to bottom, #fff, transparent)'
                }}
            />
        </section>
    );
};

export default Hero;

static mirror of HEAD · about · clone: git clone https://git.makefuture.ro/opus.git