Back to blocks

定制Chrome新标签页

4.0
en技术开发Chrome扩展伊斯兰文化足球赛事

Prompt

Create a Chrome Extension that fully customizes the new tab page with the following features:

1. Replace the default Google new tab page with a transparent custom design that includes:

- A search bar only (without the Google logo).

- Islamic prayer times for Marrakech (GMT+1), fetched via Aladhan API or similar.

- A daily Quranic verse in "Quran" font with:

- Audio playback option with selectable voices (top 5 reciters: Abdul Basit, Al-Afasy, Maher Al-Muaiqly, Ahmed Al-Ajmi, Faris Abbad).

- Related Hadith and wisdom of the day.

- Tafsir of the verse from an Islamic source (Tafsir API).

- This content changes on every new tab open.

2. A fully Arabic football live fixture panel showing:

- Matches currently being played, today, and tomorrow.

- Includes team names, match times, and TV channels (open/encrypted).

- Covers top leagues: Arab, European, Asian, Latin American, and major international tournaments.

- Data can be fetched from api-football or LiveScore APIs.

3. Weather widget for Marrakech:

- Shows current temperature, humidity, wind speed, and 2-day forecast.

- Use OpenWeatherMap API (Arabic language, metric units).

4. A custom shortcuts section:

- Grid-style favorite website icons (e.g., YouTube, Amazon, Reddit, Twitch).

- Support for drag-and-drop reordering.

Design requirements:

- Fully responsive UI with light/dark mode support.

- Arabic as the default language, with optional English.

- Clean and modern layout.

Target users: Arabic-speaking Chrome users who want a spiritual, informative, and useful custom new tab experience.

Résultat Généré

import React from 'react';
import './App.css';

function App() {
 return (
 <div className="App">
 <header className="bg-gradient-to-r from-blue-500 to-purple-600 p-6">
 <div className="container mx-auto flex justify-between items-center">
 <h1 className="text-white text-3xl font-bold">Custom New Tab</h1>
 <button className="bg-white text-blue-600 px-4 py-2 rounded-md hover:bg-blue-100 transition duration-300">Toggle Theme</button>
 </div>
 </header>
 <main className="container mx-auto mt-8">
 <section className="search-bar mb-8">
 <input type="text" placeholder="Search" className="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500" />
 </section>
 <section className="prayer-times mb-8">
 <h2 className="text-2xl font-bold mb-4">Prayer Times</h2>
 <div className="grid grid-cols-2 md:grid-cols-4 gap-4">
 <div className="p-4 bg-white shadow-md rounded-md">Fajr: 5:00 AM</div>
 <div className="p-4 bg-white shadow-md rounded-md">Dhuhr: 12:30 PM</div>
 <div className="p-4 bg-white shadow-md rounded-md">Asr: 3:45 PM</div>
 <div className="p-4 bg-white shadow-md rounded-md">Maghrib: 6:30 PM</div>
 </div>
 </section>
 <section className="quranic-verse mb-8">
 <h2 className="text-2xl font-bold mb-4">Quranic Verse</h2>
 <div className="p-6 bg-white shadow-md rounded-md">
 <p className="text-xl text-gray-700 mb-4">“And We have certainly made the Qur’an easy for remembrance, so is there any who will remember?”</p>
 <button className="bg-blue-500 text-white px-4 py-2 rounded-md hover:bg-blue-600 transition duration-300">Play Audio</button>
 </div>
 </section>
 <section className="football-fixtures mb-8">
 <h2 className="text-2xl font-bold mb-4">Football Fixtures</h2>
 <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
 <div className="p-4 bg-white shadow-md rounded-md">
 <p className="text-gray-700">Match: Team A vs Team B</p>
 <p className="text-gray-500">Time: 8:00 PM</p>
 </div>
 <div className="p-4 bg-white shadow-md rounded-md">
 <p className="text-gray-700">Match: Team C vs Team D</p>
 <p className="text-gray-500">Time: 10:00 PM</p>
 </div>
 </div>
 </section>
 <section className="weather-widget mb-8">
 <h2 className="text-2xl font-bold mb-4">Weather</h2>
 <div className="p-6 bg-white shadow-md rounded-md">
 <p className="text-xl text-gray-700">Current: 25°C, Sunny</p>
 <p className="text-gray-500">Forecast: Tomorrow 27°C, Cloudy</p>
 </div>
 </section>
 <section className="custom-shortcuts mb-8">
 <h2 className="text-2xl font-bold mb-4">Shortcuts</h2>
 <div className="grid grid-cols-2 md:grid-cols-4 gap-4">
 <div className="p-4 bg-white shadow-md rounded-md flex items-center justify-center">
 <img src="https://placehold.co/50x50" alt="YouTube" className="w-12 h-12" />
 </div>
 <div className="p-4 bg-white shadow-md rounded-md flex items-center justify-center">
 <img src="https://placehold.co/50x50" alt="Amazon" className="w-12 h-12" />
 </div>
 <div className="p-4 bg-white shadow-md rounded-md flex items-center justify-center">
 <img src="https://placehold.co/50x50" alt="Reddit" className="w-12 h-12" />
 </div>
 <div className="p-4 bg-white shadow-md rounded-md flex items-center justify-center">
 <img src="https://placehold.co/50x50" alt="Twitch" className="w-12 h-12" />
 </div>
 </div>
 </section>
 </main>
 <footer className="bg-gray-800 text-white p-6 mt-8">
 <div className="container mx-auto text-center">
 <p>© 2025 Custom New Tab. All rights reserved.</p>
 </div>
 </footer>
 </div>
 );
}

export default App;

Plus de Recommandations

Voir Tout

创建AI安卓应用

技术开发en
4.0

Create applications ai for android the name app is a aw ai.eg the app can make photo and video the ai He must be smart and ai can speak Arabic

AI应用安卓开发智能助手20/06/2025

Archive.org 电影搜索

技术开发en
4.0

make a app that find all full popular movies on https://archive.org/

电影搜索Archive.org应用开发19/06/2025

打造任务管理应用

技术开发en
4.0

create task management app like ticktick.com

任务管理应用开发TickTick18/06/2025

专业应用设计指南

技术开发en
4.0

Design a professional application that remembers all the information, which is the customer's phone number and all the tasks you have performed, with dates and alerts when the time is completed and the customer must be contacted.

应用设计任务管理客户联系17/06/2025

Mr. Fanny 应用开发指南

技术开发en
4.0

Create a professional mobile application called "Mr. Fanny" that works on both Android and iOS. The app connects customers with home service technicians (electricians, plumbers, AC technicians, etc.). It must support both Arabic and English languages. 🔹 The app should have 3 main interfaces: 1. Customer Interface: - Ability to sign up or log in. - Choose type of service needed. - Enter location/address. - Provide phone number. - Submit service request and receive confirmation notification. 2. Technician Interface: - Sign up or log in. - Fill in registration form (name, service type, area, phone number, profile photo). - View list of incoming service requests. - Update status of each request (e.g., In Progress / Completed). - Dedicated page named “My Payments” showing the commission due with a "Mark as Paid" button. 3. Admin Panel: - Admin can review technician registrations and approve/reject them. - View list of approved technicians. - Monitor all service requests (open and completed). - Track technician payments. 🔔 Notifications: - Technician gets notified when a new request arrives. - Admin gets notified when a new technician signs up. 🧾 Future Features (optional for later development): - Customer rating system for technicians. - In-app chat between customer and technician. - In-app payment for services and commissions. - Allow customers to attach images of the issue when sending requests. 🖌️ Design Requirements: - Simple, user-friendly interface. - Touch-friendly and responsive for all screen sizes. - RTL support for Arabic and LTR for English. - Modern and clean layout. I want the full application built using HTML, CSS, and JavaScript only. It should be ready to upload on platforms like AppsGeyser or run in a WebView inside a mobile app.

移动应用HTML开发多语言支持13/06/2025

React调用MercadoPago

技术开发en
4.0

Calling the init_point https://www.mercadopago.com.co/checkout/v1/redirect?pref_id= mercadopago from react

ReactMercadoPagoAPI11/06/2025