跳到正文
GitHub·· 5 天前AI 评分12

AI 实战:设计、构建并部署个人网站与作品集(777 幻灯片)

aladin002dz/777-ai-in-practice-slides

AI 导读

一套 16 页的 "AI in Practice" 幻灯片,讲解如何设计、构建并部署个人网站与作品集,定于 2026 年 10 月 15 日 19:30-20:45 阿尔及利亚时间开讲,幻灯片为英文、口头讲解用 Darja 语。

正文

AI in Practice: Design, Build and Deploy your Personal Website & Portfolio

October 15, 2026, 19:30-20:45 Algeria time. Ages 31-45. English slides; spoken delivery in Darja.

Local preview

Run npm install if dependencies are missing, then npm run dev. Open the local address printed by Next.js. The root page is the English deck. No external fonts or services are required by the presentation.

Navigation

Arrow keys, PageUp/PageDown, Space, Home/End, previous/next buttons, slide selector, touch swipes, slide overview and fullscreen. Slide 10 has an answer reveal. Hash links such as #7 open a specific slide. Print produces all 16 slides.

Content and assets

  • slides.md: approved Markdown and preparation notes.
  • lib/session-slides.json: projected English content.
  • components/SessionDeck.tsx: session layout and navigation.
  • app/globals.css: 16:9 official-template styling.
  • public/session/: actual PDF graphics, texture, program label and supplied photos. Cover artwork retains the supplied three logos. Placeholder text was removed from the PDF content stream before rendering.

The program introduction summarizes the supplied template; no center-count claim is added. Final organizer confirmation of program wording remains a rehearsal item. Free Gemini and Antigravity accounts are specified on slide 6. Education offers stay in the Markdown presenter notes and are optional, country-dependent follow-up information.

The older copied components and language dictionaries are retained as source reference but are not routed or displayed.

Build and offline copy

npm run build creates out/ for a local web server. npm run build:usb also creates slides-usb/; open its index.html directly with the full folder beside it. GitHub Pages publishes the deck at https://mahfoudh.dev/777-ai-in-practice-slides/. Pushes to main automatically build and deploy using .github/workflows/deploy.yml. The workflow sets GITHUB_PAGES=true to prefix Next.js assets with the repository path; local and USB builds keep the default root path.

Responsive template reconstruction

Desktop layouts now use native text, CSS name pills, labels, dividers, arrow motif and independent logo images. No full template page or composite cover image is used as a slide background. Colors and spacing follow the supplied document; the supplied PDF uses Codec Pro Bold, which is not provided as a complete licensed web font, so system font fallbacks remain. Exact typography parity is not claimed. Ministry and Mobilis logos are extracted from the PDF; the Algérie Télécom artwork is cropped from its rendered vector region.

Below 800px, slides reflow to an auto-height reading page with 18px body text, stacked portrait/program columns, single-column RCTFC cards, wrapping logo row and accessible navigation controls. Phones can scroll the content vertically. Desktop retains the 16:9 presentation layout.

Build/type checks verify implementation. The deployed deck supports the same keyboard, touch, overview, fullscreen and print controls as the local version.

Slide typeface

Plus Jakarta Sans (Tokotype), bundled locally in public/session/fonts with its SIL Open Font License. Bold 700 headings and Medium 500 body copy approximate the supplied Codec Pro Bold template; this is a substitute, not the identical font. Font source: https://github.com/google/fonts/tree/main/ofl/plusjakartasans

SEO and deployment URL

Descriptive title/description, author, Open Graph/Twitter text, English language, LearningResource JSON-LD, crawlable all-slide transcript and robots.txt are included. Social preview artwork: public/session/social-preview.png.

Before the production build, set SITE_URL to the full confirmed deployment URL including the trailing project path, if any. Then run npm run build:usb. This adds the canonical, absolute social-image URL and one-page sitemap. Slide hashes are navigation states, not separate indexable pages. Do not use a guessed URL or the repository source URL. The default confirmed public URL is https://mahfoudh.dev/777-ai-in-practice-slides/ (supplied by the speaker). SITE_URL can override it for another deployment. Live indexing is not verified.

For GitHub Pages project sites, the host-level robots.txt is controlled at the origin root; this project's robots.txt cannot override it. Submit the project sitemap directly after publishing if appropriate. Check public HTML, image URL and canonical, then use Search Console for indexing.

来源:GitHub · github.com