Skip to content

[feat]: New homepage #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

[feat]: New homepage #36

wants to merge 5 commits into from

Conversation

dethan3
Copy link
Contributor

@dethan3 dethan3 commented Mar 18, 2025

PR-36 PR-36 PR-36 Powered by Pull Request Badge

Checklist(清单):

  • Labels

  • Assignees

  • Reviewers

  • Built the homepage layout based on the design.

  • Added components for Events, Blog Posts, and Sponsors & Partners sections.

@dethan3 dethan3 requested a review from TechQuery March 18, 2025 07:45
@TechQuery TechQuery added the feature New feature or request label May 15, 2025
Comment on lines +81 to +102
.btn-primary {
border-color: #028dfa;
background-color: #028dfa;
color: white;
font-weight: 600;
}

.btn-primary:hover {
border-color: #0275d8;
background-color: #0275d8;
color: white;
}

.btn-outline-primary {
border-color: #028dfa;
color: #028dfa;
}

.btn-outline-primary:hover {
background-color: #028dfa;
color: white;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用 LESS 嵌套语法

Comment on lines +115 to +134
.section-heading {
position: relative;
margin-bottom: 30px;
padding-bottom: 15px;
}

.section-heading::after {
position: absolute;
bottom: 0;
left: 0;
background-color: var(--fcc-accent);
width: 50px;
height: 3px;
content: '';
}

.section-heading.text-center::after {
left: 50%;
transform: translateX(-50%);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

抽组件

Comment on lines +161 to +164
:root {
--bs-primary: var(--fcc-accent);
--bs-primary-rgb: 241, 190, 50;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

与本文件最顶端的 :root 规则合并。

Comment on lines +167 to +219
.navbar.bg-light {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
background-color: white !important;
padding-top: 0.425rem !important;
padding-bottom: 0.425rem !important;
min-height: auto !important;
}

.navbar .nav-link {
position: relative;
transition: color 0.3s ease;
padding-top: 0.375rem !important;
padding-bottom: 0.375rem !important;
color: #000000 !important;
font-weight: 500;
font-size: 0.9rem;
}

.navbar .nav-link:hover {
color: #028dfa !important;
}

.navbar .nav-link::after {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
transition: all 0.3s ease;
background-color: #028dfa;
width: 0;
height: 2px;
content: '';
}

.navbar .nav-link:hover::after {
width: 80%;
}

.navbar .nav-link.active {
color: #028dfa !important;
}

.navbar .nav-link.active::after {
width: 80%;
}

.navbar .navbar-brand {
padding-top: 0.375rem !important;
padding-bottom: 0.375rem !important;
color: #000000 !important;
font-weight: 600;
font-size: 1.1rem;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LESS 嵌套

Comment on lines +230 to +245
.dropdown-menu {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
border-radius: 0.25rem;
background-color: white !important;
min-width: 100px;
}

.dropdown-menu .dropdown-item {
padding: 0.5rem 1rem;
color: #000000 !important;
font-size: 0.9rem;
}

.dropdown-menu .dropdown-item:hover {
background-color: #f8f9fa;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.dropdown-menu {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
border-radius: 0.25rem;
background-color: white !important;
min-width: 100px;
}
.dropdown-menu .dropdown-item {
padding: 0.5rem 1rem;
color: #000000 !important;
font-size: 0.9rem;
}
.dropdown-menu .dropdown-item:hover {
background-color: #f8f9fa;
}
.dropdown-menu {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
border-radius: 0.25rem;
background-color: white !important;
min-width: 100px;
.dropdown-item {
padding: 0.5rem 1rem;
color: #000000 !important;
font-size: 0.9rem;
&:hover {
background-color: #f8f9fa;
}
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空页面文件删掉……
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...

@dethan3 dethan3 changed the title feat(home): add "view all" buttons for events, blogs, and partners [feat]: New homepage May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants