-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: community and developer pages #211
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
517d594
Heading and Subhead components
tbenbow 29bc3c5
PageSection responsive styling
tbenbow ab4344d
ImageSplit component
tbenbow 3bd3037
Btn component
tbenbow 2c82d74
Home layout and refine some components
tbenbow a11f442
Home page components and resources
tbenbow caec494
Remove unused hero component
tbenbow 49be204
update gitignore
tbenbow 9a381e6
Remove unused componemts
tbenbow 2a2f14d
Add footer
tbenbow dcb4386
Update uno colors and button styles
tbenbow 33a4e75
Update newsletter component
tbenbow c5f5c40
Update components on home page
tbenbow fed9ce8
Footer revisions and social links
tbenbow 40fd159
More footer refinements
tbenbow 3232a7e
Merge branch 'v3.x' into feat/home-layout
cwaring 52f3860
Merge branch 'v3.x' into feat/home-layout
cwaring d567dd8
refactor: use switch
cwaring ad32ec0
ignore .output
cwaring 1f202da
refactor: use object/array syntax for dyn class
cwaring 50c2ee0
Add card type 2
tbenbow da12af5
Merge branch 'feat/home-layout' of github.com:ipfs/ipfs-website into …
tbenbow 23debe6
Update script style of newsletter component
tbenbow be1d438
Add list links
tbenbow 8b1dd93
Add footer constellations
tbenbow 02ab3c4
Add excerpt attribute to card
tbenbow 36e0110
Refactor image split component
tbenbow 837b075
Footer formatting updates
tbenbow d834996
Update page section spacing
tbenbow 2672d32
Use object syntax for dynamic class
tbenbow 701def4
Repair page section
tbenbow d374279
Avoid undefined style in image split component
tbenbow b1f6c7e
Medium grid columns
tbenbow 99b00db
Grid shouldn't have those props
tbenbow adbe613
add isExternal fn to AppLink
cwaring b50e9d9
fix: resolve merge conflict
cwaring a25af75
Connect section
tbenbow 1f66ed7
Merge branch 'v3.x' into feat/community-page
tbenbow 5157b5e
Community page wip
tbenbow 6605b90
Developers page wip
tbenbow 841d220
Merge branch 'v3.x' into feat/community-developer-pages
tbenbow 9a06917
add carbon icons
cwaring 479acec
Spacing updates
tbenbow dd83c72
Link updates
tbenbow ef5c24d
Merge branch 'feat/community-developer-pages' of github.com:ipfs/ipfs…
tbenbow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ defineProps<Props>() | |
<div class="p-6 pt-4"> | ||
<p v-if="excerpt" class="inline-block text-base"> | ||
{{ excerpt }}... | ||
<a class="text-brand-teal-dark underline" :href="link">Read more</a> | ||
<span class="text-brand-teal-dark underline"><AppLink :href="link">Read more</AppLink></span> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does |
||
</p> | ||
<slot /> | ||
<div v-if="category || tags" class="flex inline-flex mt-4 gap-1"> | ||
|
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,5 @@ | ||
<template> | ||
<h3 class="text-2xl text-black mb-2"> | ||
<slot /> | ||
</h3> | ||
</template> |
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<script setup lang="ts"> | ||
interface Props { | ||
center?: boolean | ||
tight?: boolean | ||
} | ||
defineProps<Props>() | ||
</script> | ||
|
||
<template> | ||
<h2 class="text-4xl m-b-8" :class="{ 'text-center': center }"> | ||
<h2 class="text-4xl" :class="[{ 'text-center': center }, tight ? 'mb-2' : 'mb-8']"> | ||
<slot /> | ||
</h2> | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<script setup lang="ts"> | ||
interface Props { | ||
center?: boolean | ||
bold?: boolean | ||
small?: boolean | ||
tight?: boolean | ||
} | ||
defineProps<Props>() | ||
</script> | ||
|
||
<template> | ||
<h3 :class="[bold ? 'font-bold' : 'font-normal', small ? 'text-lg mb-3' : 'text-2xl mb-13']"> | ||
<h3 :class="[bold ? 'font-bold' : 'font-normal', small ? 'text-lg' : 'text-2xl', tight ? 'mb-3' : 'mb-10', { 'text-center': center }]"> | ||
<slot /> | ||
</h3> | ||
</template> |
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,29 @@ | ||
<script setup lang="ts"> | ||
interface Props { | ||
buttonLabel?: string | ||
buttonLink?: string | ||
} | ||
defineProps<Props>() | ||
</script> | ||
|
||
<template> | ||
<div class="zebra-card p-6 rounded-xl flex flex-col justify-between odd:bg-brand-blue even:border-1"> | ||
<div> | ||
<slot /> | ||
</div> | ||
<div class="flex-none pt-4"> | ||
<Btn v-if="buttonLabel" :href="buttonLink" outline full> | ||
{{ buttonLabel }} | ||
</Btn> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style lang="postcss"> | ||
.zebra-card h3 { | ||
@apply text-teal mb-6; | ||
} | ||
.zebra-card p { | ||
@apply text-sm mb-4; | ||
} | ||
</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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's scope the styles like this to their containers to save having to reset them. The
.prose
class should format copy nicely wherever we need it