Необхідно зверстати адаптивну сторінку зі списком фотографій.
При кліку на фотографію відкривається модальне вікно з фотографією, списком коментарів і формою додавання коментарів.
Список запитів:
function l(u, i) { | |
var d = document; | |
if (!d.getElementById(i)) { | |
var s = d.createElement('script'); | |
s.src = u; | |
s.id = i; | |
d.body.appendChild(s); | |
} | |
} | |
l('//code.jquery.com/jquery-3.2.1.min.js', 'jquery') |
import { Test, TestingModule } from '@nestjs/testing'; | |
import { HeroController } from './hero.controller'; | |
import { HeroService } from './hero.service'; | |
import { Hero } from './hero.entity'; | |
import { PrimaryAttribute } from './hero.primary-attribute'; | |
import { Repository } from 'typeorm'; | |
import { NotFoundException } from '@nestjs/common'; | |
describe('Hero Controller', () => { | |
let controller: HeroController; |
{ | |
"workbench.colorTheme": "Material Theme Palenight High Contrast", | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"explorer.confirmDelete": false, | |
"git.autofetch": true, | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
4.52,1.76,38.06,1.19,4.42,2.98,1.02,3.23,2.31,17.75, 3.99,1.34,12.45,14.6,1.67,4.36,1.17,2.36,1.23,3.95, 1,14.39,16.32,1.93,1.09,2.05,6.08,6.97,2.17,1.21, 1.74,9.29,1.35,1.53,20.91,7.86,12.14,1.22,2.83,2.4, 4.41,6.64,3.19,4.47,13.7,13.84,2.44,2.24,55.91,2.35, 1.39,1.17,1.55,1.61,1.29,1.67,1.12,2.34,5.36,78.95, 3.56,2.06,2.54,2.52,1.72,2.27,1.17,3.17,6.35,1.08, 1.24,4.5,1.9,6.25,3.68,2.44,2.84,1.3,1.52,1.74, 1.3,1.25,53.09,1.59,1.09,1.21,1.09,1.01,1.27,2.25, 3.8,1.3,3.49,1.57,5.31,2.11,1.57,1.05,1.67,16.53, 1.26,2.24,2.12,2.53,1.01,3.43,1.97,1.08,1.65,1.87, 1.12,2.79,2.84,3.32,2.13,1.57,2.7,2.67,3.85,1.48, 1.99,1.66,1,3.12,3.21,1.06,4.98,1.48,4.34,26.08, 1.61,1.18,1.97,3,1.06,1.16,1.12,10.29,1.57,1.29, 1.44,1.43,1.08,1.09,1.68,1.1,2.16,1.34,3.24,1.07, 1.36,8.04,4.47,1.26,4.14,1.22,1.07,1.94,144.15,1.19, 4.46,1.03,1,1.05,6.47,1.39,1.63,5.72,9.76,1.48, 1.98,1.21,1.22,11.95,1.05,2.92,4.8,1.86,1.34,1.39, 1.28,1.94,3.32,2.82,1.49,5.54,2.82,52.45,1.09,3.95, 3.14,1.36,1.94,1.08,5.33,4.91,2.36,2.61,2.87,1.95, 5.07,1.5 |
import { InfiniteScroll } from "@components/infinite-scroll"; | |
import React, { createRef, useState } from "react"; | |
import { useTranslation } from "react-i18next"; | |
import { PageHeader } from "@components/page-header"; | |
import { ContentGrid } from "@components/content-grid"; | |
import { ArticleItem } from "@components/content-items/article"; | |
import { VideoItem } from "@components/content-items/video"; | |
import { PodcastItem } from "@components/content-items/podcast"; | |
import { getFakeItems } from "@/helpers/getFakeItems"; | |
import { ContentItem } from "@/global-types"; |