Skip to content

Commit

Permalink
web: update lorem ipsum with copy (#128)
Browse files Browse the repository at this point in the history
* update lorem ipsum with copy, temporarily hide image carousel until image cdn is back online

* hide events link in top web: nav bar
  • Loading branch information
RealDyllon authored Oct 7, 2023
1 parent f25f25d commit 0e25d62
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions apps/web/content/home.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const whoWeAreCopy =
'We are a tight-knit community of tech enthusiasts dedicated to fostering innovation, networking, and skill-building. Our club hosts diverse tech-focused events, supports your academic and professional growth, and offers a platform to connect with like-minded individuals.'
7 changes: 5 additions & 2 deletions apps/web/features/home/components/HomeWhoRWe.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { FramedText } from "ui";
import { Text, Grid, GridItem, Box, Button, Flex } from "@chakra-ui/react";
import Image from "next/image";
import { whoWeAreCopy } from "../../../content/home";

export const HomeWhoRWe = () => {
return(
<>
{/*Heading*/}
<Flex justifyContent='center' direction={"column"} alignItems={'center'} my={'3rem'}>
<FramedText text={'Who Are We'} textColor={'black'}/>
<FramedText text={'Who We Are'} textColor={'black'}/>
<Grid gridTemplateAreas={{
base: `'image image' 'content content'`,
md: `'content image' 'content image'`
Expand All @@ -17,7 +18,9 @@ export const HomeWhoRWe = () => {
{/* Who are we content with the button */}
<GridItem area={'content'} >
<Flex direction={'column'} gap={'1rem'} align={'flex-start'} justify={'center'} h='100%'>
<Text maxWidth={'600px'} fontSize={{ base: '16px', '2xl':'20px' }}>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aperiam aspernatur commodi cupiditate eaque laboriosam maiores quibusdam similique sint sit, vel velit vitae. Amet aspernatur iste minus molestiae, obcaecati voluptates.</Text>
<Text maxWidth={'600px'} fontSize={{ base: '16px', '2xl':'20px' }}>
{whoWeAreCopy}
</Text>
<Button variant={'red-scse'} size={'md'}>Learn More</Button>
</Flex>
</GridItem>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/features/layout/components/WebLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const WebLayout = ({ children }: WebLayoutProps) => {
links: [
{ label: "Home", href: "/" },
{ label: "About", href: "/about" },
{ label: "Events", href: "/events" },
// { label: "Events", href: "/events" },
{ label: "Academics", href: "/academics" },
{ label: "Learn", href: "/learn" },
{ label: "Sponsors", href: "/sponsors" },
Expand Down
4 changes: 2 additions & 2 deletions apps/web/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HomeHero, HomeWhoRWe, UpcomingEventRibbon } from "@/features/home";
import { HomeMemories } from "@/features/home";
// import { HomeMemories } from "@/features/home";
import { FooterSeparator } from "ui";
import React from "react";

Expand All @@ -8,7 +8,7 @@ const Home = () => {
<>
<HomeHero />
<HomeWhoRWe />
<HomeMemories />
{/*<HomeMemories />*/}
<FooterSeparator />
<UpcomingEventRibbon href={"/events"} />
</>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/footer/Footer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Basic.args = {
header: "For Students",
links: [
{ label: "Academics", href: "/academics" },
{ label: "Events", href: "/events" },
// { label: "Events", href: "/events" },
{ label: "Join a Subcommittee", href: "/join" },
{ label: "Learn", href: "/learn" },
{ label: "Feedback", href: "/contact" },
Expand Down

1 comment on commit 0e25d62

@vercel
Copy link

@vercel vercel bot commented on 0e25d62 Oct 7, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

website-ui-storybook – ./packages/ui

website-ui-storybook-cse-it.vercel.app
website-ui-storybook-git-main-cse-it.vercel.app
storybook.ui.dev.ntuscse.com

Please sign in to comment.