Skip to content

Commit

Permalink
feed card update removed vertical-card folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sayoojbk committed Oct 24, 2020
1 parent 58657e7 commit d7fb24a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 49 deletions.
1 change: 1 addition & 0 deletions assets/images/creative-card/creative.js

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions components/card.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ export default () => (
</Text>
</View>
</View>
);
);
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,24 @@ import React from "react";
import CardList from "react-native-card-animated-modal";

import { Dimensions, Image, Text, View } from "react-native";
import FeedCard from './FeedCard';

import CARDS from "../card";
const CARDS = [
{
image: {
uri: 'http://www.gamespersecond.com/media/2011/07/battlefield-3-poster.jpg'
},
height: height * 0.7,
renderItem: ({ item }) => <FeedCard />
},
{
image: {
uri: 'http://www.gamespersecond.com/media/2011/07/battlefield-3-poster.jpg'
},
height: height * 0.7,
renderItem: ({ item }) => <FeedCard />
}
];

const { height } = Dimensions.get("window");
const now = new Date();
Expand Down Expand Up @@ -59,25 +75,7 @@ export default class Vertical extends React.Component {
nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</Text>
<Text style={{ color: "rgba(0, 0, 0, 0.7)", fontSize: 18 }}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</Text>
<Text style={{ color: "rgba(0, 0, 0, 0.7)", fontSize: 18 }}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</Text>
<Text style={{ color: "rgba(0, 0, 0, 0.7)", fontSize: 18 }}>
<Text style={{ color: "rgba(0, 0, 0, 0.7)", fontSize: 18 }}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
Expand Down
3 changes: 0 additions & 3 deletions components/vertical-card/index.js

This file was deleted.

10 changes: 7 additions & 3 deletions screens/FeedScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, SafeAreaView , View, Image} from 'react-native';
// import { Card, ListItem, Button, Icon } from 'react-native-elements'
import { PostCard} from '../components/card_info';
// import { PostCard} from '../components/card_info';
// import {VerticalScreen} from '../components/feedCard/feedCardList'
import FeedCardList from '../components/feedCard/FeedCardList';
import EventCardList from '../components/eventScreenComponents/EventCardList';

const user_posts= [
{
Expand All @@ -17,7 +20,6 @@ const user_posts= [
}
]
export default function App() {
let Image_Http_URL ={uri:'https://dvyvvujm9h0uq.cloudfront.net/com/articles/1514474020-tips-for-aspiring-fashion-models.jpg'}
return (
<SafeAreaView style={styles.container}>
<View style={styles.rect2}>
Expand All @@ -29,7 +31,9 @@ export default function App() {
></Image>
</View>


{/* <VerticalScreen /> */}
{/* <EventCardList /> */}
<FeedCardList/>
</SafeAreaView>
);
}
Expand Down

0 comments on commit d7fb24a

Please sign in to comment.