Merge branch 'main' of github.com:olinpin/twitter-project into cssgrid

This commit is contained in:
Drew
2022-11-01 12:24:35 +01:00
14 changed files with 31 additions and 1 deletions

5
.gitignore vendored
View File

@@ -1 +1,4 @@
./sports1.txt sports1.txt
*/__pycache__/*
__pycache__/
.vs

View File

Binary file not shown.

View File

@@ -12,6 +12,7 @@
<!-- <link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet"> --> <!-- <link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined" rel="stylesheet"> -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<link rel="icon" type="image/x-icon" href="./media/logo.png">
</head> </head>
<body> <body>
<div class="container"> <div class="container">

View File

@@ -20,4 +20,10 @@ $(".sport").on("click", function() {
function getCSSVariable(name) { function getCSSVariable(name) {
return getComputedStyle(root).getPropertyValue(name) return getComputedStyle(root).getPropertyValue(name)
}
function tweetCell(tweet, parent) {
var cell = document.createElement("div")
cell.innerHTML =
"<div>"
} }

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

20
resources/tweet_structure Normal file
View File

@@ -0,0 +1,20 @@
{
created_at,
text,
source,
user:{
name,
screen_name,
url
}
quote_count,
reply_count,
retweet_count,
favorite_count,
entities:{
hashtags,
urls,
user_mentions,
symbols
}
}