s
This commit is contained in:
@@ -3,6 +3,7 @@ from __future__ import annotations
|
||||
from datetime import date, timedelta
|
||||
from typing import Any
|
||||
|
||||
from .avatar_assets import avatar_for_index
|
||||
from .seed_data import CITIES
|
||||
|
||||
|
||||
@@ -41,8 +42,8 @@ ENHANCED_MEETUPS: list[dict[str, Any]] = [
|
||||
"gradientFrom": city["gradientFrom"],
|
||||
"gradientTo": city["gradientTo"],
|
||||
"attendees": [
|
||||
{"name": PERSON_NAMES[idx % len(PERSON_NAMES)], "photo": f"https://i.pravatar.cc/150?img={(idx % 60) + 1}"},
|
||||
{"name": PERSON_NAMES[(idx + 3) % len(PERSON_NAMES)], "photo": f"https://i.pravatar.cc/150?img={((idx + 3) % 60) + 1}"},
|
||||
{"name": PERSON_NAMES[idx % len(PERSON_NAMES)], "photo": avatar_for_index(idx)},
|
||||
{"name": PERSON_NAMES[(idx + 3) % len(PERSON_NAMES)], "photo": avatar_for_index(idx + 3)},
|
||||
],
|
||||
"isUpcoming": idx % 5 != 0,
|
||||
"status": "published",
|
||||
@@ -94,7 +95,7 @@ ENHANCED_PROFILES: list[dict[str, Any]] = [
|
||||
"location": city["name"],
|
||||
"tags": [ROLES[idx % len(ROLES)], "数字游民", city["name"], "可线下见面"],
|
||||
"bio": f"目前在{city['name']}远程工作,关注高质量生活、稳定产出和本地社群连接。",
|
||||
"photo": f"https://i.pravatar.cc/150?img={(idx % 60) + 1}",
|
||||
"photo": avatar_for_index(idx),
|
||||
}
|
||||
for idx, city in enumerate(CITIES, start=1)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user