-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding the new changes for the web-stories. (Phase II) (#66)
* adding changes pt1 Signed-off-by: Aditya-eddy <[email protected]> * adding changes Signed-off-by: Aditya-eddy <[email protected]> * final_version Signed-off-by: Aditya-eddy <[email protected]> * adding final webstories changes Signed-off-by: Aditya-eddy <[email protected]> * chore: add bg color and margin to hero Signed-off-by: Neha Gupta <[email protected]> * addding hovering scaling Signed-off-by: Aditya-eddy <[email protected]> * adding rest changes Signed-off-by: Aditya-eddy <[email protected]> * Adding required changes Signed-off-by: Aditya-eddy <[email protected]> * Adding requested changes Signed-off-by: Aditya-eddy <[email protected]> * Adding the changes Signed-off-by: Aditya-eddy <[email protected]> * adding the hidden class in /slug in webstories Signed-off-by: Aditya-eddy <[email protected]> --------- Signed-off-by: Aditya-eddy <[email protected]> Signed-off-by: Neha Gupta <[email protected]> Co-authored-by: Neha Gupta <[email protected]>
- Loading branch information
1 parent
470426f
commit 234f3dd
Showing
20 changed files
with
402 additions
and
227 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
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,20 +1,31 @@ | ||
import React from "react"; | ||
"use client"; | ||
import React, { useState } from "react"; | ||
import StoriesCards from "@/components/webstories/StoriesCards"; | ||
import { DataFiles } from "../../../components/utils/data"; // Import Data from data file | ||
import Header from "@/components/ui/header"; | ||
const page = () => { | ||
const Data = DataFiles.map((item) => ({ | ||
CardImage: item.CardImage, | ||
CardDescription: item.CardDescription, | ||
Slug: item.Slug, | ||
Category: item.Categories, | ||
})); | ||
import { DataFiles } from "@/components/utils/data"; | ||
import Header from "@/components/webstories/components/Header"; | ||
import RootLayout from "@/app/layout"; | ||
|
||
const Data = DataFiles.map((item) => ({ | ||
CardImage: item.CardImage, | ||
CardDescription: item.CardDescription, | ||
Slug: item.Slug, | ||
Category: item.Categories, | ||
})); | ||
|
||
const Page = () => { | ||
const metadata = { | ||
title: "WebStories - Explore and Enjoy", | ||
description: "Discover amazing stories with our WebStories collection.", | ||
keywords: "webstories, stories, entertainment, reading", | ||
}; | ||
|
||
return ( | ||
<> | ||
<Header /> | ||
<StoriesCards data={Data.reverse()} /> | ||
</> | ||
<RootLayout metadata={metadata}> | ||
<div className="flex flex-row justify-end my-2 mt-10 border bg-neutral-100 min-h-screen overflow-hidden"> | ||
<StoriesCards data={Data.reverse()} /> | ||
</div> | ||
</RootLayout> | ||
); | ||
}; | ||
|
||
export default page; | ||
export default Page; |
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.