import React from 'react'; import { View, Text, ScrollView, StyleSheet, SafeAreaView } from 'react-native'; const LESSONS = [ { name: 'Greetings', icon: '๐Ÿ‘‹', state: 'done' }, { name: 'Cafรฉ orders', icon: 'โ˜•', state: 'done' }, { name: 'Directions', icon: '๐Ÿงญ', state: 'active' }, { name: 'Numbers', icon: '๐Ÿ”ข', state: 'locked' }, { name: 'Past tense', icon: 'โณ', state: 'locked' }, ]; export default function App() { return ( ๐Ÿ”ฅ 24 ๐Ÿ’Ž 1,250 โค๏ธ 5 SPANISH ยท UNIT 2 Getting around {LESSONS.map((l, i) => { const done = l.state === 'done'; const active = l.state === 'active'; return ( {l.state === 'locked' ? '๐Ÿ”’' : l.icon} {l.name} ); })} ); } const s = StyleSheet.create({ safe: { flex: 1, backgroundColor: '#081209' }, head: { flexDirection: 'row', justifyContent: 'space-around', paddingTop: 56, paddingBottom: 16 }, pill: { backgroundColor: '#0E2012', borderRadius: 18, paddingVertical: 8, paddingHorizontal: 18, borderWidth: 1, borderColor: '#1A3A20' }, pillText: { color: '#fff', fontSize: 15, fontWeight: '700' }, scroll: { padding: 22, paddingTop: 10, alignItems: 'flex-start' }, kicker: { color: '#22C55E', fontSize: 12, fontWeight: '700', letterSpacing: 2 }, h1: { color: '#fff', fontSize: 28, fontWeight: '800', marginTop: 4, marginBottom: 24 }, node: { alignItems: 'center', marginBottom: 22 }, circle: { width: 80, height: 80, borderRadius: 40, backgroundColor: '#15291A', alignItems: 'center', justifyContent: 'center', borderWidth: 3, borderColor: '#1E3A26' }, circleDone: { backgroundColor: '#16361F', borderColor: '#22C55E' }, circleActive: { backgroundColor: '#22C55E', borderColor: '#4ADE80', transform: [{ scale: 1.08 }] }, circleIcon: { fontSize: 34 }, nodeLabel: { color: '#9CC4A6', fontSize: 14, fontWeight: '700', marginTop: 10 }, });