Spaces:
Running

File size: 7,622 Bytes
cc1d774
 
 
 
 
 
 
 
 
 
 
 
 
4786226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cc1d774
 
4786226
cc1d774
 
 
 
 
4786226
cc1d774
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7daa8ce
cc1d774
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Test starten | Gründertest</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#304154',
                        secondary: '#f89e17',
                        accent: '#d38714',
                        dark: '#23282d',
                        light: '#fafafa',
                        beige: '#dfc0a3',
                        gray: {
                            100: '#faf6f3',
                            200: '#f8f7f4',
                            300: '#f1f1f1',
                            400: '#9c9e9f',
                            500: '#5f5d5d',
                        },
                        cream: {
                            100: '#fff5ea',
                            200: '#faf6f3',
                            300: '#f8f7f4',
                        }
                    },
                    fontFamily: {
                        sans: ['Varela Round', 'sans-serif'],
                    }
                }
            }
        }
    </script>
    <link href="https://fonts.googleapis.com/css2?family=Varela+Round&display=swap" rel="stylesheet">
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <style>
        .progress-bar {
            height: 6px;
            transition: width 0.3s ease;
        }
        .question-card {
            transition: all 0.3s ease;
        }
        .question-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .option-hover:hover {
            background-color: rgba(0, 51, 102, 0.05);
        }
    </style>
</head>
<body class="font-sans bg-light">
    <!-- Navigation -->
    <nav class="bg-white shadow-sm">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <a href="index.html" class="flex-shrink-0 flex items-center">
                        <img class="h-8 w-auto" src="https://huggingface.co/spaces/JW74/gr-ndertest/resolve/main/images/Logo_EWU_karriere-haus_rgb.png" alt="karriere.haus Logo">
                        <span class="ml-2 text-primary font-semibold text-lg">Gründertest</span>
                    </a>
                </div>
                <div class="hidden md:ml-6 md:flex md:items-center">
                    <div class="flex items-center">
                        <div class="mr-4">
                            <p class="text-sm text-dark opacity-70">Frage <span class="font-semibold">1</span> von <span class="font-semibold">20</span></p>
                        </div>
                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                            <div class="progress-bar bg-primary h-2.5 rounded-full" style="width: 5%"></div>
                        </div>
                    </div>
                </div>
                <div class="-mr-2 flex items-center md:hidden">
                    <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-dark hover:text-primary hover:bg-gray-100 focus:outline-none">
                        <i data-feather="menu"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- Test Content -->
    <div class="max-w-3xl mx-auto px-4 sm:px-6 py-8 md:py-12">
        <div class="md:hidden mb-6">
            <p class="text-sm text-dark opacity-70 mb-2">Frage <span class="font-semibold">1</span> von <span class="font-semibold">20</span></p>
            <div class="w-full bg-gray-200 rounded-full h-2.5">
                <div class="progress-bar bg-primary h-2.5 rounded-full" style="width: 5%"></div>
            </div>
        </div>

        <div class="bg-white rounded-lg shadow-sm question-card p-6 md:p-8 mb-6">
            <h2 class="text-xl md:text-2xl font-semibold text-dark mb-6">Ich habe keine Angst davor, Entscheidungen zu treffen, auch wenn ich nicht alle Informationen habe.</h2>
            
            <div class="space-y-3">
                <label class="block option-hover cursor-pointer p-3 rounded-md border border-gray-200 transition">
                    <div class="flex items-center">
                        <input type="radio" name="question1" class="form-radio h-5 w-5 text-primary">
                        <span class="ml-3 text-dark">Stimme voll zu</span>
                    </div>
                </label>
                <label class="block option-hover cursor-pointer p-3 rounded-md border border-gray-200 transition">
                    <div class="flex items-center">
                        <input type="radio" name="question1" class="form-radio h-5 w-5 text-primary">
                        <span class="ml-3 text-dark">Stimme zu</span>
                    </div>
                </label>
                <label class="block option-hover cursor-pointer p-3 rounded-md border border-gray-200 transition">
                    <div class="flex items-center">
                        <input type="radio" name="question1" class="form-radio h-5 w-5 text-primary">
                        <span class="ml-3 text-dark">Neutral</span>
                    </div>
                </label>
                <label class="block option-hover cursor-pointer p-3 rounded-md border border-gray-200 transition">
                    <div class="flex items-center">
                        <input type="radio" name="question1" class="form-radio h-5 w-5 text-primary">
                        <span class="ml-3 text-dark">Stimme nicht zu</span>
                    </div>
                </label>
                <label class="block option-hover cursor-pointer p-3 rounded-md border border-gray-200 transition">
                    <div class="flex items-center">
                        <input type="radio" name="question1" class="form-radio h-5 w-5 text-primary">
                        <span class="ml-3 text-dark">Stimme überhaupt nicht zu</span>
                    </div>
                </label>
            </div>
        </div>

        <div class="flex justify-between">
            <button class="px-6 py-2 text-primary font-medium rounded-md opacity-70 hover:opacity-100 flex items-center">
                <i data-feather="chevron-left" class="mr-1"></i> Zurück
            </button>
            <button class="px-6 py-2 bg-primary text-white font-medium rounded-md hover:bg-opacity-90 flex items-center">
                Weiter <i data-feather="chevron-right" class="ml-1"></i>
            </button>
        </div>
    </div>

    <!-- Info Box -->
    <div class="max-w-3xl mx-auto px-4 sm:px-6 py-4">
        <div class="bg-accent bg-opacity-10 p-4 rounded-lg border border-accent border-opacity-30 flex items-start">
            <div class="text-accent mr-3 mt-1">
                <i data-feather="info"></i>
            </div>
            <div>
                <p class="text-sm text-dark">Der Test besteht aus 20 Fragen und dauert etwa 10 Minuten. Alle Angaben werden anonym ausgewertet.</p>
            </div>
        </div>
    </div>

    <script>feather.replace();</script>
</body>
</html>