Skip to content
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

Homepage Refresh #173

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

Homepage Refresh #173

wants to merge 25 commits into from

Conversation

bryantgillespie
Copy link
Member

@bryantgillespie bryantgillespie commented Nov 13, 2024

Adding a new glow-up to the Directus homepage.

New Components

  • Carousel
  • Testimonial Wall Of Love
  • Masonry Grid

Updates to Old Components

  • Logo Cloud
  • Paper

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for directus-website ready!

Name Link
🔨 Latest commit 68aef8b
🔍 Latest deploy log https://app.netlify.com/sites/directus-website/deploys/673f8a728523030008bae94f
😎 Deploy Preview https://deploy-preview-173--directus-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@LZylstra LZylstra marked this pull request as ready for review November 15, 2024 14:51
components/Block/WallOfLove/Testimonials.vue Outdated Show resolved Hide resolved
components/Block/WallOfLove/Testimonials.vue Outdated Show resolved Hide resolved
components/Block/WallOfLove/Testimonials.vue Outdated Show resolved Hide resolved
components/Block/Carousel/CarouselCard.vue Outdated Show resolved Hide resolved
components/Block/Carousel/Carousel.vue Outdated Show resolved Hide resolved
components/Block/Carousel/CarouselCard.vue Outdated Show resolved Hide resolved
@bryantgillespie bryantgillespie marked this pull request as draft November 20, 2024 16:07
@bryantgillespie bryantgillespie marked this pull request as ready for review November 20, 2024 16:07
Copy link
Member

@AlexGaillard AlexGaillard left a comment

Choose a reason for hiding this comment

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

Some minor changes and questions here. Looks great otherwise 😄 👍

block_masonry_grid: resolveComponent('BlockMasonryGrid'),
block_masonry_grid_card: resolveComponent('BlockMasonryGridCard'),
block_wall_of_love: resolveComponent('BlockWallOfLove'),
testimonials: resolveComponent('BlockTestimonials'),
Copy link
Member

Choose a reason for hiding this comment

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

Is there a specific reason this isn't prefixed with block_

Copy link

@LZylstra LZylstra Nov 21, 2024

Choose a reason for hiding this comment

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

@bryantgillespie I left it out because whoever made the testimonials in Directus just called it 'Testimonials' no block in the name. Is it possible at all to rename it on that end so it's consistent with the others on the database level?


const props = defineProps<WithClassAsProps>();

const { orientation } = useCarousel();
Copy link
Member

Choose a reason for hiding this comment

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

unused deconstructed var here, which I think means you can remove the import entirely

components/LogoDoubleTicker.vue Outdated Show resolved Hide resolved
components/LogoDoubleTicker.vue Outdated Show resolved Hide resolved
components/Carousel/CarouselContent.vue Outdated Show resolved Hide resolved
</template>

<style scoped lang="scss">
.block-logocloud-ticker {
Copy link
Member

Choose a reason for hiding this comment

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

🚨 PEDANTRY ALERT 🚨

BlockLogoCloudLogo implies Logo Cloud is two seperate words, which would mean the class should probably be block-logo-cloud-ticker

If we want to change it then FYI it's present in these files:

image

| 'block_carousel_cards'
| 'block_masonry_grid'
| 'block_masonry_grid_card'
| 'testimonials'
Copy link
Member

Choose a reason for hiding this comment

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

again missing block_

block_masonry_grid: BlockMasonryGrid[];
block_masonry_grid_card: BlockMasonryGridCard[];
block_wall_of_love: BlockWallOfLove[];
testimonials: BlockTestimonials[];
Copy link
Member

Choose a reason for hiding this comment

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

and again block_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants