Add Instagram post fetching functionality and local JSON fallback
- Introduced a new TypeScript file `bu-sunaidah-fetch.ts` to handle fetching the latest Instagram posts for Bu Sunaidah. - Implemented a scraping method to attempt to retrieve posts directly from Instagram, with a fallback to a local JSON file `bu-sunaidah-posts.json`. - Added a new JSON file containing recent Instagram post URLs and captions. - Included a new image asset `unitree-l2.jpg` for accessories.
This commit is contained in:
@@ -153,14 +153,15 @@ export function RobotProductCard({ robot, priority = false }: Props) {
|
||||
gap: '0.4rem',
|
||||
padding: '0.55rem 0.75rem',
|
||||
borderRadius: 10,
|
||||
background: `${robot.accent}1F`,
|
||||
border: `1px solid ${robot.accent}66`,
|
||||
color: robot.accent,
|
||||
background: 'linear-gradient(135deg, rgba(80, 110, 255, 0.32), rgba(40, 55, 145, 0.85))',
|
||||
border: '1px solid rgba(120, 140, 255, 0.55)',
|
||||
color: '#FFFFFF',
|
||||
fontSize: '0.72rem',
|
||||
fontWeight: 600,
|
||||
letterSpacing: '0.1em',
|
||||
fontWeight: 700,
|
||||
letterSpacing: '0.12em',
|
||||
textTransform: 'uppercase',
|
||||
textDecoration: 'none',
|
||||
boxShadow: '0 6px 14px rgba(0, 0, 0, 0.35), 0 0 14px rgba(74, 102, 216, 0.22)',
|
||||
}}
|
||||
>
|
||||
View details
|
||||
@@ -175,8 +176,8 @@ export function RobotProductCard({ robot, priority = false }: Props) {
|
||||
justifyContent: 'center',
|
||||
padding: '0.55rem 0.75rem',
|
||||
borderRadius: 10,
|
||||
background: 'transparent',
|
||||
border: '1px solid rgba(39, 63, 148,0.2)',
|
||||
background: 'rgba(20, 19, 26, 0.6)',
|
||||
border: '1px solid rgba(222, 224, 240, 0.14)',
|
||||
color: '#DEE0F0',
|
||||
fontSize: '0.72rem',
|
||||
fontWeight: 600,
|
||||
@@ -197,8 +198,8 @@ export function RobotProductCard({ robot, priority = false }: Props) {
|
||||
justifyContent: 'center',
|
||||
padding: '0.55rem 0.75rem',
|
||||
borderRadius: 10,
|
||||
background: 'transparent',
|
||||
border: '1px solid rgba(39, 63, 148,0.2)',
|
||||
background: 'rgba(20, 19, 26, 0.6)',
|
||||
border: '1px solid rgba(222, 224, 240, 0.14)',
|
||||
color: '#DEE0F0',
|
||||
fontSize: '0.72rem',
|
||||
fontWeight: 600,
|
||||
|
||||
Reference in New Issue
Block a user