Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Binary file removed dist/assets/codestyle-logo-C-eN_BSz.png
Binary file not shown.
Binary file removed dist/assets/eg1--Pgp7kTi.png
Binary file not shown.
Binary file removed dist/assets/eg2-HsopzbNZ.png
Binary file not shown.
1 change: 0 additions & 1 deletion dist/assets/index-CFR-qYrr.css

This file was deleted.

87 changes: 0 additions & 87 deletions dist/assets/index-DRV0mvNV.js

This file was deleted.

17 changes: 0 additions & 17 deletions dist/index.html

This file was deleted.

24 changes: 23 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@
"preview": "vite preview"
},
"dependencies": {
"lucide-vue-next": "^0.344.0",
"vue": "^3.4.21",
"lucide-vue-next": "^0.344.0"
"vue-router": "^4.6.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.18",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.1.6",
"vue-tsc": "^2.0.6",
"tailwindcss": "^3.4.1",
"autoprefixer": "^10.4.18",
"postcss": "^8.4.35"
"vue-tsc": "^2.0.6"
}
}
25 changes: 1 addition & 24 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,35 +1,12 @@
<script setup lang="ts">
import Navbar from '@/components/Navbar.vue'
import HeroSection from '@/components/HeroSection.vue'
import SupportedIDEs from '@/components/SupportedIDEs.vue'
import ProblemSection from '@/components/ProblemSection.vue'
import SolutionSection from '@/components/SolutionSection.vue'
import UseCasesSection from '@/components/UseCasesSection.vue'
import TechLogicSection from '@/components/TechLogicSection.vue'
import HowItWorks from '@/components/HowItWorks.vue'
// import PricingSection from '@/components/PricingSection.vue'
// import CTASection from '@/components/CTASection.vue'
import FAQSection from '@/components/FAQSection.vue'
import Footer from '@/components/Footer.vue'


</script>

<template>
<div class="min-h-screen">
<Navbar />
<main>
<HeroSection />
<SupportedIDEs />
<ProblemSection />
<SolutionSection />
<UseCasesSection />
<TechLogicSection />
<HowItWorks />
<!-- <PricingSection /> -->
<!-- <CTASection /> -->
<FAQSection />
</main>
<router-view />
<Footer/>
</div>
</template>
10 changes: 5 additions & 5 deletions src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<div class="max-w-7xl mx-auto px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<!-- Logo -->
<div class="flex items-center space-x-2">
<router-link to="/" class="flex items-center space-x-2">
<img src="/assets/image/codestyle-logo.png" alt="CodeStyle Logo" class="w-8 h-8" />
<span class="text-xl font-bold text-gray-900">CodeStyle</span>
<span class="text-sm text-gray-500 font-normal">码蜂</span>
</div>
</router-link>

<!-- Navigation Links -->
<div class="hidden md:flex items-center space-x-8">
Expand All @@ -34,9 +34,9 @@

<!-- User Button -->
<div class="flex items-center">
<a href="#cta" class="bg-primary-blue text-white px-6 py-2.5 rounded-lg hover:bg-blue-700 transition-colors font-bold text-sm shadow-lg hover:shadow-xl">
立即开始
</a>
<router-link to="/profile" class="bg-primary-blue text-white px-6 py-2.5 rounded-lg hover:bg-blue-700 transition-colors font-bold text-sm shadow-lg hover:shadow-xl">
个人中心
</router-link>
</div>
</div>
</div>
Expand Down
Loading