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

web: update lorem ipsum with copy #128

Merged
merged 2 commits into from
Oct 7, 2023
Merged
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
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
Loading