-
-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into use-icon-component
- Loading branch information
Showing
39 changed files
with
506 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[ | ||
{ | ||
"name": "Eric Fennis", | ||
"title": "Creator of Lucide & Software engineer @nedap", | ||
"image": "https://github.com/ericfennis.png?size=192", | ||
"sponsor": "https://github.com/sponsors/ericfennis", | ||
"socialLinks": [ | ||
{ | ||
"icon": "github", | ||
"link": "https://github.com/ericfennis" | ||
}, | ||
{ | ||
"icon": "x", | ||
"link": "https://github.com/ericfennis" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Karsa Rigó", | ||
"title": "Maintainer of Lucide & Software engineer @sztaki", | ||
"image": "https://github.com/karsa-mistmere.png?size=192", | ||
"socialLinks": [ | ||
{ | ||
"icon": "github", | ||
"link": "https://github.com/karsa-mistmere" | ||
}, | ||
{ | ||
"icon": "linkedin", | ||
"link": "https://www.linkedin.com/in/karsamistmere" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "jguddas", | ||
"title": "Maintainer of Lucide & Software engineer @lego", | ||
"image": "https://github.com/jguddas.png?size=192", | ||
"socialLinks": [ | ||
{ | ||
"icon": "github", | ||
"link": "https://github.com/jguddas" | ||
}, | ||
{ | ||
"icon": "linkedin", | ||
"link": "https://www.linkedin.com/in/jguddas" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
docs/.vitepress/theme/components/home/HomeSectionTitle.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script setup lang="ts"> | ||
import { computed } from 'vue'; | ||
const props = defineProps<{ | ||
headingLevel: 1 | 2 | 3 | 4 | 5 | 6, | ||
}>() | ||
const headingElement = computed(() => `h${props.headingLevel ?? 2}`) | ||
</script> | ||
|
||
<template> | ||
<component :is="headingElement" class="section-title"> | ||
<slot /> | ||
</component> | ||
</template> | ||
|
||
<style scoped> | ||
.section-title { | ||
color: var(--vp-c-text-2); | ||
font-weight: 500; | ||
line-height: 32px; | ||
font-size: 16px; | ||
text-align: center; | ||
margin-bottom: 16px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<script setup lang="ts"> | ||
import Card from '../base/Card.vue' | ||
import HomeSectionTitle from './HomeSectionTitle.vue' | ||
import VPButton from 'vitepress/dist/client/theme-default/components/VPButton.vue' | ||
</script> | ||
|
||
<template> | ||
<HomeSectionTitle :headingLevel="3"> | ||
Sponsor the Lucide maintainers | ||
</HomeSectionTitle> | ||
<Card class="sponsor-card"> | ||
<img | ||
src="/open-collective.png" | ||
alt="Open Collective logo" | ||
width="242" | ||
height="42" | ||
/> | ||
<VPButton | ||
href="https://opencollective.com/lucide-icons" | ||
class="sponsor-button" | ||
text="Become a sponsor" | ||
/> | ||
</Card> | ||
</template> | ||
|
||
<style scoped> | ||
.sponsor-card { | ||
margin: 0 auto; | ||
max-width: 500px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 24px; | ||
} | ||
.sponsor-button { | ||
margin: auto 0; | ||
} | ||
@media (min-width: 640px) { | ||
.sponsor-card { | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<script setup lang="ts"> | ||
import { useData } from 'vitepress'; | ||
import HomeContainer from './HomeContainer.vue' | ||
import GridSection from '../base/GridSection.vue' | ||
import TeamMemberCard, { TeamMember } from './TeamMemberCard.vue' | ||
import teamData from '../../../data/teamData.json' | ||
import HomeSponsorCard from './HomeSponsorCard.vue'; | ||
import VPDocAsideCarbonAds from 'vitepress/dist/client/theme-default/components/VPDocAsideCarbonAds.vue' | ||
const { theme } = useData() | ||
</script> | ||
|
||
<template> | ||
<HomeContainer> | ||
<GridSection | ||
title="Meet the team" | ||
:headingLevel="2" | ||
class="team-members" | ||
> | ||
<TeamMemberCard | ||
v-for="teamMember in (teamData as TeamMember[])" | ||
v-bind="teamMember" | ||
/> | ||
</GridSection> | ||
<HomeSponsorCard /> | ||
<VPDocAsideCarbonAds | ||
:carbon-ads="theme.carbonAds" | ||
class="ad-card" | ||
/> | ||
</HomeContainer> | ||
</template> | ||
|
||
|
||
<style scoped> | ||
.team-members { | ||
gap: 24px; | ||
margin-top: 48px; | ||
margin-bottom: 48px; | ||
} | ||
@media (min-width: 640px) { | ||
.team-members :deep(.card-grid > *) { | ||
flex-basis: 50%; | ||
} | ||
} | ||
@media (min-width: 768px) { | ||
.team-members :deep(.card-grid > *) { | ||
flex-basis: 33.33%; | ||
} | ||
} | ||
.ad-card { | ||
margin: 32px auto 0; | ||
width: 100%;; | ||
max-width: 500px; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
display: none; | ||
} | ||
@media (min-width: 960px) { | ||
.ad-card { | ||
display: block; | ||
} | ||
} | ||
.ad-card :deep(.VPCarbonAds) { | ||
width: 100%; | ||
text-align: left; | ||
min-height: auto; | ||
} | ||
.ad-card :deep(.VPCarbonAds .carbon-wrap) { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
gap: 24px; | ||
} | ||
.ad-card :deep(.VPCarbonAds .carbon-text) { | ||
padding-top: 0; | ||
} | ||
.ad-card :deep(.VPCarbonAds .carbon-poweredby) { | ||
text-align: right; | ||
margin-top: -24px; | ||
} | ||
</style> |
Oops, something went wrong.