├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── .vscode └── settings.json ├── README.md ├── app ├── error.tsx ├── favicon.ico ├── fonts │ ├── DFPHeiW12-GB5.woff │ ├── SmileySans.woff │ ├── SmileySans.woff2 │ ├── index.ts │ └── poppins-800.woff2 ├── globals.css ├── layout.tsx ├── not-found.tsx └── page.tsx ├── assets └── images │ ├── about-team │ └── asterisk.svg │ ├── demo-hero-bg.jpg │ ├── demo-hero-bg.png │ ├── demo-logo-old.svg │ ├── demo-logo.svg │ ├── departments │ ├── design-bg.svg │ ├── design │ │ ├── icon-saturn.svg │ │ ├── icon-title.svg │ │ ├── text-graphic.svg │ │ ├── text-interaction.svg │ │ ├── text-product.svg │ │ └── text-whatever.svg │ ├── icon-arrow-r.svg │ ├── icon-arrow-tr.svg │ ├── icon-design.svg │ ├── icon-media.svg │ ├── icon-pencil.svg │ ├── icon-product.svg │ ├── icon-silk.svg │ ├── icon-tech.svg │ ├── media │ │ ├── WeChat-lg.svg │ │ ├── avatar-blue-cutie.svg │ │ ├── avatar-dinosaur.svg │ │ ├── avatar-purple-monster.svg │ │ ├── icon-dots.svg │ │ ├── icon-location.svg │ │ ├── icon-photo.svg │ │ ├── icon-pin.svg │ │ ├── icon-smile.svg │ │ ├── star-bg.svg │ │ ├── star-lg.svg │ │ └── star-sm.svg │ ├── product │ │ └── product-bg.png │ └── tech │ │ └── hacker.svg │ ├── join-team │ ├── icon-clap.svg │ ├── icon-free.svg │ └── icon-harvest.svg │ ├── process │ ├── process-desktop-2024.svg │ ├── process-desktop.svg │ ├── process-mobile-2024.svg │ └── process-mobile.svg │ ├── senpai-saying │ ├── icon-arrow.svg │ ├── quote.svg │ ├── senpai-female-2.svg │ ├── senpai-female-3.svg │ ├── senpai-female-4.svg │ ├── senpai-female-5.svg │ ├── senpai-female.svg │ └── senpai-male.svg │ └── service │ ├── circle.svg │ ├── service-bitwarden.png │ ├── service-byrbbs.png │ ├── service-byrio.png │ ├── service-codimd.png │ ├── service-dekt.png │ ├── service-efficiency.png │ ├── service-gitlab.png │ ├── service-mirrors.png │ ├── service-neticu-wiki.png │ ├── service-overleaf.png │ └── underline.svg ├── components ├── Banner.tsx │ └── index.tsx ├── Footer │ └── index.tsx ├── Header │ ├── AnimatedMenu.tsx │ ├── MenuToggle.tsx │ ├── index.tsx │ ├── link.ts │ └── style.module.scss ├── common │ └── ChalkTitle.tsx └── contents │ ├── AboutTeam │ └── index.tsx │ ├── Department │ ├── AnimatedDesignBg.tsx │ ├── AnimatedSilk.tsx │ ├── DesignDescription.tsx │ ├── MediaDescription.tsx │ ├── OldMediaDescription.tsx │ ├── ProductDescription.tsx │ ├── TechDescription.tsx │ ├── departments.tsx │ ├── index.tsx │ └── style.module.scss │ ├── Hero │ └── index.tsx │ ├── JoinAndReason │ └── index.tsx │ ├── NoticeAndProcess │ ├── Notice.tsx │ ├── Process.tsx │ └── index.tsx │ ├── SenpaiSaying │ ├── Cards.tsx │ ├── Senpais.tsx │ └── index.tsx │ └── Service │ ├── AnimatedCircle.tsx │ ├── index.tsx │ └── services.tsx ├── next.config.js ├── package-lock.json ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── tailwind.config.js ├── tsconfig.json └── vercel.json /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["next/core-web-vitals", "prettier"], 3 | "rules": { 4 | "react/no-unescaped-entities": "off" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /out/ 14 | 15 | # production 16 | /build 17 | /dist 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | next-env.d.ts 37 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | out -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "semi": true, 4 | "tabWidth": 2, 5 | "bracketSpacing": true, 6 | "trailingComma": "es5", 7 | "bracketSameLine": false, 8 | "useTabs": false, 9 | "endOfLine": "lf", 10 | "overrides": [], 11 | "plugins": ["prettier-plugin-tailwindcss"] 12 | } 13 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.words": ["Senpai"] 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BYR Team 2023年首页 2 | 3 | > 使用React, Nextjs, Tailwind 4 | 5 | ## Getting Started 6 | 7 | ```bash 8 | pnpm install 9 | pnpm dev 10 | ``` 11 | -------------------------------------------------------------------------------- /app/error.tsx: -------------------------------------------------------------------------------- 1 | 'use client'; // Error components must be Client Components 2 | 3 | import { useEffect } from 'react'; 4 | 5 | export default function Error({ 6 | error, 7 | reset, 8 | }: { 9 | error: Error; 10 | reset: () => void; 11 | }) { 12 | useEffect(() => { 13 | // Log the error to an error reporting service 14 | console.error(error); 15 | }, [error]); 16 | 17 | return ( 18 |
19 |

Something went wrong!

20 |
21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BYRIO/byrteam/fd82c009d85fdcece395617a951ac32153283f83/app/favicon.ico -------------------------------------------------------------------------------- /app/fonts/DFPHeiW12-GB5.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BYRIO/byrteam/fd82c009d85fdcece395617a951ac32153283f83/app/fonts/DFPHeiW12-GB5.woff -------------------------------------------------------------------------------- /app/fonts/SmileySans.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BYRIO/byrteam/fd82c009d85fdcece395617a951ac32153283f83/app/fonts/SmileySans.woff -------------------------------------------------------------------------------- /app/fonts/SmileySans.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BYRIO/byrteam/fd82c009d85fdcece395617a951ac32153283f83/app/fonts/SmileySans.woff2 -------------------------------------------------------------------------------- /app/fonts/index.ts: -------------------------------------------------------------------------------- 1 | import localFont from 'next/font/local'; 2 | 3 | export const SmileySans = localFont({ 4 | src: './SmileySans.woff', 5 | variable: '--font-smiley', 6 | }); 7 | export const DFPHeiW12 = localFont({ 8 | src: './DFPHeiW12-GB5.woff', 9 | variable: '--font-dfphei', 10 | }); 11 | export const Poppins800 = localFont({ 12 | src: './poppins-800.woff2', 13 | variable: '--font-poppins-800', 14 | }); 15 | -------------------------------------------------------------------------------- /app/fonts/poppins-800.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BYRIO/byrteam/fd82c009d85fdcece395617a951ac32153283f83/app/fonts/poppins-800.woff2 -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | 5 | body { 6 | color: #000; 7 | background-color: #f5f5f5; 8 | font-family: 9 | 'Microsoft YaHei', 10 | 'PingFang SC', 11 | miui, 12 | system-ui, 13 | -apple-system, 14 | BlinkMacSystemFont, 15 | Helvetica Neue, 16 | Helvetica, 17 | sans-serif; 18 | } 19 | -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- 1 | import Header from '@/components/Header'; 2 | import './globals.css'; 3 | import type { Metadata } from 'next'; 4 | import Footer from '@/components/Footer'; 5 | import clsx from 'clsx'; 6 | import Banner from '@/components/Banner.tsx'; 7 | 8 | import { SmileySans, DFPHeiW12, Poppins800 } from './fonts/index'; 9 | 10 | export const metadata: Metadata = { 11 | title: '北邮人团队', 12 | description: '北邮人团队2024首页', 13 | }; 14 | 15 | export default function RootLayout({ 16 | children, 17 | }: { 18 | children: React.ReactNode; 19 | }) { 20 | return ( 21 | 22 | 30 | {/* */} 31 |
32 |
{children}
33 |